Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001101/0.001101, allocations: 112.1 kB / 16.42 MB, free: 6.039 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.001097/0.001097, allocations: 184.5 kB / 17.35 MB, free: 5.594 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.198/1.198, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.325/2.325, allocations: 469.8 MB / 0.7431 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.457e-05, allocations: 2.281 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002157/0.002179, allocations: 1.514 MB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.003435, allocations: 0.7557 MB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.003491, allocations: 3.938 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.003525, allocations: 7.922 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.846e-05/0.003588, allocations: 11.86 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.004044, allocations: 127.6 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.004173, allocations: 99.75 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.108e-05/0.004251, allocations: 8 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.803e-05/0.004345, allocations: 47.77 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.004415, allocations: 47.83 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.00444, allocations: 8 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.004603, allocations: 95.91 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001035/0.004715, allocations: 118.7 kB / 1.069 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.514e-05/0.004756, allocations: 78.86 kB / 1.069 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.00478, allocations: 8 kB / 1.069 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.474e-05/0.004799, allocations: 7.938 kB / 1.069 GB, free: 10.7 MB / 0.8419 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