Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 106.2 kB / 16.42 MB, free: 6.477 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.001073/0.001073, allocations: 190 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.161/1.161, allocations: 222.9 MB / 241 MB, free: 15.14 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.901/1.901, allocations: 390.2 MB / 0.6655 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018e-05/1.02e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001969/0.001987, allocations: 1.503 MB / 0.9529 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.00303, allocations: 0.7362 MB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.003073, allocations: 0 / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.003102, allocations: 7.922 kB / 0.9536 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.828e-05/0.003144, allocations: 11.88 kB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.003555, allocations: 123.6 kB / 0.9538 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.003676, allocations: 79.77 kB / 0.9538 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.142e-05/0.003764, allocations: 12 kB / 0.9539 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.003837, allocations: 35.89 kB / 0.9539 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.003894, allocations: 39.78 kB / 0.9539 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.003915, allocations: 12 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.004061, allocations: 91.91 kB / 0.954 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.794e-05/0.004157, allocations: 106.9 kB / 0.9541 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.072e-05/0.004193, allocations: 63.12 kB / 0.9542 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.004215, allocations: 7.938 kB / 0.9542 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.298e-06/0.004229, allocations: 0 / 0.9542 GB, free: 4.949 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