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.001002/0.001002, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009409/0.0009409, allocations: 161 kB / 23.82 MB, free: 0.75 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.9035/0.9035, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.785/1.785, allocations: 377.8 MB / 0.6236 GB, free: 8.527 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 4.338e-06/4.338e-06, allocations: 4 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.411e-05, allocations: 9.547 kB / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.05471/0.05474, allocations: 50.11 MB / 0.8605 GB, free: 15.45 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.03229/0.08703, allocations: 19.11 MB / 0.8792 GB, free: 12.35 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007329/0.09436, allocations: 333.1 kB / 0.8795 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.004698/0.09906, allocations: 1.703 MB / 0.8811 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.1113, allocations: 5.867 MB / 0.8869 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.008987/0.1203, allocations: 5.202 MB / 0.8919 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.02413/0.1444, allocations: 26.51 MB / 0.9178 GB, free: 4.613 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01324/0.1577, allocations: 7.845 MB / 0.9255 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02746/0.1851, allocations: 12.65 MB / 0.9378 GB, free: 72 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01152/0.1966, allocations: 6.615 MB / 0.9443 GB, free: 9.438 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.00323/0.1999, allocations: 1.016 MB / 0.9453 GB, free: 8.422 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006205/0.2061, allocations: 1.577 MB / 0.9468 GB, free: 6.844 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.004043/0.2101, allocations: 2.725 MB / 0.9495 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.008165/0.2183, allocations: 3.582 MB / 0.953 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.2305, allocations: 8.989 MB / 0.9618 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.2305, allocations: 0 / 0.9618 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2305, allocations: 0 / 0.9618 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003688/0.2309, allocations: 0 / 0.9618 GB, free: 7.5 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.0146/0.2455, allocations: 10.63 MB / 0.9721 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2455, allocations: 8.031 kB / 0.9722 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00414/0.2497, allocations: 1.797 MB / 0.9739 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.2622, allocations: 9.935 MB / 0.9836 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004443/0.2627, allocations: 0.517 MB / 0.9841 GB, free: 368 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009914/0.2636, allocations: 0.5235 MB / 0.9846 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007919/0.2716, allocations: 5.039 MB / 0.9896 GB, free: 10.37 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.63e-05/0.2717, allocations: 11.89 kB / 0.9896 GB, free: 10.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003617/0.272, allocations: 207.9 kB / 0.9898 GB, free: 10.15 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.2721, allocations: 144 kB / 0.9899 GB, free: 10.01 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004256/0.2764, allocations: 1.943 MB / 0.9918 GB, free: 8.051 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.0284/0.3048, allocations: 23.92 MB / 1.015 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.3067, allocations: 1.013 MB / 1.016 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.3077, allocations: 0.6907 MB / 1.017 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003917/0.3081, allocations: 153.9 kB / 1.017 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001653/0.3098, allocations: 1.749 MB / 1.019 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=212): time 5.039e-06/0.3098, allocations: 0 / 1.019 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of matching and sorting (n=212): time 0.004342/0.3141, allocations: 2.35 MB / 1.021 GB, free: 9.473 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.3142, allocations: 73.41 kB / 1.021 GB, free: 9.387 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008294/0.3225, allocations: 6.447 MB / 1.027 GB, free: 2.934 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000528/0.323, allocations: 89.7 kB / 1.027 GB, free: 2.84 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003364/0.3263, allocations: 4.266 MB / 1.032 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009044/0.3273, allocations: 0.7904 MB / 1.032 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.3283, allocations: 0.8305 MB / 1.033 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.3284, allocations: 480.8 kB / 1.034 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009337/0.3294, allocations: 485.9 kB / 1.034 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.3317, allocations: 4.242 MB / 1.038 GB, free: 6.441 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00267/0.3343, allocations: 2.558 MB / 1.041 GB, free: 3.254 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.625e-05/0.3344, allocations: 8 kB / 1.041 GB, free: 3.246 MB / 0.9948 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.004936/0.3393, allocations: 2.907 MB / 1.044 GB, free: 296 kB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.3393, allocations: 20 kB / 1.044 GB, free: 276 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.3394, allocations: 32 kB / 1.044 GB, free: 244 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.506e-05/0.3394, allocations: 48 kB / 1.044 GB, free: 196 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.3411, allocations: 0.7768 MB / 1.044 GB, free: 15.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-05/0.3411, allocations: 63.8 kB / 1.044 GB, free: 15.35 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/0.3442, allocations: 0.498 MB / 1.045 GB, free: 14.85 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.3444, allocations: 164 kB / 1.045 GB, free: 14.69 MB / 1.01 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.001651/0.3461, allocations: 388.6 kB / 1.046 GB, free: 14.3 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/0.3474, allocations: 0.7611 MB / 1.046 GB, free: 13.54 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/0.3504, allocations: 2.17 MB / 1.048 GB, free: 11.37 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.3504, allocations: 27.98 kB / 1.048 GB, free: 11.34 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3504, allocations: 0 / 1.048 GB, free: 11.34 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001873/0.3523, allocations: 1.431 MB / 1.05 GB, free: 9.863 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.0115/0.3638, allocations: 8.06 MB / 1.058 GB, free: 1.703 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.3638, allocations: 0 / 1.058 GB, free: 1.703 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.3651, allocations: 0.5151 MB / 1.058 GB, free: 1.188 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.082e-05/0.3651, allocations: 11.94 kB / 1.058 GB, free: 1.176 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/0.3652, allocations: 71.94 kB / 1.058 GB, free: 1.105 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/0.3652, allocations: 12 kB / 1.058 GB, free: 1.094 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3652, allocations: 7.984 kB / 1.058 GB, free: 1.086 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.731/1.096, allocations: 2.941 MB / 1.061 GB, free: 205.8 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/1.098, allocations: 1.277 MB / 1.062 GB, free: 205.8 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004356/1.098, allocations: 57.19 kB / 1.062 GB, free: 205.8 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.1, allocations: 199.9 kB / 1.063 GB, free: 205.8 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/1.1, allocations: 146.8 kB / 1.063 GB, free: 205.8 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/1.1, allocations: 117.5 kB / 1.063 GB, free: 205.8 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.003681/1.104, allocations: 3.411 MB / 1.066 GB, free: 205.5 MB / 1.011 GB Notification: Performance of sort global known variables: time 1.7e-07/1.104, allocations: 0 / 1.066 GB, free: 205.5 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.002965/1.107, allocations: 1.933 MB / 1.068 GB, free: 205.5 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.0006667/1.107, allocations: 411.9 kB / 1.068 GB, free: 205.4 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.00227/1.11, allocations: 1.786 MB / 1.07 GB, free: 205.3 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.11, allocations: 2.656 kB / 1.07 GB, free: 205.3 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008908/1.11, allocations: 0.777 MB / 1.071 GB, free: 205.3 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01058/1.121, allocations: 3.865 MB / 1.075 GB, free: 204.9 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/1.139, allocations: 12.59 MB / 1.087 GB, free: 199.7 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/1.142, allocations: 2.175 MB / 1.089 GB, free: 199.4 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.005396/1.148, allocations: 1.634 MB / 1.091 GB, free: 199.1 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/1.149, allocations: 0.4898 MB / 1.091 GB, free: 199.1 MB / 1.011 GB Notification: Performance of SimCode: time 2.465e-06/1.149, allocations: 0 / 1.091 GB, free: 199.1 MB / 1.011 GB Notification: Performance of Templates: time 0.1412/1.29, allocations: 135.3 MB / 1.223 GB, free: 107.8 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.248007635120302]