diff --git a/lib/openstudio-standards/utilities/simulation.rb b/lib/openstudio-standards/utilities/simulation.rb index 0d6a4a51a6..299e1efdcb 100644 --- a/lib/openstudio-standards/utilities/simulation.rb +++ b/lib/openstudio-standards/utilities/simulation.rb @@ -17,7 +17,7 @@ def model_run_simulation_and_log_errors(model, run_dir = "#{Dir.pwd}/Run") osm_name = 'in.osm' osw_name = 'in.osw' OpenStudio.logFree(OpenStudio::Debug, 'openstudio.model.Model', "Starting simulation here: #{run_dir}.") - OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', "Running simulation #{run_dir}.") + OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', "Started simulation #{run_dir} at #{Time.now.strftime('%T.%L')}") forward_translator = OpenStudio::EnergyPlus::ForwardTranslator.new idf = forward_translator.translateModel(model) idf_path = OpenStudio::Path.new("#{run_dir}/#{idf_name}") @@ -82,7 +82,7 @@ def model_run_simulation_and_log_errors(model, run_dir = "#{Dir.pwd}/Run") sql_path = OpenStudio::Path.new("#{run_dir}/EnergyPlus/eplusout.sql") - OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Finished run.') + OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', "Finished simulation #{run_dir} at #{Time.now.strftime('%T.%L')}") else # method to running simulation within measure using OpenStudio 2.x WorkflowJSON @@ -113,7 +113,7 @@ def model_run_simulation_and_log_errors(model, run_dir = "#{Dir.pwd}/Run") # Run the sizing run OpenstudioStandards.run_command(cmd) - OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', 'Finished run.') + OpenStudio.logFree(OpenStudio::Info, 'openstudio.model.Model', "Finished simulation #{run_dir} at #{Time.now.strftime('%T.%L')}") sql_path = OpenStudio::Path.new("#{run_dir}/run/eplusout.sql")