Once the laptop entered sleep, no processes are running (CPU is halted). So..., 'securityd' (a background software daemon) cannot "do" anything when the computer is sleeping. Wake can be caused only by external events.
Note that "failure to sleep" is a completely separate problem from "instant wake after sleep". Make sure you understand which problem you have.
Simple/quick to do a fresh install to a second partition to make sure it is not some setting you changed, or software you installed.
if you look at my console log, it says
identityservicesd - system going to sleep
blued - system sleeping
sharingd - device will sleep
sharingd - stopping for user 501 on sleep
...
CommCenter - entering low power mode
security - powerstats, disk, net
and then
securityd - enter DarkWake
So, I think it's going into sleep, but for some reason entering DarkWake. I will try a vanilla OS to see if it can sleep...
I booted to 10.11.6 using the same clover config and kext except HackNVMeFamily. So, using the same Clover config, clover kext, and patched ACPI, my laptop goes to sleep in 10.11.6, but not in 10.12.2. I have similar software (eclipse, ... etc) installed on both OS. There is something 10.12.2 is doing differently when going to sleep...
Also tried darkwake=0 but did not work....