A free and open source tool for measuring energy efficiency