Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_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_11_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.001164/0.001164, allocations: 115.3 kB / 16.43 MB, free: 6.523 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.001131/0.001131, allocations: 183.2 kB / 17.35 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.173/1.173, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.27/2.27, allocations: 469.8 MB / 0.7432 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.828e-05, allocations: 2.281 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002283/0.002309, allocations: 1.593 MB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.003579, allocations: 0.7868 MB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.003629, allocations: 0 / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.003666, allocations: 11.86 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.674e-05/0.003736, allocations: 23.73 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.004259, allocations: 143.6 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.00443, allocations: 147.6 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.004524, allocations: 19.97 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.246e-05/0.004622, allocations: 51.84 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.004712, allocations: 79.7 kB / 1.069 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.004745, allocations: 12 kB / 1.069 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.004952, allocations: 107.8 kB / 1.069 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001356/0.005095, allocations: 178.2 kB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 5.087e-05/0.005152, allocations: 94.59 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.005181, allocations: 11.94 kB / 1.069 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.552e-05/0.005201, allocations: 4 kB / 1.069 GB, free: 10.39 MB / 0.8419 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