Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001532/0.001532, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.0017/0.0017, allocations: 181 kB / 24.08 MB, free: 424 kB / 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.896/0.896, allocations: 177.2 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.843/1.843, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/2.004e-05, allocations: 2.312 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.03159/0.03161, allocations: 49.02 MB / 0.8599 GB, free: 292 kB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02578/0.05739, allocations: 19.05 MB / 0.8785 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006277/0.06367, allocations: 329.2 kB / 0.8788 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.004347/0.06801, allocations: 1.703 MB / 0.8805 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.0799, allocations: 5.871 MB / 0.8862 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.009019/0.08892, allocations: 5.198 MB / 0.8913 GB, free: 92 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.02511/0.114, allocations: 26.52 MB / 0.9172 GB, free: 5.492 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.126, allocations: 7.845 MB / 0.9248 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.024/0.15, allocations: 12.65 MB / 0.9372 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01058/0.1606, allocations: 6.596 MB / 0.9436 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.003233/0.1638, allocations: 1.016 MB / 0.9446 GB, free: 9.324 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006121/0.1699, allocations: 1.585 MB / 0.9462 GB, free: 7.738 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.003118/0.173, allocations: 2.655 MB / 0.9488 GB, free: 5.074 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.007905/0.1809, allocations: 3.59 MB / 0.9523 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.1946, allocations: 8.985 MB / 0.961 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1946, allocations: 0 / 0.961 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1946, allocations: 0 / 0.961 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000408/0.195, allocations: 0 / 0.961 GB, free: 8.465 MB / 0.9167 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.01718/0.2122, allocations: 10.36 MB / 0.9712 GB, free: 14 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2122, allocations: 12.03 kB / 0.9712 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004532/0.2168, allocations: 1.793 MB / 0.9729 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/0.2297, allocations: 9.658 MB / 0.9823 GB, free: 2.414 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004244/0.2301, allocations: 0.5131 MB / 0.9828 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008126/0.231, allocations: 0.5272 MB / 0.9834 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006836/0.2378, allocations: 4.705 MB / 0.988 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.449e-05/0.2379, allocations: 19.81 kB / 0.988 GB, free: 12.19 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004051/0.2383, allocations: 208 kB / 0.9882 GB, free: 11.99 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.2384, allocations: 139.9 kB / 0.9883 GB, free: 11.85 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003291/0.2417, allocations: 1.551 MB / 0.9898 GB, free: 10.27 MB / 0.948 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.02736/0.2691, allocations: 23.85 MB / 1.013 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.2709, allocations: 0.8888 MB / 1.014 GB, free: 1.059 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000836/0.2717, allocations: 0.589 MB / 1.015 GB, free: 480 kB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004237/0.2722, allocations: 195.4 kB / 1.015 GB, free: 300 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/0.2736, allocations: 1.647 MB / 1.016 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=212): time 4.859e-06/0.2736, allocations: 0 / 1.016 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of matching and sorting (n=212): time 0.004347/0.278, allocations: 2.096 MB / 1.018 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.278, allocations: 73.41 kB / 1.018 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00823/0.2863, allocations: 6.353 MB / 1.025 GB, free: 5.871 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006641/0.2869, allocations: 89.7 kB / 1.025 GB, free: 5.777 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003517/0.2905, allocations: 4.327 MB / 1.029 GB, free: 1.43 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.2915, allocations: 0.7942 MB / 1.03 GB, free: 0.6289 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009432/0.2924, allocations: 0.8459 MB / 1.031 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2925, allocations: 476.8 kB / 1.031 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006481/0.2932, allocations: 365.9 kB / 1.031 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.2953, allocations: 4.144 MB / 1.035 GB, free: 9.516 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/0.2975, allocations: 2.397 MB / 1.038 GB, free: 6.488 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/0.2975, allocations: 8 kB / 1.038 GB, free: 6.48 MB / 0.9948 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.004694/0.3022, allocations: 2.662 MB / 1.04 GB, free: 3.766 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.3023, allocations: 20.06 kB / 1.04 GB, free: 3.746 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/0.3023, allocations: 32 kB / 1.04 GB, free: 3.715 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-05/0.3023, allocations: 48 kB / 1.04 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.3039, allocations: 0.7449 MB / 1.041 GB, free: 2.922 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.038e-05/0.304, allocations: 71.72 kB / 1.041 GB, free: 2.852 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/0.3077, allocations: 442 kB / 1.042 GB, free: 2.418 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/0.308, allocations: 132 kB / 1.042 GB, free: 2.289 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (400): * Single equations (assignments): 400 * 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.002069/0.3101, allocations: 384.2 kB / 1.042 GB, free: 1.902 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001971/0.3121, allocations: 0.761 MB / 1.043 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003083/0.3151, allocations: 1.99 MB / 1.045 GB, free: 15.15 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/0.3152, allocations: 27.98 kB / 1.045 GB, free: 15.12 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.3152, allocations: 0 / 1.045 GB, free: 15.12 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001429/0.3166, allocations: 1.247 MB / 1.046 GB, free: 13.83 MB / 1.01 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.009536/0.3261, allocations: 6.31 MB / 1.052 GB, free: 7.43 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.3261, allocations: 4 kB / 1.052 GB, free: 7.426 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.3273, allocations: 483.6 kB / 1.053 GB, free: 6.953 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.657e-05/0.3273, allocations: 12 kB / 1.053 GB, free: 6.941 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/0.3274, allocations: 79.88 kB / 1.053 GB, free: 6.863 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.3274, allocations: 8 kB / 1.053 GB, free: 6.855 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.3274, allocations: 7.938 kB / 1.053 GB, free: 6.848 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003926/0.3313, allocations: 2.656 MB / 1.055 GB, free: 4.137 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002283/0.3336, allocations: 1.221 MB / 1.057 GB, free: 2.91 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/0.3346, allocations: 63.92 kB / 1.057 GB, free: 2.848 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/0.3368, allocations: 135.8 kB / 1.057 GB, free: 2.715 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.337, allocations: 153.7 kB / 1.057 GB, free: 2.562 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/0.3372, allocations: 99.89 kB / 1.057 GB, free: 2.465 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.7142/1.051, allocations: 3.125 MB / 1.06 GB, free: 207.2 MB / 1.011 GB Notification: Performance of sort global known variables: time 2.8e-07/1.051, allocations: 0 / 1.06 GB, free: 207.2 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.005653/1.057, allocations: 1.933 MB / 1.062 GB, free: 207.2 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.0009741/1.058, allocations: 408.5 kB / 1.062 GB, free: 207.1 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.002406/1.06, allocations: 1.578 MB / 1.064 GB, free: 207 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/1.06, allocations: 2.781 kB / 1.064 GB, free: 207 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.000827/1.061, allocations: 0.6902 MB / 1.065 GB, free: 207 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01141/1.073, allocations: 3.869 MB / 1.068 GB, free: 206.6 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/1.091, allocations: 12.49 MB / 1.081 GB, free: 201.4 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002977/1.094, allocations: 2.178 MB / 1.083 GB, free: 201.2 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.005157/1.099, allocations: 1.098 MB / 1.084 GB, free: 200.9 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01014/1.109, allocations: 2.584 MB / 1.086 GB, free: 200.8 MB / 1.011 GB Notification: Performance of SimCode: time 1.993e-06/1.109, allocations: 0 / 1.086 GB, free: 200.8 MB / 1.011 GB Notification: Performance of Templates: time 0.1472/1.256, allocations: 138.5 MB / 1.222 GB, free: 110.9 MB / 1.011 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 8.588471331167966]