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.001483/0.001483, allocations: 88.72 kB / 19.44 MB, free: 356 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.001781/0.001781, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.469/1.469, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.279/3.279, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|y1.y.2.|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.1.|y1.y.2.|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 2.305e-06/2.305e-06, allocations: 0.5469 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.452e-05, allocations: 6.312 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.7278/0.7278, allocations: 217.2 MB / 1.09 GB, free: 89.12 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.05897/0.7868, allocations: 43.49 MB / 1.132 GB, free: 83.66 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008792/0.7956, allocations: 377.2 kB / 1.133 GB, free: 83.66 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.009419/0.805, allocations: 3.212 MB / 1.136 GB, free: 82.68 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.02445/0.8294, allocations: 8.756 MB / 1.144 GB, free: 78.77 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.01923/0.8487, allocations: 7.469 MB / 1.152 GB, free: 74.95 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.04361/0.8923, allocations: 28.72 MB / 1.18 GB, free: 60.79 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01602/0.9083, allocations: 8.064 MB / 1.187 GB, free: 55.84 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04304/0.9513, allocations: 15.13 MB / 1.202 GB, free: 48.9 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0199/0.9712, allocations: 6.857 MB / 1.209 GB, free: 46.72 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.004523/0.9758, allocations: 1.121 MB / 1.21 GB, free: 46.71 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01644/0.9922, allocations: 3.117 MB / 1.213 GB, free: 46.07 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.006712/0.9989, allocations: 2.926 MB / 1.216 GB, free: 44.32 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.01501/1.014, allocations: 3.921 MB / 1.22 GB, free: 42.6 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.03773/1.052, allocations: 19.99 MB / 1.239 GB, free: 25.69 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-05/1.052, allocations: 4 kB / 1.239 GB, free: 25.69 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.048e-06/1.052, allocations: 0 / 1.239 GB, free: 25.69 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0007799/1.052, allocations: 0 / 1.239 GB, free: 25.69 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.03542/1.088, allocations: 11.46 MB / 1.25 GB, free: 14.29 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/1.088, allocations: 12.03 kB / 1.25 GB, free: 14.28 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/1.102, allocations: 2.062 MB / 1.252 GB, free: 12.21 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02715/1.129, allocations: 13.4 MB / 1.266 GB, free: 14.79 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001123/1.13, allocations: 0.5811 MB / 1.266 GB, free: 14.18 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003276/1.133, allocations: 0.6093 MB / 1.267 GB, free: 13.57 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02678/1.16, allocations: 8.214 MB / 1.275 GB, free: 4.969 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003009/1.16, allocations: 7.938 kB / 1.275 GB, free: 4.961 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002081/1.162, allocations: 219.9 kB / 1.275 GB, free: 4.746 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002319/1.162, allocations: 136 kB / 1.275 GB, free: 4.613 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01975/1.182, allocations: 6.36 MB / 1.281 GB, free: 14.24 MB / 1.042 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.06859/1.251, allocations: 25.23 MB / 1.306 GB, free: 4.68 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007325/1.258, allocations: 2.474 MB / 1.308 GB, free: 2.207 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004962/1.263, allocations: 1.757 MB / 1.31 GB, free: 460 kB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/1.264, allocations: 245.8 kB / 1.31 GB, free: 216 kB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006223/1.271, allocations: 2.77 MB / 1.313 GB, free: 13.21 MB / 1.073 GB Notification: Performance of pre-optimization done (n=212): time 6.362e-06/1.271, allocations: 0 / 1.313 GB, free: 13.21 MB / 1.073 GB Notification: Performance of matching and sorting (n=212): time 0.01785/1.289, allocations: 5.261 MB / 1.318 GB, free: 7.945 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/1.289, allocations: 81.39 kB / 1.318 GB, free: 7.855 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02785/1.317, allocations: 9.767 MB / 1.328 GB, free: 14.13 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001148/1.318, allocations: 125.7 kB / 1.328 GB, free: 14 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.008134/1.326, allocations: 4.197 MB / 1.332 GB, free: 9.781 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.001853/1.328, allocations: 0.7709 MB / 1.333 GB, free: 9.004 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004595/1.332, allocations: 1.213 MB / 1.334 GB, free: 7.781 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001972/1.332, allocations: 309.1 kB / 1.334 GB, free: 7.477 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006325/1.339, allocations: 2.157 MB / 1.336 GB, free: 5.312 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01214/1.351, allocations: 7.022 MB / 1.343 GB, free: 12.48 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01533/1.366, allocations: 6.666 MB / 1.35 GB, free: 4.629 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/1.366, allocations: 24 kB / 1.35 GB, free: 4.605 MB / 1.104 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02387/1.39, allocations: 7.471 MB / 1.357 GB, free: 13.08 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/1.39, allocations: 40 kB / 1.357 GB, free: 13.04 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/1.391, allocations: 84 kB / 1.357 GB, free: 12.96 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/1.391, allocations: 116 kB / 1.357 GB, free: 12.85 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006025/1.397, allocations: 1.26 MB / 1.358 GB, free: 11.59 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002766/1.397, allocations: 167.4 kB / 1.359 GB, free: 11.42 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009407/1.406, allocations: 0.8282 MB / 1.359 GB, free: 10.59 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/1.408, allocations: 280 kB / 1.36 GB, free: 10.32 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 374 * 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 (636): * Single equations (assignments): 636 * 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.01006/1.418, allocations: 3.553 MB / 1.363 GB, free: 6.75 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00457/1.423, allocations: 0.8424 MB / 1.364 GB, free: 5.902 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/1.438, allocations: 4.245 MB / 1.368 GB, free: 1.664 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.105e-05/1.438, allocations: 27.98 kB / 1.368 GB, free: 1.637 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.438, allocations: 0 / 1.368 GB, free: 1.637 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009274/1.447, allocations: 3.347 MB / 1.371 GB, free: 14.24 MB / 1.135 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.03483/1.482, allocations: 9.986 MB / 1.381 GB, free: 4.188 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/1.482, allocations: 4 kB / 1.381 GB, free: 4.184 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003277/1.485, allocations: 0.5619 MB / 1.382 GB, free: 3.621 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.596e-05/1.485, allocations: 19.94 kB / 1.382 GB, free: 3.602 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005117/1.486, allocations: 79.88 kB / 1.382 GB, free: 3.523 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.934e-05/1.486, allocations: 8 kB / 1.382 GB, free: 3.516 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.486, allocations: 4 kB / 1.382 GB, free: 3.512 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01767/1.503, allocations: 6.468 MB / 1.388 GB, free: 13 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005477/1.509, allocations: 1.447 MB / 1.39 GB, free: 11.55 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002638/1.511, allocations: 63.92 kB / 1.39 GB, free: 11.49 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006021/1.517, allocations: 287.5 kB / 1.39 GB, free: 11.21 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005853/1.518, allocations: 149.7 kB / 1.39 GB, free: 11.06 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000632/1.519, allocations: 111.9 kB / 1.39 GB, free: 10.95 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.01842/1.537, allocations: 6.765 MB / 1.397 GB, free: 4.223 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.51e-07/1.537, allocations: 0 / 1.397 GB, free: 4.223 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01203/1.549, allocations: 2.323 MB / 1.399 GB, free: 1.895 MB / 1.151 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.003731/1.553, allocations: 1.108 MB / 1.4 GB, free: 0.8203 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01293/1.566, allocations: 4.722 MB / 1.405 GB, free: 12.11 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/1.566, allocations: 4 kB / 1.405 GB, free: 12.11 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004863/1.571, allocations: 1.659 MB / 1.406 GB, free: 10.45 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02293/1.594, allocations: 4.104 MB / 1.41 GB, free: 6.477 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04443/1.638, allocations: 17.67 MB / 1.428 GB, free: 4.699 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01362/1.652, allocations: 5.67 MB / 1.433 GB, free: 14.99 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01061/1.662, allocations: 2.188 MB / 1.435 GB, free: 12.83 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002925/1.665, allocations: 0.5433 MB / 1.436 GB, free: 12.29 MB / 1.198 GB Notification: Performance of SimCode: time 1.893e-06/1.665, allocations: 0 / 1.436 GB, free: 12.29 MB / 1.198 GB Notification: Performance of Templates: time 1.062/2.727, allocations: 144.9 MB / 1.577 GB, free: 450.1 MB / 1.292 GB " [Timeout remaining time 297] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.205027180025354]