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.002019/0.002019, allocations: 85.3 kB / 19.76 MB, free: 2.023 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.002307/0.002307, allocations: 158.4 kB / 23 MB, free: 4.961 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.44/1.44, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 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 2.903/2.903, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 67.91 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7778/0.7799, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2409/1.021, allocations: 218.1 MB / 1.4 GB, free: 11.63 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.06343/1.084, allocations: 40.56 MB / 1.439 GB, free: 2.984 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007256/1.092, allocations: 329.2 kB / 1.44 GB, free: 2.66 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.009218/1.101, allocations: 3.126 MB / 1.443 GB, free: 15.51 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02241/1.123, allocations: 8.302 MB / 1.451 GB, free: 7.18 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01405/1.137, allocations: 5.801 MB / 1.456 GB, free: 1.426 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.03599/1.173, allocations: 27.09 MB / 1.483 GB, free: 6.27 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01262/1.186, allocations: 7.537 MB / 1.49 GB, free: 14.62 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02224/1.208, allocations: 10.46 MB / 1.5 GB, free: 4.16 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01387/1.222, allocations: 7.307 MB / 1.508 GB, free: 12.82 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.003157/1.225, allocations: 1.047 MB / 1.509 GB, free: 11.78 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009637/1.235, allocations: 3.012 MB / 1.511 GB, free: 8.762 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.004556/1.239, allocations: 2.686 MB / 1.514 GB, free: 6.066 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.009276/1.249, allocations: 4.279 MB / 1.518 GB, free: 1.77 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.02607/1.275, allocations: 18.45 MB / 1.536 GB, free: 15.26 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.275, allocations: 0 / 1.536 GB, free: 15.26 MB / 1.389 GB Notification: Performance of FrontEnd: time 1.442e-06/1.275, allocations: 0 / 1.536 GB, free: 15.26 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.0003575/1.275, allocations: 0 / 1.536 GB, free: 15.26 MB / 1.389 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.02398/1.299, allocations: 10.51 MB / 1.547 GB, free: 4.648 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.299, allocations: 8.031 kB / 1.547 GB, free: 4.641 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008086/1.307, allocations: 1.497 MB / 1.548 GB, free: 3.137 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02308/1.33, allocations: 11.13 MB / 1.559 GB, free: 7.895 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007236/1.331, allocations: 0.5092 MB / 1.559 GB, free: 7.359 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/1.333, allocations: 0.5233 MB / 1.56 GB, free: 6.836 MB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/1.352, allocations: 8.218 MB / 1.568 GB, free: 14.23 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001729/1.352, allocations: 11.94 kB / 1.568 GB, free: 14.22 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001135/1.353, allocations: 207.9 kB / 1.568 GB, free: 14.02 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/1.354, allocations: 136 kB / 1.568 GB, free: 13.89 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/1.369, allocations: 6.376 MB / 1.575 GB, free: 7.496 MB / 1.42 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.04764/1.417, allocations: 23.83 MB / 1.598 GB, free: 15.27 MB / 1.451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006082/1.423, allocations: 2.475 MB / 1.6 GB, free: 12.78 MB / 1.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004218/1.427, allocations: 1.757 MB / 1.602 GB, free: 11.02 MB / 1.451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/1.428, allocations: 237.8 kB / 1.602 GB, free: 10.79 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005155/1.433, allocations: 2.759 MB / 1.605 GB, free: 7.809 MB / 1.451 GB Notification: Performance of pre-optimization done (n=212): time 5.31e-06/1.433, allocations: 0 / 1.605 GB, free: 7.809 MB / 1.451 GB Notification: Performance of matching and sorting (n=212): time 0.01356/1.447, allocations: 5.09 MB / 1.61 GB, free: 2.711 MB / 1.451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/1.447, allocations: 77.41 kB / 1.61 GB, free: 2.625 MB / 1.451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01632/1.463, allocations: 8.323 MB / 1.618 GB, free: 10.35 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.0006789/1.464, allocations: 81.7 kB / 1.618 GB, free: 10.26 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.004638/1.469, allocations: 3.875 MB / 1.622 GB, free: 6.363 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.00123/1.47, allocations: 0.7709 MB / 1.623 GB, free: 5.586 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001348/1.471, allocations: 0.7806 MB / 1.623 GB, free: 4.797 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.471, allocations: 317 kB / 1.624 GB, free: 4.484 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003956/1.475, allocations: 1.743 MB / 1.625 GB, free: 2.738 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006749/1.482, allocations: 5.201 MB / 1.63 GB, free: 12.46 MB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008761/1.491, allocations: 4.441 MB / 1.635 GB, free: 7.555 MB / 1.482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-05/1.491, allocations: 8 kB / 1.635 GB, free: 7.547 MB / 1.482 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01214/1.503, allocations: 5.182 MB / 1.64 GB, free: 2.312 MB / 1.482 GB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/1.503, allocations: 20.25 kB / 1.64 GB, free: 2.293 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.864e-05/1.503, allocations: 32 kB / 1.64 GB, free: 2.262 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.57e-05/1.503, allocations: 48 kB / 1.64 GB, free: 2.215 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003578/1.507, allocations: 0.8229 MB / 1.641 GB, free: 1.391 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-05/1.507, allocations: 75.72 kB / 1.641 GB, free: 1.316 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006085/1.513, allocations: 0.5724 MB / 1.641 GB, free: 0.7422 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000363/1.513, allocations: 156 kB / 1.642 GB, free: 0.5898 MB / 1.482 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.005432/1.519, allocations: 3.046 MB / 1.645 GB, free: 13.53 MB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002192/1.521, allocations: 0.6869 MB / 1.645 GB, free: 12.84 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/1.531, allocations: 4.202 MB / 1.649 GB, free: 8.637 MB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/1.531, allocations: 20 kB / 1.649 GB, free: 8.617 MB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.531, allocations: 0 / 1.649 GB, free: 8.617 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007427/1.538, allocations: 3.363 MB / 1.653 GB, free: 5.203 MB / 1.498 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.02301/1.561, allocations: 9.633 MB / 1.662 GB, free: 11.51 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/1.561, allocations: 7.984 kB / 1.662 GB, free: 11.5 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002944/1.564, allocations: 0.5581 MB / 1.663 GB, free: 10.94 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-05/1.564, allocations: 16 kB / 1.663 GB, free: 10.93 MB / 1.514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/1.565, allocations: 71.94 kB / 1.663 GB, free: 10.86 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.69e-05/1.565, allocations: 12 kB / 1.663 GB, free: 10.84 MB / 1.514 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.565, allocations: 0 / 1.663 GB, free: 10.84 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/1.579, allocations: 6.314 MB / 1.669 GB, free: 4.484 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003829/1.583, allocations: 1.334 MB / 1.67 GB, free: 3.145 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001423/1.584, allocations: 52 kB / 1.67 GB, free: 3.094 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004395/1.588, allocations: 283.5 kB / 1.67 GB, free: 2.816 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/1.589, allocations: 157.6 kB / 1.671 GB, free: 2.664 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003266/1.589, allocations: 119.9 kB / 1.671 GB, free: 2.547 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.01153/1.601, allocations: 5.853 MB / 1.676 GB, free: 12.73 MB / 1.529 GB Notification: Performance of sort global known variables: time 1.3e-07/1.601, allocations: 0 / 1.676 GB, free: 12.73 MB / 1.529 GB Notification: Performance of remove unused functions: time 0.00665/1.607, allocations: 2.175 MB / 1.679 GB, free: 10.55 MB / 1.529 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.002039/1.609, allocations: 1.061 MB / 1.68 GB, free: 9.508 MB / 1.529 GB Notification: Performance of simCode: created initialization part: time 0.008628/1.618, allocations: 3.859 MB / 1.683 GB, free: 5.648 MB / 1.529 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.618, allocations: 8.062 kB / 1.683 GB, free: 5.641 MB / 1.529 GB Notification: Performance of simCode: created simulation system equations: time 0.003727/1.622, allocations: 1.655 MB / 1.685 GB, free: 3.984 MB / 1.529 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01587/1.637, allocations: 3.751 MB / 1.689 GB, free: 380 kB / 1.529 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02952/1.667, allocations: 15.96 MB / 1.704 GB, free: 352 kB / 1.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006834/1.674, allocations: 5.013 MB / 1.709 GB, free: 11.3 MB / 1.561 GB Notification: Performance of simCode: alias equations: time 0.00673/1.681, allocations: 1.932 MB / 1.711 GB, free: 9.391 MB / 1.561 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/1.682, allocations: 0.5002 MB / 1.712 GB, free: 8.887 MB / 1.561 GB Notification: Performance of SimCode: time 8.52e-07/1.682, allocations: 0 / 1.712 GB, free: 8.887 MB / 1.561 GB Notification: Performance of Templates: time 0.7404/2.423, allocations: 140.1 MB / 1.848 GB, free: 396.3 MB / 1.561 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=800 -s ida -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/jenkins1/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: 13.98685366299469]