Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001108/0.001108, allocations: 110.6 kB / 16.42 MB, free: 6.031 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.001138/0.001138, allocations: 186.5 kB / 17.36 MB, free: 5.621 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.163/1.163, 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 9.1.3-maint.9.1.x/package.mo): time 1.907/1.907, allocations: 390.2 MB / 0.6654 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.406e-05, allocations: 6.219 kB / 0.9514 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002118/0.00214, allocations: 1.589 MB / 0.953 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.003287, allocations: 0.7906 MB / 0.9538 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.003333, allocations: 0 / 0.9538 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.003366, allocations: 11.86 kB / 0.9538 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.992e-05/0.003422, allocations: 19.8 kB / 0.9538 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.00389, allocations: 151.6 kB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.004058, allocations: 151.6 kB / 0.9541 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.469e-05/0.004139, allocations: 15.98 kB / 0.9541 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.385e-05/0.004241, allocations: 59.89 kB / 0.9542 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.227e-05/0.004331, allocations: 75.72 kB / 0.9542 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.004357, allocations: 12 kB / 0.9542 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.004522, allocations: 107.8 kB / 0.9543 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.000126/0.004656, allocations: 178.2 kB / 0.9545 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 4.793e-05/0.004709, allocations: 90.62 kB / 0.9546 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.004736, allocations: 15.94 kB / 0.9546 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.056e-05/0.004751, allocations: 0 / 0.9546 GB, free: 4.48 MB / 0.7325 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