Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.000896/0.000896, allocations: 109.3 kB / 16.42 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.0008479/0.0008478, allocations: 192.3 kB / 17.36 MB, free: 5.727 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.094/1.094, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.137/2.137, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.185e-05, allocations: 6.219 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001907/0.001928, allocations: 1.511 MB / 1.056 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.002977, allocations: 0.7439 MB / 1.057 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.003026, allocations: 0 / 1.057 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.003054, allocations: 3.938 kB / 1.057 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.003106, allocations: 15.86 kB / 1.057 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.003562, allocations: 119.6 kB / 1.057 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.003676, allocations: 75.83 kB / 1.057 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.56e-05/0.003759, allocations: 16 kB / 1.057 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.003847, allocations: 39.83 kB / 1.057 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.003907, allocations: 35.84 kB / 1.057 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.003929, allocations: 8 kB / 1.057 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.004096, allocations: 91.91 kB / 1.057 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of combineBinaries: time 8.716e-05/0.004191, allocations: 110.8 kB / 1.057 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.587e-05/0.004222, allocations: 59.12 kB / 1.057 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.004245, allocations: 11.94 kB / 1.057 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.251e-05/0.004268, allocations: 8 kB / 1.057 GB, free: 4.895 MB / 0.8262 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