Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_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_9_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.001083/0.001083, allocations: 108.2 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.00107/0.00107, allocations: 187.2 kB / 17.36 MB, free: 5.727 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.139/1.139, 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 9.1.3-maint.9.1.x/package.mo): time 1.92/1.92, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.094e-05, allocations: 6.219 kB / 0.9514 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001938/0.001957, allocations: 1.494 MB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.003011, allocations: 0.7284 MB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.003052, allocations: 0 / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.003081, allocations: 3.938 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.62e-05/0.003131, allocations: 19.84 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.003541, allocations: 119.6 kB / 0.9537 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.00367, allocations: 87.75 kB / 0.9538 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.065e-05/0.003747, allocations: 12 kB / 0.9538 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.951e-05/0.003822, allocations: 39.83 kB / 0.9539 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.00388, allocations: 35.84 kB / 0.9539 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.003902, allocations: 8 kB / 0.9539 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.004048, allocations: 95.84 kB / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.759e-05/0.004148, allocations: 114.8 kB / 0.9541 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.582e-05/0.00418, allocations: 63.12 kB / 0.9542 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.004205, allocations: 7.938 kB / 0.9542 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.418e-06/0.004219, allocations: 0 / 0.9542 GB, free: 4.883 MB / 0.7325 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