Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009361/0.0009361, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009075/0.0009075, allocations: 173.7 kB / 23.28 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9412/0.9412, allocations: 177.1 MB / 203.7 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.292/2.292, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y.[0-9,]+.|chi.m2_flow|chi.chi.m2_flow|TChiWatSupSet.y|chi.sta_a2.T|chi.sta_b2.T|chi.sta_a1.T|chi.sta_b1.T|chi.chi.PLR1|chi.chi.PLR2|dat.PLRMax|chi.chi.COP",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y.[0-9,]+.|chi.m2_flow|chi.chi.m2_flow|TChiWatSupSet.y|chi.sta_a2.T|chi.sta_b2.T|chi.sta_a1.T|chi.sta_b1.T|chi.chi.PLR1|chi.chi.PLR2|dat.PLRMax|chi.chi.COP",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8897 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.464e-05, allocations: 5.547 kB / 0.8897 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.03396/0.03399, allocations: 49.97 MB / 0.9385 GB, free: 7.57 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.03103/0.06502, allocations: 21.57 MB / 0.9596 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007658/0.07267, allocations: 376.8 kB / 0.96 GB, free: 1.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.005609/0.07828, allocations: 1.745 MB / 0.9617 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01361/0.09189, allocations: 6.105 MB / 0.9676 GB, free: 9.695 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.01172/0.1036, allocations: 6.688 MB / 0.9742 GB, free: 2.996 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.02972/0.1333, allocations: 27.96 MB / 1.001 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01303/0.1464, allocations: 8.063 MB / 1.009 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0254/0.1718, allocations: 13.57 MB / 1.023 GB, free: 1.293 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01081/0.1826, allocations: 6.826 MB / 1.029 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.003405/0.186, allocations: 1.086 MB / 1.03 GB, free: 9.359 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00738/0.1934, allocations: 1.651 MB / 1.032 GB, free: 7.711 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.005029/0.1984, allocations: 2.834 MB / 1.035 GB, free: 4.867 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.01008/0.2085, allocations: 3.851 MB / 1.038 GB, free: 1.008 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01583/0.2243, allocations: 9.616 MB / 1.048 GB, free: 7.363 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.2243, allocations: 0 / 1.048 GB, free: 7.363 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2243, allocations: 0 / 1.048 GB, free: 7.363 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0004721/0.2248, allocations: 0 / 1.048 GB, free: 7.363 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1232 * Number of variables: 1232 Notification: Performance of Generate backend data structure: time 0.7628/0.9876, allocations: 11.41 MB / 1.059 GB, free: 130.7 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.9876, allocations: 9.25 kB / 1.059 GB, free: 130.7 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004098/0.9917, allocations: 1.947 MB / 1.061 GB, free: 130.1 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/1.004, allocations: 10.86 MB / 1.072 GB, free: 128.9 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004077/1.005, allocations: 0.5716 MB / 1.072 GB, free: 128.7 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/1.006, allocations: 0.6152 MB / 1.073 GB, free: 128.7 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006038/1.012, allocations: 4.702 MB / 1.077 GB, free: 126.9 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.26e-05/1.012, allocations: 17.42 kB / 1.077 GB, free: 126.9 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003337/1.012, allocations: 202.6 kB / 1.077 GB, free: 126.9 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.935e-05/1.012, allocations: 136.1 kB / 1.078 GB, free: 126.9 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/1.015, allocations: 1.567 MB / 1.079 GB, free: 126.8 MB / 1.011 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03147/1.046, allocations: 25 MB / 1.104 GB, free: 118 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/1.048, allocations: 0.9021 MB / 1.104 GB, free: 117.9 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/1.049, allocations: 0.5966 MB / 1.105 GB, free: 117.8 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003964/1.05, allocations: 193.5 kB / 1.105 GB, free: 117.7 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/1.051, allocations: 1.652 MB / 1.107 GB, free: 116.5 MB / 1.011 GB Notification: Performance of pre-optimization done (n=212): time 6.011e-06/1.051, allocations: 0 / 1.107 GB, free: 116.5 MB / 1.011 GB Notification: Performance of matching and sorting (n=212): time 0.005217/1.056, allocations: 2.214 MB / 1.109 GB, free: 115.8 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/1.056, allocations: 76.64 kB / 1.109 GB, free: 115.8 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01205/1.069, allocations: 7.577 MB / 1.116 GB, free: 114.1 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.0008466/1.069, allocations: 128.4 kB / 1.117 GB, free: 114 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004291/1.074, allocations: 4.719 MB / 1.121 GB, free: 111 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.075, allocations: 0.798 MB / 1.122 GB, free: 110.5 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001809/1.077, allocations: 1.373 MB / 1.123 GB, free: 109.9 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 4.714e-05/1.077, allocations: 478.7 kB / 1.124 GB, free: 109.4 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009668/1.078, allocations: 486.8 kB / 1.124 GB, free: 109.4 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/1.08, allocations: 6.371 MB / 1.13 GB, free: 101.9 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004111/1.084, allocations: 5.03 MB / 1.135 GB, free: 96.96 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-05/1.085, allocations: 24.19 kB / 1.135 GB, free: 96.96 MB / 1.011 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.00777/1.092, allocations: 4.167 MB / 1.139 GB, free: 95.88 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/1.092, allocations: 40.31 kB / 1.139 GB, free: 95.88 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/1.093, allocations: 83.2 kB / 1.14 GB, free: 95.88 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/1.093, allocations: 118.4 kB / 1.14 GB, free: 95.88 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/1.095, allocations: 1.18 MB / 1.141 GB, free: 95.84 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001539/1.095, allocations: 166 kB / 1.141 GB, free: 95.84 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00513/1.1, allocations: 0.6787 MB / 1.142 GB, free: 95.43 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004543/1.101, allocations: 247.2 kB / 1.142 GB, free: 95.39 MB / 1.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.chi.tru.y,y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[2],$PRE.y1.intTimTab.y[2],y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],y1.y[2],chi.com.y1One,chi.y1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (634): * Single equations (assignments): 634 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002428/1.103, allocations: 0.5411 MB / 1.142 GB, free: 95.04 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002076/1.105, allocations: 0.8452 MB / 1.143 GB, free: 94.56 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003458/1.109, allocations: 2.027 MB / 1.145 GB, free: 93.94 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/1.109, allocations: 24.84 kB / 1.145 GB, free: 93.94 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.109, allocations: 0 / 1.145 GB, free: 93.94 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001541/1.11, allocations: 1.257 MB / 1.146 GB, free: 93.5 MB / 1.011 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/1.122, allocations: 6.646 MB / 1.153 GB, free: 91.04 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/1.122, allocations: 3.219 kB / 1.153 GB, free: 91.04 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/1.123, allocations: 478.8 kB / 1.153 GB, free: 91.02 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.18e-05/1.123, allocations: 14.64 kB / 1.153 GB, free: 91.02 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/1.123, allocations: 75.45 kB / 1.153 GB, free: 90.98 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.05e-05/1.123, allocations: 13.91 kB / 1.154 GB, free: 90.98 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.123, allocations: 9.516 kB / 1.154 GB, free: 90.98 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00432/1.127, allocations: 2.769 MB / 1.156 GB, free: 89.84 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002646/1.13, allocations: 1.309 MB / 1.158 GB, free: 89 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009249/1.131, allocations: 53.03 kB / 1.158 GB, free: 88.96 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/1.132, allocations: 145.4 kB / 1.158 GB, free: 88.93 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/1.133, allocations: 147.2 kB / 1.158 GB, free: 88.9 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/1.133, allocations: 97.8 kB / 1.158 GB, free: 88.89 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.003984/1.137, allocations: 3.613 MB / 1.161 GB, free: 88.2 MB / 1.011 GB Notification: Performance of sort global known variables: time 7e-08/1.137, allocations: 0 / 1.161 GB, free: 88.2 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.005598/1.142, allocations: 2.082 MB / 1.163 GB, free: 87.78 MB / 1.011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.valEva.junInl[1].vol.dynBal.U,chi.valEva.junInl[2].vol.dynBal.U,chi.valEva.junOut[1].vol.dynBal.U,chi.valEva.junOut[2].vol.dynBal.U,chi.valEva.val[1].actPos.y,chi.valEva.val[2].actPos.y,chi.valCon.junInl[1].vol.dynBal.U,chi.valCon.junInl[2].vol.dynBal.U,chi.valCon.junOut[1].vol.dynBal.U,chi.valCon.junOut[2].vol.dynBal.U,chi.valCon.val[1].actPos.y,chi.valCon.val[2].actPos.y,chi.temConLvg.T,chi.temEvaLvg.T) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.y1[1],chi.com.y1One,y1.y[2],y1.intTimTab.y[1],y1.intTimTab.y[2],y1.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008866/1.143, allocations: 412.9 kB / 1.164 GB, free: 87.62 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.003531/1.147, allocations: 2.265 MB / 1.166 GB, free: 87.35 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.147, allocations: 7.531 kB / 1.166 GB, free: 87.35 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008387/1.148, allocations: 0.688 MB / 1.167 GB, free: 87.29 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01103/1.159, allocations: 4.045 MB / 1.171 GB, free: 86.1 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/1.177, allocations: 13.82 MB / 1.184 GB, free: 74.86 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003236/1.18, allocations: 2.436 MB / 1.187 GB, free: 73.12 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.004785/1.185, allocations: 1.219 MB / 1.188 GB, free: 72.17 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007479/1.192, allocations: 2.732 MB / 1.19 GB, free: 70.09 MB / 1.011 GB Notification: Performance of SimCode: time 2.265e-06/1.192, allocations: 0 / 1.19 GB, free: 70.09 MB / 1.011 GB Notification: Performance of Templates: time 0.1642/1.357, allocations: 144.7 MB / 1.332 GB, free: 9.719 MB / 1.089 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.08627226529643]