Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_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_10_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.00107/0.00107, allocations: 109.8 kB / 16.42 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.001013/0.001013, 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.105/1.105, allocations: 222.9 MB / 241 MB, free: 15.16 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.038/2.038, allocations: 437 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.568e-06/9.578e-06, allocations: 2.281 kB / 1.019 GB, free: 9.531 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001815/0.001832, allocations: 1.505 MB / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.002856, allocations: 0.7517 MB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.0029, allocations: 4 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.254e-05/0.002935, allocations: 11.92 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.249e-05/0.002993, allocations: 11.81 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.0034, allocations: 127.6 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.003532, allocations: 103.7 kB / 1.022 GB, free: 7.008 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.04e-05/0.003608, allocations: 12 kB / 1.022 GB, free: 6.996 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.264e-05/0.003686, allocations: 47.84 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.003754, allocations: 47.81 kB / 1.022 GB, free: 6.902 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.003777, allocations: 8 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.003931, allocations: 95.84 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of combineBinaries: time 9.271e-05/0.004039, allocations: 122.7 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.982e-05/0.004078, allocations: 70.88 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.004103, allocations: 8 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.189e-05/0.004118, allocations: 4 kB / 1.022 GB, free: 6.598 MB / 0.795 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