Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 106.4 kB / 16.42 MB, free: 6.469 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: 187.1 kB / 17.35 MB, free: 5.707 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.12/1.12, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.157/2.157, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.969e-06/9.969e-06, allocations: 5.234 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002037/0.002055, allocations: 1.601 MB / 1.056 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.003209, allocations: 0.7868 MB / 1.057 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.003259, allocations: 4 kB / 1.057 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.003292, allocations: 3.938 kB / 1.057 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.003349, allocations: 23.72 kB / 1.057 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.003814, allocations: 143.6 kB / 1.057 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.003986, allocations: 155.6 kB / 1.057 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.453e-05/0.004066, allocations: 12 kB / 1.057 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.00416, allocations: 55.83 kB / 1.057 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.98e-05/0.004257, allocations: 75.78 kB / 1.057 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.004289, allocations: 16 kB / 1.057 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.004466, allocations: 111.8 kB / 1.058 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001288/0.004602, allocations: 178.2 kB / 1.058 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.93e-05/0.004647, allocations: 86.69 kB / 1.058 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.004674, allocations: 15.94 kB / 1.058 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.36e-05/0.004692, allocations: 4 kB / 1.058 GB, free: 4.477 MB / 0.8262 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.pOpen = exp(win.AOpenOut * (win.TOut - 273.15) + win.AOpenIn * (win.TIn - 273.15) + win.BOpen) / (exp(win.AOpenOut * (win.TOut - 273.15) + win.AOpenIn * (win.TIn - 273.15) + win.BOpen) + 1.0); win.pClose = exp(win.ACloseOut * (win.TOut - 273.15) + win.ACloseIn * (win.TIn - 273.15) + win.BClose) / (exp(win.ACloseOut * (win.TOut - 273.15) + win.ACloseIn * (win.TIn - 273.15) + win.BClose) + 1.0); if pre(win.on) then win.on = not Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.pClose, integer(win.curSeed)); elseif true then win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.pOpen, integer(win.curSeed)); end if; elseif true then win.pOpen = 0.0; win.pClose = 0.0; win.on = false; end if