Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 115.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.001096/0.001096, 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.17 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.287/2.287, allocations: 469.8 MB / 0.7432 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.635e-05, allocations: 2.5 kB / 1.066 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002019/0.002044, allocations: 1.495 MB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003155, allocations: 0.7439 MB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.003201, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.003231, allocations: 3.938 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.391e-05/0.003279, allocations: 7.875 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.003735, allocations: 131.6 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.003851, allocations: 75.83 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.378e-05/0.003931, allocations: 11.97 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.004007, allocations: 35.86 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.004067, allocations: 43.81 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.00409, allocations: 8 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.004254, allocations: 91.91 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of combineBinaries: time 8.162e-05/0.004344, allocations: 98.91 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.574e-05/0.004377, allocations: 59.12 kB / 1.069 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.004403, allocations: 15.94 kB / 1.069 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.041e-05/0.004417, allocations: 3.938 kB / 1.069 GB, free: 10.85 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