Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001068, allocations: 106.5 kB / 16.42 MB, free: 6.535 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.001045/0.001045, allocations: 183.2 kB / 17.35 MB, free: 5.723 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.126/1.126, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.059/2.059, allocations: 437 MB / 0.7111 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058e-05/1.06e-05, allocations: 2.281 kB / 1.019 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001756/0.001774, allocations: 1.503 MB / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009594/0.002744, allocations: 0.74 MB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.952e-05/0.002784, allocations: 0 / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.002814, allocations: 3.938 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.753e-05/0.002856, allocations: 11.88 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.00326, allocations: 119.6 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.481e-05/0.003364, allocations: 79.81 kB / 1.022 GB, free: 7.051 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.853e-05/0.003439, allocations: 19.98 kB / 1.022 GB, free: 7.031 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.003505, allocations: 31.86 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.003563, allocations: 43.81 kB / 1.022 GB, free: 6.957 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.003584, allocations: 8 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.003737, allocations: 91.91 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of combineBinaries: time 7.232e-05/0.003816, allocations: 98.91 kB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 3.312e-05/0.003855, allocations: 67.05 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.003875, allocations: 7.938 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of FrontEnd: time 8.335e-06/0.003888, allocations: 4 kB / 1.022 GB, free: 6.684 MB / 0.795 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