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.001919/0.001919, allocations: 80.12 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002501/0.002501, allocations: 166.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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.578/1.578, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.929/2.929, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.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_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.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_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.707e-06/3.707e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.534e-05/4.904e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.9416/0.9417, allocations: 216.2 MB / 1.193 GB, free: 82.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.06973/1.011, allocations: 40.56 MB / 1.232 GB, free: 61.15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01279/1.024, allocations: 333.4 kB / 1.233 GB, free: 60.97 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01143/1.036, allocations: 3.182 MB / 1.236 GB, free: 59.11 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.02944/1.065, allocations: 8.525 MB / 1.244 GB, free: 53.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01792/1.083, allocations: 6.044 MB / 1.25 GB, free: 50.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.03877/1.122, allocations: 27.17 MB / 1.276 GB, free: 36.03 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0152/1.137, allocations: 7.552 MB / 1.284 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04178/1.179, allocations: 14.13 MB / 1.298 GB, free: 24.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01599/1.195, allocations: 6.623 MB / 1.304 GB, free: 20.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.004736/1.199, allocations: 1.048 MB / 1.305 GB, free: 20.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01623/1.216, allocations: 3.039 MB / 1.308 GB, free: 19.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006397/1.222, allocations: 2.762 MB / 1.311 GB, free: 17.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01535/1.237, allocations: 3.649 MB / 1.314 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.03072/1.268, allocations: 18.6 MB / 1.332 GB, free: 11.75 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/1.268, allocations: 4 kB / 1.332 GB, free: 11.75 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.104e-06/1.268, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0005862/1.269, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.092 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.0328/1.302, allocations: 10.48 MB / 1.343 GB, free: 1.188 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/1.302, allocations: 12.03 kB / 1.343 GB, free: 1.176 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/1.312, allocations: 1.466 MB / 1.344 GB, free: 15.7 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02654/1.338, allocations: 11.24 MB / 1.355 GB, free: 4.355 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006916/1.339, allocations: 0.5092 MB / 1.356 GB, free: 3.82 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002257/1.341, allocations: 0.5155 MB / 1.356 GB, free: 3.305 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02067/1.362, allocations: 8.21 MB / 1.364 GB, free: 10.71 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/1.362, allocations: 7.938 kB / 1.364 GB, free: 10.7 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008687/1.363, allocations: 211.9 kB / 1.364 GB, free: 10.5 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/1.363, allocations: 136 kB / 1.364 GB, free: 10.36 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01724/1.38, allocations: 6.356 MB / 1.371 GB, free: 3.992 MB / 1.123 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.05721/1.438, allocations: 23.82 MB / 1.394 GB, free: 11.79 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006858/1.444, allocations: 2.463 MB / 1.396 GB, free: 9.32 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004602/1.449, allocations: 1.75 MB / 1.398 GB, free: 7.566 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/1.45, allocations: 233.8 kB / 1.398 GB, free: 7.336 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005621/1.456, allocations: 2.746 MB / 1.401 GB, free: 4.371 MB / 1.154 GB Notification: Performance of pre-optimization done (n=212): time 5.521e-06/1.456, allocations: 0 / 1.401 GB, free: 4.371 MB / 1.154 GB Notification: Performance of matching and sorting (n=212): time 0.01512/1.471, allocations: 5.059 MB / 1.406 GB, free: 15.3 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/1.471, allocations: 81.41 kB / 1.406 GB, free: 15.21 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02094/1.492, allocations: 8.406 MB / 1.414 GB, free: 6.801 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0009374/1.493, allocations: 85.7 kB / 1.414 GB, free: 6.711 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.006688/1.5, allocations: 3.887 MB / 1.418 GB, free: 2.809 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001723/1.501, allocations: 0.7631 MB / 1.419 GB, free: 2.039 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002767/1.504, allocations: 0.7728 MB / 1.42 GB, free: 1.258 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.504, allocations: 309.1 kB / 1.42 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004349/1.509, allocations: 1.732 MB / 1.422 GB, free: 15.21 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007339/1.516, allocations: 5.193 MB / 1.427 GB, free: 8.945 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009917/1.526, allocations: 4.418 MB / 1.431 GB, free: 4.066 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.202e-05/1.526, allocations: 8 kB / 1.431 GB, free: 4.059 MB / 1.186 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01599/1.542, allocations: 5.174 MB / 1.436 GB, free: 14.83 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.442e-05/1.542, allocations: 16 kB / 1.436 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.481e-05/1.542, allocations: 40.14 kB / 1.436 GB, free: 14.78 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.25e-05/1.542, allocations: 48 kB / 1.436 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003746/1.546, allocations: 0.8267 MB / 1.437 GB, free: 13.9 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001067/1.546, allocations: 71.72 kB / 1.437 GB, free: 13.83 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007392/1.553, allocations: 0.5762 MB / 1.438 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006747/1.554, allocations: 159.9 kB / 1.438 GB, free: 13.09 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * 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 (402): * Single equations (assignments): 402 * 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.007094/1.561, allocations: 3.063 MB / 1.441 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003541/1.565, allocations: 0.6985 MB / 1.441 GB, free: 9.316 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/1.577, allocations: 4.179 MB / 1.445 GB, free: 5.141 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.472e-05/1.577, allocations: 24 kB / 1.445 GB, free: 5.117 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/1.577, allocations: 3.984 kB / 1.445 GB, free: 5.113 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00793/1.585, allocations: 3.332 MB / 1.449 GB, free: 1.73 MB / 1.201 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.0295/1.615, allocations: 9.611 MB / 1.458 GB, free: 8.051 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/1.615, allocations: 0 / 1.458 GB, free: 8.051 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00296/1.618, allocations: 0.562 MB / 1.459 GB, free: 7.488 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.729e-05/1.618, allocations: 8 kB / 1.459 GB, free: 7.48 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003823/1.618, allocations: 83.88 kB / 1.459 GB, free: 7.398 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.996e-05/1.618, allocations: 8 kB / 1.459 GB, free: 7.391 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.618, allocations: 7.984 kB / 1.459 GB, free: 7.383 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/1.633, allocations: 6.271 MB / 1.465 GB, free: 1.066 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004957/1.638, allocations: 1.327 MB / 1.466 GB, free: 15.73 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002383/1.641, allocations: 59.92 kB / 1.466 GB, free: 15.67 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005656/1.646, allocations: 279.6 kB / 1.467 GB, free: 15.39 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005021/1.647, allocations: 153.7 kB / 1.467 GB, free: 15.24 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005506/1.648, allocations: 119.9 kB / 1.467 GB, free: 15.12 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.01556/1.663, allocations: 5.914 MB / 1.473 GB, free: 9.219 MB / 1.232 GB Notification: Performance of sort global known variables: time 3.11e-07/1.663, allocations: 3.938 kB / 1.473 GB, free: 9.215 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.01032/1.673, allocations: 2.186 MB / 1.475 GB, free: 7.023 MB / 1.232 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.003271/1.677, allocations: 1.115 MB / 1.476 GB, free: 5.926 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01094/1.688, allocations: 3.834 MB / 1.48 GB, free: 2.086 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.688, allocations: 0 / 1.48 GB, free: 2.086 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004928/1.693, allocations: 1.657 MB / 1.481 GB, free: 444 kB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02383/1.716, allocations: 3.745 MB / 1.485 GB, free: 12.83 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0445/1.761, allocations: 15.82 MB / 1.5 GB, free: 12.95 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01274/1.774, allocations: 5.059 MB / 1.505 GB, free: 7.848 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.009989/1.784, allocations: 1.907 MB / 1.507 GB, free: 5.969 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00289/1.786, allocations: 0.5042 MB / 1.508 GB, free: 5.465 MB / 1.264 GB Notification: Performance of SimCode: time 2.685e-06/1.786, allocations: 0 / 1.508 GB, free: 5.465 MB / 1.264 GB Notification: Performance of Templates: time 0.2766/2.063, allocations: 139.2 MB / 1.643 GB, free: 12.05 MB / 1.404 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.855490136891603]