Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
3

Error: "Process exited with a non-zero exit code of: 1"

asked 2017-01-10 04:21:04 -0600

Sindre Hammer's avatar

updated 2019-02-21 09:47:18 -0600

dhollman's avatar

Hi!

I'm trying to get my model to run with a measure created by Burak Gunay, William O'Brien and Ian Beausoleil-Morrison, see: measure code. The script is integrating advanced occupant models in to OpenStudio and I am getting the error: "Process exited with a non-zero exit code of: 1" when running the model.

When I right click the error and click "open directory", the "stderr" file says:

DL is deprecated, please use Fiddle
C:/Users/Sindre/AppData/Local/Temp/OpenStudio.aF9452/resources/run/4-UserScript-0/mergedjob-1/user_script.rb:334:in `run': undefined method `getString' for nil:NilClass (NoMethodError)
from mergedjob-0/in.rb:372:in `<main>'`

Any ideas how to solve this?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
4

answered 2017-01-10 09:54:44 -0600

The lines causing the error are:

#get window material name
$WindowMaterials = workspace.getObjectsByType("WindowMaterial:SimpleGlazingSystem".to_IddObjectType)
$WindowMaterialName = $WindowMaterials[0].getString(0).to_s

Does your model have WindowMaterial:SimpleGlazingSystem objects in it? If not, getObjectsByType would return nil, which will throw a NoMethodError when getString is called. Probably the easiest fix is to change your window materials to that type.

edit flag offensive delete link more
2

answered 2017-01-11 02:18:19 -0600

Sindre Hammer's avatar

updated 2017-01-12 03:27:13 -0600

Hi Eric. No, the model did not have WindowMaterial:SimpleGlazingSystem in it. I changed the window to this, and it solved the problem - at least got further in the simulation process. Unfortunately, I now got 12 new errors:

  • Process exited with a non-zero exit code of: 1
  • Error report file indicates that the process did not complete successfully
  • IP: IDF line~10241 Error detected in Object=DAYLIGHTING:CONTROLS, name=THERMAL ZONE 1 Field [Zone Name] is required but was blank
  • IP: IDF line~10253 Error detected in Object=DAYLIGHTING:CONTROLS, name=THERMAL ZONE 1 Field [Daylighting Reference Point 1 Name] is required but was blank
  • Out of range value Numeric Field#3 (Number of Stepped Control Steps), value=0.10000, range={>=1}, in DAYLIGHTING:CONTROLS=THERMAL ZONE 1
  • Out of range value Numeric Field#5 (Glare Calculation Azimuth Angle of View Direction Clockwise from Zone y-Axis), value=1000000.00000, range={>=0 and
  • Out of range value Numeric Field#6 (Maximum Allowable Discomfort Glare Index), value=0.00000, range={>=1}, in DAYLIGHTING:CONTROLS=THERMAL ZONE 1
  • Out of range value Numeric Field#8 (Fraction of Zone Controlled by Reference Point 1), value=22.00000, range={>=0.0 and
  • IP: Out of "range" values found in input
  • IP: Blank "required" fields found in input
  • IP: Out of "range" values and/or blank required fields found in input
  • IP: Errors occurred on processing IDF file. Preceding condition(s) cause termination.

The eplusout.err file shows:

Program Version,EnergyPlus, Version 8.6.0-198c6a3cff, YMD=2017.01.11 09:40,IDD_Version 8.6.0
   ************* IDF Context for following error/warning message:
   ************* Note -- lines truncated at 300 characters, if necessary...
   *************  10509 Daylighting:Controls,
   ************* indicated Name=Thermal Zone 1
   ************* Only last 2 lines before error line shown.....
   *************  10510   Thermal Zone 1,                         !- Name
   *************  10511   ,                                       !- Zone Name
   ** Severe  ** IP: IDF line~10511 Error detected in Object=DAYLIGHTING:CONTROLS, name=THERMAL ZONE 1
   **   ~~~   ** Field [Zone Name] is required but was blank
   ************* IDF Context for following error/warning message:
   ************* Note -- lines truncated at 300 characters, if necessary...
   *************  10509 Daylighting:Controls,
   ************* indicated Name=Thermal Zone 1
   ************* Only last 10 lines before error line shown.....
   *************  10514   0.8,                                    !- Lighting Control Type
   *************  10515   0.1,                                    !- Minimum Input Power Fraction for Continuous or ContinuousOff Dimming Control
   *************  10516   0.1,                                    !- Minimum Light Output Fraction for Continuous or ContinuousOff Dimming Control
   *************  10517   0.1,                                    !- Number of Stepped Control Steps
   *************  10518   1,                                      !- Probability Lighting will be Reset When Needed in Manual Stepped Control
   *************  10519   ,                                       !- Glare Calculation Daylighting Reference Point Name
   *************  10520   1000000,                                !- Glare Calculation Azimuth Angle of View Direction Clockwise from Zone y-Axis {deg}
   *************  10521   0,                                      !- Maximum Allowable Discomfort Glare Index
   *************  10522   1,                                      !- DElight Gridding Resolution {m2}
   *************  10523   ,                                       !- Daylighting Reference Point Name 1
   ** Severe  ** IP: IDF line~10523 Error detected in Object=DAYLIGHTING:CONTROLS, name=THERMAL ZONE 1
   **   ~~~   ** Field [Daylighting Reference Point 1 Name] is required but was blank
   ** Severe  ** Out of range value Numeric Field#3 (Number of Stepped Control Steps), value=0.10000, range={>=1}, in DAYLIGHTING:CONTROLS=THERMAL ZONE 1
   ** Severe  ** Out of range value ...
(more)
edit flag offensive delete link more

Comments

The measure is making a malformed Daylighting:Controls object. Compare lines 173 - 192 of the measure with the input fields for that object. You might want to contact the measure authors about a fix.

ericringold's avatar ericringold  ( 2017-01-12 10:00:16 -0600 )edit

Thanks Eric. I'm in contact with the authors :)

Sindre Hammer's avatar Sindre Hammer  ( 2017-01-13 01:24:50 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2017-01-10 04:21:04 -0600

Seen: 4,634 times

Last updated: Feb 21 '19