Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001093/0.001093, allocations: 106.5 kB / 16.42 MB, free: 6.012 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.001048/0.001048, allocations: 185.8 kB / 17.35 MB, free: 5.574 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.095/1.095, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.028/2.028, allocations: 437 MB / 0.7111 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079e-05/1.078e-05, allocations: 4.672 kB / 1.019 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001855/0.001873, allocations: 1.492 MB / 1.021 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.002906, allocations: 0.7439 MB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.002949, allocations: 0 / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.002984, allocations: 3.938 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.34e-05/0.003032, allocations: 7.875 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.003475, allocations: 127.6 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.003588, allocations: 83.81 kB / 1.022 GB, free: 7.035 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.378e-05/0.003668, allocations: 15.98 kB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.616e-05/0.00375, allocations: 31.86 kB / 1.022 GB, free: 6.988 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.003808, allocations: 43.81 kB / 1.022 GB, free: 6.945 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.00383, allocations: 8 kB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.003992, allocations: 95.91 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of combineBinaries: time 8.232e-05/0.004082, allocations: 98.91 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.436e-05/0.004112, allocations: 55.12 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.004136, allocations: 11.94 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.437e-05/0.004154, allocations: 7.938 kB / 1.022 GB, free: 6.672 MB / 0.795 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