Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageChangeCommand.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.Templates.Plants.Controls.StagingRotation.Validation.StageChangeCommand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chaSta.capReq.y|chaSta.capSta.y|chaSta.capStaLow.y|capHea_nominal|y1UpHol.y|y1DowHol.y|idxSta.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageChangeCommand") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageChangeCommand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chaSta.capReq.y|chaSta.capSta.y|chaSta.capStaLow.y|capHea_nominal|y1UpHol.y|y1DowHol.y|idxSta.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageChangeCommand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 107.1 kB / 16.41 MB, free: 5.93 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.001078/0.001078, allocations: 190.2 kB / 17.35 MB, free: 5.555 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.156/1.156, allocations: 222.9 MB / 241 MB, free: 15.18 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.218/2.218, allocations: 469.8 MB / 0.7431 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.21e-05, allocations: 2.281 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter chaSta.hol.ph.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter idxSta.pas.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageChangeCommand): time 0.008368/0.008395, allocations: 7.595 MB / 1.073 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005983/0.01439, allocations: 4.388 MB / 1.077 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007795/0.01518, allocations: 87.56 kB / 1.078 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.01664, allocations: 0.8887 MB / 1.078 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0007751/0.01743, allocations: 428.4 kB / 1.079 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.3792/0.3966, allocations: 1.779 MB / 1.081 GB, free: 11.64 MB / 0.8419 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo:594:7-597:102:writable] Error: Internal error NFComponentRef.mergeSubscripts failed because the subscripts {$i1} could not be fully merged onto idxSta.stateGraphRoot.subgraphStatePort. Result: idxSta.stateGraphRoot.subgraphStatePort with leftover: {$i1}.