Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 110.4 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.001122/0.001122, 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.19/1.19, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.341/2.341, allocations: 469.8 MB / 0.7431 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.767e-05, allocations: 2.281 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002071/0.002097, allocations: 1.507 MB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003212, allocations: 0.7323 MB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.003258, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.003291, allocations: 3.938 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.656e-05/0.003344, allocations: 19.86 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.003788, allocations: 115.6 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.003911, allocations: 79.81 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.294e-05/0.00399, allocations: 8 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.108e-05/0.004079, allocations: 39.84 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.00414, allocations: 39.83 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.004163, allocations: 4 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.00433, allocations: 95.91 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.344e-05/0.004432, allocations: 110.9 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.882e-05/0.004468, allocations: 67.05 kB / 1.069 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.004496, allocations: 7.938 kB / 1.069 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.223e-05/0.004512, allocations: 7.938 kB / 1.069 GB, free: 10.79 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