Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 109.9 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 185.9 kB / 17.36 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.878/1.878, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.821e-05, allocations: 4.672 kB / 0.9514 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002185/0.002211, allocations: 1.503 MB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.003361, allocations: 0.7323 MB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.003412, allocations: 0 / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.003443, allocations: 7.875 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.541e-05/0.003494, allocations: 7.922 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.003987, allocations: 127.5 kB / 0.9538 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.004121, allocations: 83.77 kB / 0.9538 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.004207, allocations: 15.98 kB / 0.9539 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.324e-05/0.004295, allocations: 31.91 kB / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.37e-05/0.004357, allocations: 39.84 kB / 0.9539 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.004378, allocations: 8 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.004544, allocations: 95.83 kB / 0.954 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of combineBinaries: time 9.443e-05/0.004647, allocations: 110.8 kB / 0.9541 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.655e-05/0.00468, allocations: 55.12 kB / 0.9542 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.004706, allocations: 11.94 kB / 0.9542 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.347e-05/0.004724, allocations: 4 kB / 0.9542 GB, free: 4.875 MB / 0.7325 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.p = exp(win.A * (win.TOut - 273.15) + win.B) / (exp(win.A * (win.TOut - 273.15) + win.B) + 1.0); win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.p, integer(win.curSeed)); elseif true then win.p = 0.0; win.on = false; end if