4

EnergyPlus process exit codes?

The EnergyPlus program appears to return an environment result code of 0 when there were no errors, or can return other values when errors have occurred.

For example, you might get a message such as "Process exited with a non-zero exit code of: 1" from OpenStudio.

Is there a comprehensive list of what the possible return codes are, and their definitions?

Thanks

dhollman's avatar
397
dhollman
asked 2019-02-21 09:49:29 -0500
Julien Marrec's avatar
29.7k
Julien Marrec
updated 2019-03-04 08:55:28 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

This may be a preliminary answer.

I looked at the EnergyPlus source code (C++). It appears to use the exit code only as a Boolean success or failure. Zero is "success" and nonzero is "failure".

So you can't infer anything specific about the failure from the exit code value. I have yet to see what conditions trigger "failure" either by consulting documentation or the source code.

dhollman's avatar
397
dhollman
answered 2019-03-04 07:37:36 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments