Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 113.1 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.001067/0.001067, allocations: 185.5 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.111/1.111, 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 12.0.0-master/package.mo): time 2.204/2.204, allocations: 472.6 MB / 0.7459 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.32e-05, allocations: 2.281 kB / 1.07 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001928/0.001958, allocations: 1.492 MB / 1.071 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.003005, allocations: 0.7438 MB / 1.072 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.003046, allocations: 0 / 1.072 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.003073, allocations: 3.938 kB / 1.072 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-05/0.00313, allocations: 19.84 kB / 1.072 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.003553, allocations: 119.6 kB / 1.072 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.003666, allocations: 79.83 kB / 1.072 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.572e-05/0.003748, allocations: 12 kB / 1.072 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.00383, allocations: 39.83 kB / 1.072 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.003888, allocations: 39.84 kB / 1.073 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.00391, allocations: 8 kB / 1.073 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.004065, allocations: 87.91 kB / 1.073 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of combineBinaries: time 8.729e-05/0.004163, allocations: 118.8 kB / 1.073 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.59e-05/0.004194, allocations: 59.06 kB / 1.073 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.004216, allocations: 8 kB / 1.073 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.887e-06/0.004231, allocations: 4 kB / 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