Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 109.1 kB / 16.42 MB, free: 6.48 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.001101/0.001101, allocations: 187.2 kB / 17.36 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.134/1.134, allocations: 222.9 MB / 241 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.891/1.891, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.929e-06/9.929e-06, allocations: 4.391 kB / 0.9514 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001925/0.001942, allocations: 1.491 MB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.00298, allocations: 0.7362 MB / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.003021, allocations: 0 / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.00306, allocations: 7.875 kB / 0.9536 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.806e-05/0.003111, allocations: 11.92 kB / 0.9536 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.003521, allocations: 123.6 kB / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.003634, allocations: 91.73 kB / 0.9538 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.965e-05/0.00372, allocations: 15.98 kB / 0.9539 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.527e-05/0.003791, allocations: 27.92 kB / 0.9539 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.00385, allocations: 43.81 kB / 0.9539 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.003871, allocations: 8 kB / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.00402, allocations: 95.84 kB / 0.954 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.953e-05/0.004117, allocations: 102.9 kB / 0.9541 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.56e-05/0.004148, allocations: 55.12 kB / 0.9542 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.004171, allocations: 15.94 kB / 0.9542 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.021e-05/0.004186, allocations: 4 kB / 0.9542 GB, free: 4.84 MB / 0.7325 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.p = exp(win.A * (win.TOut - 273.15) + win.B) / (exp(win.A * (win.TOut - 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