Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.000971/0.000971, allocations: 111.8 kB / 16.42 MB, free: 6.434 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.001047/0.001047, allocations: 185.5 kB / 17.36 MB, free: 5.684 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.103/1.103, 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 10.1.1-maint.10.0.x/package.mo): time 1.993/1.993, allocations: 437 MB / 0.7111 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076e-05/1.077e-05, allocations: 4.531 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001893/0.001911, allocations: 1.501 MB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009974/0.002919, allocations: 0.7401 MB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.002959, allocations: 0 / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.002986, allocations: 3.938 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.003032, allocations: 15.86 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.003448, allocations: 119.6 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.92e-05/0.003557, allocations: 83.77 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.161e-05/0.003635, allocations: 12 kB / 1.022 GB, free: 6.988 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.744e-05/0.003709, allocations: 39.83 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.003771, allocations: 39.84 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.003792, allocations: 8 kB / 1.022 GB, free: 6.902 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.003944, allocations: 95.84 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of combineBinaries: time 8.769e-05/0.004039, allocations: 106.9 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.622e-05/0.00407, allocations: 55.12 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.004092, allocations: 11.94 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.002e-05/0.004106, allocations: 4 kB / 1.022 GB, free: 6.633 MB / 0.795 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