GreenSim: An Open Source Tool for Evaluating the Energy Savings through Dynamic Adaptation