if (std::abs(expected_consumption - actual_consumption) > 0.001) {
XBT_INFO("FAILED TEST: %s consumed %f instead of %f J (i.e. %i cores should have been used)", name.c_str(),
if (std::abs(expected_consumption - actual_consumption) > 0.001) {
XBT_INFO("FAILED TEST: %s consumed %f instead of %f J (i.e. %i cores should have been used)", name.c_str(),