Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 109.9 kB / 16.42 MB, free: 6.527 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.001043/0.001043, allocations: 187.2 kB / 17.36 MB, free: 5.727 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.102/1.102, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.13/2.13, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.397e-05, allocations: 2.281 kB / 1.055 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002032/0.002056, allocations: 1.644 MB / 1.056 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.003209, allocations: 0.8062 MB / 1.057 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.003266, allocations: 0 / 1.057 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.003303, allocations: 11.86 kB / 1.057 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.017e-05/0.003369, allocations: 19.8 kB / 1.057 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.003852, allocations: 163.5 kB / 1.057 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.004019, allocations: 159.6 kB / 1.057 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.412e-05/0.00411, allocations: 25.09 kB / 1.057 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.004219, allocations: 71.77 kB / 1.057 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.004314, allocations: 75.72 kB / 1.058 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.004347, allocations: 12 kB / 1.058 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.004529, allocations: 103.9 kB / 1.058 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001246/0.004662, allocations: 198 kB / 1.058 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 5.135e-05/0.004719, allocations: 106.4 kB / 1.058 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.004749, allocations: 15.94 kB / 1.058 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.546e-05/0.004769, allocations: 4 kB / 1.058 GB, free: 4.363 MB / 0.8262 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then if win.TIn > (win.TComf + 2.0) then if not pre(win.on) then win.p = exp(win.AOut * (win.TOut - 273.15) + win.AIn * (win.TIn - 273.15) + win.B) / (exp(win.AOut * (win.TOut - 273.15) + win.AIn * (win.TIn - 273.15) + win.B) + 1.0); win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.p, integer(win.curSeed)); elseif true then win.p = -0.3; win.on = true; end if; elseif win.TIn < (win.TComf - 2.0) then if pre(win.on) then win.p = exp(win.AOut * (win.TOut - 273.15) + win.AIn * (win.TIn - 273.15) + win.B) / (exp(win.AOut * (win.TOut - 273.15) + win.AIn * (win.TIn - 273.15) + win.B) + 1.0); win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.p, integer(win.curSeed)); elseif true then win.p = -0.5; win.on = false; end if; elseif true then win.p = -0.1; win.on = pre(win.on); end if; elseif true then win.p = 0.0; win.on = false; end if