Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_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_latest_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.001097/0.001097, allocations: 109.3 kB / 16.42 MB, free: 6.047 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.001038/0.001038, allocations: 193.5 kB / 17.36 MB, free: 5.617 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.107/1.107, 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 12.0.0-master/package.mo): time 2.192/2.192, allocations: 472.6 MB / 0.7459 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.12e-05, allocations: 4.953 kB / 1.07 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001919/0.001937, allocations: 1.509 MB / 1.071 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.00306, allocations: 0.7478 MB / 1.072 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.003109, allocations: 3.938 kB / 1.072 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.003145, allocations: 7.922 kB / 1.072 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.003203, allocations: 11.88 kB / 1.072 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.003673, allocations: 127.6 kB / 1.072 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.003837, allocations: 103.7 kB / 1.072 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.899e-05/0.003922, allocations: 12 kB / 1.072 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.221e-05/0.004012, allocations: 47.84 kB / 1.073 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.004081, allocations: 43.81 kB / 1.073 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.004105, allocations: 8 kB / 1.073 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.00428, allocations: 95.91 kB / 1.073 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.016e-05/0.004378, allocations: 126.6 kB / 1.073 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.229e-05/0.004415, allocations: 70.95 kB / 1.073 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.004448, allocations: 12 kB / 1.073 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.651e-05/0.004469, allocations: 7.875 kB / 1.073 GB, free: 6.723 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