Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 115.3 kB / 16.43 MB, free: 6.523 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.0011/0.0011, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.144/1.144, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.263/2.263, allocations: 474.4 MB / 0.7477 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.12e-05, allocations: 8.328 kB / 1.073 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002604/0.002634, allocations: 1.493 MB / 1.074 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.004011, allocations: 0.7406 MB / 1.075 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.00408, allocations: 0 / 1.075 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.004123, allocations: 11.86 kB / 1.075 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/0.004184, allocations: 7.938 kB / 1.075 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005953/0.004799, allocations: 127.6 kB / 1.075 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.004948, allocations: 83.75 kB / 1.075 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.016e-05/0.005044, allocations: 4 kB / 1.075 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.824e-05/0.005148, allocations: 39.91 kB / 1.075 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.979e-05/0.005225, allocations: 39.83 kB / 1.075 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.005248, allocations: 4 kB / 1.075 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.005447, allocations: 99.84 kB / 1.075 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.893e-05/0.005555, allocations: 106.9 kB / 1.075 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.731e-05/0.005598, allocations: 59.06 kB / 1.075 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.005627, allocations: 8 kB / 1.075 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.815e-05/0.00565, allocations: 0 / 1.075 GB, free: 4.422 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