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.0009492/0.0009492, allocations: 97.06 kB / 19.65 MB, free: 276 kB / 13.93 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.00101/0.00101, allocations: 173.3 kB / 23.03 MB, free: 1.543 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.8956/0.8956, allocations: 177.1 MB / 203.4 MB, free: 5.664 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 1.94/1.94, allocations: 429.5 MB / 0.6732 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 178] 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.543e-06/1.543e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.795e-05, allocations: 4.562 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.03452/0.03454, allocations: 51.16 MB / 0.9281 GB, free: 3.012 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.02664/0.06118, allocations: 21.64 MB / 0.9493 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004841/0.06602, allocations: 376.8 kB / 0.9496 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.003038/0.06906, allocations: 1.745 MB / 0.9513 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.00898/0.07804, allocations: 6.105 MB / 0.9573 GB, free: 5.082 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.008226/0.08627, allocations: 6.684 MB / 0.9638 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.02117/0.1074, allocations: 27.96 MB / 0.9911 GB, free: 2.34 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0102/0.1176, allocations: 8.059 MB / 0.999 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01997/0.1376, allocations: 13.56 MB / 1.012 GB, free: 12.67 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009648/0.1473, allocations: 6.849 MB / 1.019 GB, free: 5.805 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.002499/0.1498, allocations: 1.086 MB / 1.02 GB, free: 4.719 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004282/0.154, allocations: 1.659 MB / 1.022 GB, free: 3.059 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.001908/0.1559, allocations: 2.892 MB / 1.024 GB, free: 160 kB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.005819/0.1618, allocations: 3.851 MB / 1.028 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.009419/0.1712, allocations: 9.608 MB / 1.038 GB, free: 2.656 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1712, allocations: 0 / 1.038 GB, free: 2.656 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.905e-06/0.1712, allocations: 3.984 kB / 1.038 GB, free: 2.652 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003247/0.1715, allocations: 0 / 1.038 GB, free: 2.652 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.01357/0.1851, allocations: 11.67 MB / 1.049 GB, free: 6.863 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1851, allocations: 8.031 kB / 1.049 GB, free: 6.855 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00381/0.1889, allocations: 1.953 MB / 1.051 GB, free: 4.895 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6674/0.8563, allocations: 11.14 MB / 1.062 GB, free: 138.1 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003309/0.8567, allocations: 0.5689 MB / 1.062 GB, free: 138 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006152/0.8573, allocations: 0.611 MB / 1.063 GB, free: 138 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005978/0.8633, allocations: 5.044 MB / 1.068 GB, free: 136.2 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.569e-05/0.8633, allocations: 20.16 kB / 1.068 GB, free: 136.2 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000306/0.8636, allocations: 202.7 kB / 1.068 GB, free: 136.2 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.96e-05/0.8637, allocations: 139.8 kB / 1.068 GB, free: 136.2 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003408/0.8671, allocations: 1.947 MB / 1.07 GB, free: 136.1 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.02311/0.8903, allocations: 25.06 MB / 1.095 GB, free: 128.9 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.8921, allocations: 1.026 MB / 1.096 GB, free: 128.8 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.8931, allocations: 0.6946 MB / 1.096 GB, free: 128.8 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003777/0.8935, allocations: 157.9 kB / 1.096 GB, free: 128.8 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/0.8949, allocations: 1.743 MB / 1.098 GB, free: 127.6 MB / 1.011 GB Notification: Performance of pre-optimization done (n=212): time 4.628e-06/0.8949, allocations: 0 / 1.098 GB, free: 127.6 MB / 1.011 GB Notification: Performance of matching and sorting (n=212): time 0.004424/0.8993, allocations: 2.481 MB / 1.101 GB, free: 127.1 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.8994, allocations: 78.94 kB / 1.101 GB, free: 127 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009098/0.9085, allocations: 7.718 MB / 1.108 GB, free: 124.3 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004397/0.9089, allocations: 123 kB / 1.108 GB, free: 124.2 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003367/0.9123, allocations: 4.651 MB / 1.113 GB, free: 121 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006728/0.9129, allocations: 0.7926 MB / 1.114 GB, free: 120.5 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/0.9142, allocations: 1.342 MB / 1.115 GB, free: 119.8 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 4.386e-05/0.9143, allocations: 482.2 kB / 1.115 GB, free: 119.3 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.9155, allocations: 0.6245 MB / 1.116 GB, free: 119.3 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/0.9185, allocations: 6.493 MB / 1.122 GB, free: 111.6 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003993/0.9225, allocations: 5.219 MB / 1.127 GB, free: 106.4 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-05/0.9226, allocations: 24.36 kB / 1.127 GB, free: 106.4 MB / 1.011 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.008667/0.9312, allocations: 4.501 MB / 1.132 GB, free: 105.2 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 6.977e-05/0.9313, allocations: 41.66 kB / 1.132 GB, free: 105.2 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-05/0.9314, allocations: 82.97 kB / 1.132 GB, free: 105.2 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.9315, allocations: 117.3 kB / 1.132 GB, free: 105.2 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/0.9342, allocations: 1.212 MB / 1.133 GB, free: 105.1 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001586/0.9344, allocations: 166.7 kB / 1.133 GB, free: 105.1 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/0.9386, allocations: 0.7563 MB / 1.134 GB, free: 104.9 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003547/0.939, allocations: 282.9 kB / 1.134 GB, free: 104.8 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.001966/0.941, allocations: 0.5381 MB / 1.135 GB, free: 104.5 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/0.942, allocations: 0.8349 MB / 1.136 GB, free: 104.1 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/0.9456, allocations: 2.217 MB / 1.138 GB, free: 103.4 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/0.9456, allocations: 27.52 kB / 1.138 GB, free: 103.4 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9457, allocations: 0 / 1.138 GB, free: 103.4 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002069/0.9477, allocations: 1.447 MB / 1.139 GB, free: 102.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 postOpt removeSimpleEquations (simulation): time 0.01061/0.9583, allocations: 8.602 MB / 1.148 GB, free: 99.05 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.9583, allocations: 3.406 kB / 1.148 GB, free: 99.05 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.9596, allocations: 0.5102 MB / 1.148 GB, free: 99.03 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.9596, allocations: 8.062 kB / 1.148 GB, free: 99.03 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/0.9597, allocations: 79.56 kB / 1.148 GB, free: 98.99 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.9597, allocations: 9.875 kB / 1.148 GB, free: 98.99 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.9597, allocations: 7.875 kB / 1.148 GB, free: 98.99 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003561/0.9633, allocations: 3.056 MB / 1.151 GB, free: 97.7 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/0.9649, allocations: 1.37 MB / 1.153 GB, free: 96.88 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004812/0.9654, allocations: 49.8 kB / 1.153 GB, free: 96.85 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/0.9669, allocations: 210.3 kB / 1.153 GB, free: 96.81 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.9671, allocations: 149.2 kB / 1.153 GB, free: 96.78 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/0.9673, allocations: 116.4 kB / 1.153 GB, free: 96.76 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.004514/0.9718, allocations: 3.926 MB / 1.157 GB, free: 95.6 MB / 1.011 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9718, allocations: 0 / 1.157 GB, free: 95.6 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.004194/0.976, allocations: 2.076 MB / 1.159 GB, free: 95.33 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.0007104/0.9767, allocations: 405.6 kB / 1.159 GB, free: 95.16 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.003337/0.9801, allocations: 2.492 MB / 1.162 GB, free: 94.74 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.9801, allocations: 2.5 kB / 1.162 GB, free: 94.74 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009506/0.981, allocations: 0.781 MB / 1.163 GB, free: 94.62 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00804/0.989, allocations: 4.055 MB / 1.167 GB, free: 93.41 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/1.003, allocations: 13.89 MB / 1.18 GB, free: 85.48 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/1.004, allocations: 2.439 MB / 1.182 GB, free: 83.74 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.004059/1.008, allocations: 1.875 MB / 1.184 GB, free: 82.46 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008999/1.009, allocations: 0.5387 MB / 1.185 GB, free: 81.98 MB / 1.011 GB Notification: Performance of SimCode: time 1.733e-06/1.009, allocations: 0 / 1.185 GB, free: 81.98 MB / 1.011 GB Notification: Performance of Templates: time 0.1385/1.148, allocations: 140.8 MB / 1.322 GB, free: 10.76 MB / 1.073 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: 8.691500066779554]