Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.001073/0.001073, allocations: 190 kB / 17.36 MB, free: 5.699 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.142/1.142, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.882/1.882, allocations: 390.2 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.573e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002112/0.002142, allocations: 1.51 MB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.003302, allocations: 0.7479 MB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.577e-05/0.003358, allocations: 0 / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.003391, allocations: 11.86 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.282e-05/0.003459, allocations: 15.86 kB / 0.9537 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.003957, allocations: 127.6 kB / 0.9538 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.004113, allocations: 103.7 kB / 0.9539 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.691e-05/0.004197, allocations: 8 kB / 0.9539 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.023e-05/0.004293, allocations: 47.89 kB / 0.9539 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.148e-05/0.004371, allocations: 51.77 kB / 0.954 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.004395, allocations: 8 kB / 0.954 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.004568, allocations: 91.84 kB / 0.9541 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001022/0.00468, allocations: 130.7 kB / 0.9542 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.062e-05/0.004716, allocations: 66.94 kB / 0.9543 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.004743, allocations: 11.94 kB / 0.9543 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.487e-05/0.004762, allocations: 0 / 0.9543 GB, free: 4.828 MB / 0.7325 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if bli.occ then if not pre(bli.isOpen) then bli.pUp = 0.0; bli.pDown = exp(bli.ADown * bli.solarAltitude + bli.BDown) / (exp(bli.ADown * bli.solarAltitude + bli.BDown) + 1.0); bli.isOpen = Buildings.Occupants.BaseClasses.binaryVariableGeneration(bli.pDown, integer(bli.curSeed)); elseif true then bli.pUp = exp(bli.AUp * bli.solarAltitude + bli.BUp) / (exp(bli.AUp * bli.solarAltitude + bli.BUp) + 1.0); bli.pDown = 0.0; bli.isOpen = not Buildings.Occupants.BaseClasses.binaryVariableGeneration(bli.pUp, integer(bli.curSeed)); end if; elseif true then bli.pUp = 0.0; bli.pDown = 0.0; bli.isOpen = false; end if