Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_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_11_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.001145/0.001145, allocations: 110.9 kB / 16.42 MB, free: 6.422 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.001122/0.001122, allocations: 187.8 kB / 17.36 MB, free: 5.676 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.06 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.304/2.304, allocations: 469.8 MB / 0.7431 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.384e-05, allocations: 2.5 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001986/0.002008, allocations: 1.501 MB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.003094, allocations: 0.7362 MB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/0.003141, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.003173, allocations: 15.86 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.003222, allocations: 7.875 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.003672, allocations: 123.6 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.003793, allocations: 79.83 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.913e-05/0.003878, allocations: 4 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.495e-05/0.003969, allocations: 39.83 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.00403, allocations: 39.84 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.004054, allocations: 12 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.004214, allocations: 91.91 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.427e-05/0.004316, allocations: 114.8 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.681e-05/0.004349, allocations: 55.12 kB / 1.069 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.928e-05/0.004373, allocations: 11.94 kB / 1.069 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.588e-06/0.004387, allocations: 0 / 1.069 GB, free: 10.8 MB / 0.8419 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