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.00108/0.00108, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001718/0.001718, allocations: 169 kB / 24.05 MB, free: 452 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 1.031/1.031, allocations: 177.1 MB / 204.5 MB, free: 5.469 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.077/2.077, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 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.483e-06/1.483e-06, allocations: 0 / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.772e-05, allocations: 4.312 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.03749/0.03752, allocations: 49.99 MB / 0.9282 GB, free: 3.879 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.03544/0.07296, allocations: 21.56 MB / 0.9493 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009727/0.08268, allocations: 376.8 kB / 0.9496 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.006244/0.08893, allocations: 1.749 MB / 0.9513 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.01576/0.1047, allocations: 6.112 MB / 0.9573 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.01278/0.1175, allocations: 6.692 MB / 0.9638 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0314/0.1489, allocations: 27.95 MB / 0.9911 GB, free: 3.273 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0136/0.1625, allocations: 8.071 MB / 0.999 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0295/0.192, allocations: 13.57 MB / 1.012 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01303/0.205, allocations: 6.822 MB / 1.019 GB, free: 6.746 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.004398/0.2094, allocations: 1.082 MB / 1.02 GB, free: 5.664 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00786/0.2173, allocations: 1.655 MB / 1.022 GB, free: 4.008 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.005356/0.2226, allocations: 2.834 MB / 1.024 GB, free: 1.164 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0113/0.2339, allocations: 3.843 MB / 1.028 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01716/0.2511, allocations: 9.616 MB / 1.038 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.2511, allocations: 0 / 1.038 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2511, allocations: 0 / 1.038 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0006285/0.2517, allocations: 0 / 1.038 GB, free: 3.668 MB / 0.9948 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.01876/0.2705, allocations: 11.42 MB / 1.049 GB, free: 8.133 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.2705, allocations: 12.03 kB / 1.049 GB, free: 8.121 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004797/0.2753, allocations: 1.945 MB / 1.051 GB, free: 6.168 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8477/1.123, allocations: 10.85 MB / 1.061 GB, free: 139 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005902/1.124, allocations: 0.5737 MB / 1.062 GB, free: 138.9 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/1.125, allocations: 0.6143 MB / 1.062 GB, free: 138.9 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007333/1.132, allocations: 4.705 MB / 1.067 GB, free: 137.1 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/1.132, allocations: 16.12 kB / 1.067 GB, free: 137.1 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004007/1.133, allocations: 202.2 kB / 1.067 GB, free: 137.1 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/1.133, allocations: 137.6 kB / 1.067 GB, free: 137.1 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002926/1.136, allocations: 1.563 MB / 1.069 GB, free: 137 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.03398/1.17, allocations: 25 MB / 1.093 GB, free: 129.8 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/1.172, allocations: 0.8974 MB / 1.094 GB, free: 129.8 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008371/1.172, allocations: 0.5959 MB / 1.095 GB, free: 129.8 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000384/1.173, allocations: 159.4 kB / 1.095 GB, free: 129.8 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/1.174, allocations: 1.653 MB / 1.096 GB, free: 128.6 MB / 1.011 GB Notification: Performance of pre-optimization done (n=212): time 5.931e-06/1.174, allocations: 1.344 kB / 1.096 GB, free: 128.6 MB / 1.011 GB Notification: Performance of matching and sorting (n=212): time 0.005243/1.18, allocations: 2.213 MB / 1.099 GB, free: 128.1 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/1.18, allocations: 78.31 kB / 1.099 GB, free: 128 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01406/1.194, allocations: 7.575 MB / 1.106 GB, free: 127.3 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.001037/1.195, allocations: 123.7 kB / 1.106 GB, free: 127.3 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005111/1.2, allocations: 4.719 MB / 1.111 GB, free: 125.5 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00131/1.201, allocations: 0.8073 MB / 1.112 GB, free: 125 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001981/1.203, allocations: 1.371 MB / 1.113 GB, free: 124.5 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 5.636e-05/1.203, allocations: 478.5 kB / 1.113 GB, free: 124 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/1.204, allocations: 492 kB / 1.114 GB, free: 124 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/1.208, allocations: 6.367 MB / 1.12 GB, free: 116.5 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004622/1.212, allocations: 5.024 MB / 1.125 GB, free: 111.5 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/1.212, allocations: 24.34 kB / 1.125 GB, free: 111.5 MB / 1.011 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.009344/1.222, allocations: 4.173 MB / 1.129 GB, free: 110.5 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/1.222, allocations: 40.91 kB / 1.129 GB, free: 110.5 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/1.222, allocations: 82 kB / 1.129 GB, free: 110.5 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/1.222, allocations: 120 kB / 1.129 GB, free: 110.5 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/1.225, allocations: 1.172 MB / 1.13 GB, free: 110.4 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001583/1.225, allocations: 169 kB / 1.131 GB, free: 110.4 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005672/1.231, allocations: 0.6828 MB / 1.131 GB, free: 110.1 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006955/1.231, allocations: 248.4 kB / 1.131 GB, free: 110.1 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.002968/1.234, allocations: 0.5387 MB / 1.132 GB, free: 109.8 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002291/1.237, allocations: 0.8333 MB / 1.133 GB, free: 109.3 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/1.24, allocations: 2.037 MB / 1.135 GB, free: 108.7 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/1.24, allocations: 28 kB / 1.135 GB, free: 108.7 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.24, allocations: 0 / 1.135 GB, free: 108.7 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001734/1.242, allocations: 1.259 MB / 1.136 GB, free: 108.3 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.01319/1.255, allocations: 6.643 MB / 1.143 GB, free: 105.9 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.255, allocations: 6.75 kB / 1.143 GB, free: 105.9 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/1.257, allocations: 483.7 kB / 1.143 GB, free: 105.8 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.449e-05/1.257, allocations: 8.469 kB / 1.143 GB, free: 105.8 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000177/1.257, allocations: 73.34 kB / 1.143 GB, free: 105.8 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-05/1.257, allocations: 14.22 kB / 1.143 GB, free: 105.8 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.257, allocations: 2.625 kB / 1.143 GB, free: 105.8 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005059/1.262, allocations: 2.776 MB / 1.146 GB, free: 104.7 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00274/1.265, allocations: 1.308 MB / 1.147 GB, free: 103.8 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009037/1.266, allocations: 50.08 kB / 1.147 GB, free: 103.8 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/1.267, allocations: 145.1 kB / 1.147 GB, free: 103.8 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/1.268, allocations: 149.2 kB / 1.147 GB, free: 103.8 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/1.268, allocations: 108 kB / 1.148 GB, free: 103.7 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.005157/1.273, allocations: 3.608 MB / 1.151 GB, free: 103 MB / 1.011 GB Notification: Performance of sort global known variables: time 2.31e-07/1.273, allocations: 0 / 1.151 GB, free: 103 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.006784/1.28, allocations: 2.076 MB / 1.153 GB, free: 102.8 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.001209/1.281, allocations: 407.9 kB / 1.153 GB, free: 102.6 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.004651/1.286, allocations: 2.262 MB / 1.156 GB, free: 102.4 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.286, allocations: 2.875 kB / 1.156 GB, free: 102.4 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/1.287, allocations: 0.692 MB / 1.156 GB, free: 102.3 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0136/1.3, allocations: 4.053 MB / 1.16 GB, free: 101.1 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02584/1.326, allocations: 13.83 MB / 1.174 GB, free: 94.07 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004095/1.33, allocations: 2.442 MB / 1.176 GB, free: 93.29 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.005297/1.336, allocations: 1.21 MB / 1.177 GB, free: 92.95 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007473/1.343, allocations: 2.734 MB / 1.18 GB, free: 91.57 MB / 1.011 GB Notification: Performance of SimCode: time 2.205e-06/1.343, allocations: 0 / 1.18 GB, free: 91.57 MB / 1.011 GB Notification: Performance of Templates: time 0.1617/1.505, allocations: 146.5 MB / 1.323 GB, free: 14.69 MB / 1.073 GB " [Timeout remaining time 298] 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.760240393225104]