automate dmi energy test