Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 109.4 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.001314/0.001314, 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.098/1.098, 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 11.0.1-master/package.mo): time 2.138/2.138, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.418e-06/9.438e-06, allocations: 2.281 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001827/0.001844, allocations: 1.5 MB / 1.056 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009652/0.00282, allocations: 0.7361 MB / 1.057 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.002858, allocations: 0 / 1.057 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.002886, allocations: 3.938 kB / 1.057 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.743e-05/0.002936, allocations: 15.86 kB / 1.057 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.003339, allocations: 123.6 kB / 1.057 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.694e-05/0.003445, allocations: 83.77 kB / 1.057 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.074e-05/0.003522, allocations: 15.98 kB / 1.057 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/0.003603, allocations: 31.91 kB / 1.057 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.00366, allocations: 39.83 kB / 1.057 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.003682, allocations: 8 kB / 1.057 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.003837, allocations: 95.84 kB / 1.057 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of combineBinaries: time 7.512e-05/0.00392, allocations: 102.9 kB / 1.057 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.41e-05/0.00396, allocations: 71.11 kB / 1.057 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.596e-05/0.003981, allocations: 7.938 kB / 1.057 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.045e-06/0.003992, allocations: 0 / 1.057 GB, free: 4.906 MB / 0.8262 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.p = exp(win.A * (win.TIn - 273.15) + win.B) / (exp(win.A * (win.TIn - 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