Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 111.6 kB / 16.43 MB, free: 6.52 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.001054/0.001054, allocations: 182 kB / 17.36 MB, free: 5.746 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.153/1.153, allocations: 222.9 MB / 241 MB, free: 15.16 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.927/1.927, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.325e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002051/0.002072, allocations: 1.498 MB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.003137, allocations: 0.7323 MB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.00318, allocations: 0 / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.00321, allocations: 3.938 kB / 0.9536 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.003257, allocations: 11.86 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.003686, allocations: 131.6 kB / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.003814, allocations: 79.77 kB / 0.9538 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.744e-05/0.003898, allocations: 15.98 kB / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.257e-05/0.003976, allocations: 35.84 kB / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.004039, allocations: 43.83 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.004059, allocations: 4 kB / 0.9539 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.004215, allocations: 95.91 kB / 0.954 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.942e-05/0.004313, allocations: 102.9 kB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.573e-05/0.004344, allocations: 59.12 kB / 0.9542 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.004366, allocations: 7.938 kB / 0.9542 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.276e-05/0.004383, allocations: 7.938 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