Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 113.7 kB / 16.43 MB, free: 6.035 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.001035/0.001035, allocations: 178.3 kB / 17.35 MB, free: 5.617 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.132/1.132, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.221/2.221, allocations: 472.6 MB / 0.7459 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.302e-05, allocations: 4.531 kB / 1.07 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001974/0.002005, allocations: 1.501 MB / 1.071 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.003071, allocations: 0.7361 MB / 1.072 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.003116, allocations: 0 / 1.072 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.003152, allocations: 11.92 kB / 1.072 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.012e-05/0.003207, allocations: 11.86 kB / 1.072 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.00365, allocations: 119.6 kB / 1.072 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.003778, allocations: 87.69 kB / 1.072 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.488e-05/0.003859, allocations: 8 kB / 1.072 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.925e-05/0.003945, allocations: 43.84 kB / 1.072 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.004004, allocations: 35.89 kB / 1.073 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.004025, allocations: 4 kB / 1.073 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.004186, allocations: 99.84 kB / 1.073 GB, free: 7 MB / 0.8419 GB Notification: Performance of combineBinaries: time 8.658e-05/0.004281, allocations: 106.9 kB / 1.073 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.734e-05/0.004313, allocations: 63.06 kB / 1.073 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.004335, allocations: 4 kB / 1.073 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.163e-05/0.00435, allocations: 0 / 1.073 GB, free: 6.828 MB / 0.8419 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