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.001397/0.001397, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001674/0.001674, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.12/3.12, allocations: 0.49 GB / 0.7958 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.001978/0.001978, allocations: 67.89 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3455, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2557/0.6012, allocations: 241.5 MB / 1.563 GB, free: 15.12 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.06556/0.6667, allocations: 43.61 MB / 1.606 GB, free: 3.406 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009524/0.6762, allocations: 333.1 kB / 1.606 GB, free: 3.078 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.8263/1.503, allocations: 3.3 MB / 1.609 GB, free: 62.02 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02285/1.525, allocations: 8.297 MB / 1.617 GB, free: 62.02 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01457/1.54, allocations: 5.905 MB / 1.623 GB, free: 61.98 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.0419/1.582, allocations: 26.93 MB / 1.649 GB, free: 61.95 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01492/1.597, allocations: 7.506 MB / 1.657 GB, free: 61.46 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02456/1.621, allocations: 10.36 MB / 1.667 GB, free: 60.89 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01454/1.636, allocations: 7.019 MB / 1.674 GB, free: 59.73 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.00461/1.64, allocations: 1.048 MB / 1.675 GB, free: 59.73 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01409/1.655, allocations: 3.676 MB / 1.678 GB, free: 59.68 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.005778/1.66, allocations: 2.693 MB / 1.681 GB, free: 59.27 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01414/1.674, allocations: 5.517 MB / 1.686 GB, free: 57.91 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03886/1.713, allocations: 18.49 MB / 1.704 GB, free: 55.39 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/1.713, allocations: 0 / 1.704 GB, free: 55.39 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.445e-06/1.713, allocations: 0 / 1.704 GB, free: 55.39 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0006615/1.714, allocations: 0 / 1.704 GB, free: 55.39 MB / 1.295 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.03205/1.746, allocations: 10.51 MB / 1.715 GB, free: 48.33 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/1.746, allocations: 10.72 kB / 1.715 GB, free: 48.33 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009286/1.755, allocations: 1.457 MB / 1.716 GB, free: 47.62 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0215/1.777, allocations: 11.07 MB / 1.727 GB, free: 40.24 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004523/1.777, allocations: 0.5063 MB / 1.727 GB, free: 39.94 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/1.779, allocations: 0.5196 MB / 1.728 GB, free: 39.77 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01731/1.796, allocations: 7.347 MB / 1.735 GB, free: 35.35 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001499/1.797, allocations: 13.3 kB / 1.735 GB, free: 35.34 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008224/1.797, allocations: 206.1 kB / 1.735 GB, free: 35.19 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/1.798, allocations: 140.7 kB / 1.735 GB, free: 35.18 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/1.812, allocations: 6.37 MB / 1.742 GB, free: 29.07 MB / 1.295 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.0545/1.867, allocations: 34.44 MB / 1.775 GB, free: 9.031 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006191/1.873, allocations: 2.47 MB / 1.778 GB, free: 6.562 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004274/1.877, allocations: 1.742 MB / 1.779 GB, free: 4.824 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/1.878, allocations: 254.9 kB / 1.78 GB, free: 4.594 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004978/1.883, allocations: 1.882 MB / 1.781 GB, free: 2.699 MB / 1.311 GB Notification: Performance of pre-optimization done (n=212): time 5.791e-06/1.883, allocations: 0 / 1.781 GB, free: 2.699 MB / 1.311 GB Notification: Performance of matching and sorting (n=212): time 0.01481/1.898, allocations: 5.136 MB / 1.786 GB, free: 13.56 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/1.898, allocations: 81.39 kB / 1.786 GB, free: 13.46 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02184/1.92, allocations: 9.211 MB / 1.795 GB, free: 4.273 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.00106/1.921, allocations: 89.7 kB / 1.796 GB, free: 4.18 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.007077/1.928, allocations: 3.827 MB / 1.799 GB, free: 360 kB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.001812/1.93, allocations: 0.7734 MB / 1.8 GB, free: 15.59 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001953/1.932, allocations: 0.7845 MB / 1.801 GB, free: 14.79 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.932, allocations: 304.9 kB / 1.801 GB, free: 14.5 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003992/1.936, allocations: 1.735 MB / 1.803 GB, free: 12.76 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00638/1.942, allocations: 3.349 MB / 1.806 GB, free: 8.805 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009141/1.951, allocations: 4.415 MB / 1.81 GB, free: 4.055 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.144e-05/1.951, allocations: 8 kB / 1.81 GB, free: 4.047 MB / 1.342 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01386/1.965, allocations: 5.247 MB / 1.816 GB, free: 14.93 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 5.232e-05/1.965, allocations: 18.91 kB / 1.816 GB, free: 14.91 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.168e-05/1.965, allocations: 32 kB / 1.816 GB, free: 14.88 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.731e-05/1.965, allocations: 48 kB / 1.816 GB, free: 14.84 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00364/1.969, allocations: 0.8293 MB / 1.816 GB, free: 14.05 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.421e-05/1.969, allocations: 64.73 kB / 1.816 GB, free: 14 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007864/1.977, allocations: 0.6628 MB / 1.817 GB, free: 13.34 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008486/1.978, allocations: 159.9 kB / 1.817 GB, free: 13.19 MB / 1.357 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.007238/1.985, allocations: 3.034 MB / 1.82 GB, free: 10.19 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003052/1.988, allocations: 0.7685 MB / 1.821 GB, free: 9.418 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/1.999, allocations: 4.25 MB / 1.825 GB, free: 5.176 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.406e-05/1.999, allocations: 23.98 kB / 1.825 GB, free: 5.152 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.999, allocations: 0 / 1.825 GB, free: 5.152 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007241/2.006, allocations: 3.334 MB / 1.828 GB, free: 1.773 MB / 1.357 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.02896/2.035, allocations: 11.36 MB / 1.84 GB, free: 6.359 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/2.035, allocations: 4 kB / 1.84 GB, free: 6.355 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002895/2.038, allocations: 0.5593 MB / 1.84 GB, free: 5.816 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.81e-05/2.038, allocations: 8 kB / 1.84 GB, free: 5.809 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000339/2.039, allocations: 75.94 kB / 1.84 GB, free: 5.734 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.888e-05/2.039, allocations: 16 kB / 1.84 GB, free: 5.719 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/2.039, allocations: 3.375 kB / 1.84 GB, free: 5.719 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/2.054, allocations: 6.359 MB / 1.846 GB, free: 15.32 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005644/2.059, allocations: 1.404 MB / 1.848 GB, free: 13.92 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002694/2.062, allocations: 55.98 kB / 1.848 GB, free: 13.87 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005921/2.068, allocations: 287.5 kB / 1.848 GB, free: 13.59 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004849/2.069, allocations: 149.7 kB / 1.848 GB, free: 13.44 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004184/2.069, allocations: 115.9 kB / 1.848 GB, free: 13.32 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.01591/2.085, allocations: 6.556 MB / 1.855 GB, free: 6.797 MB / 1.389 GB Notification: Performance of sort global known variables: time 1.9e-07/2.085, allocations: 0 / 1.855 GB, free: 6.797 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.009531/2.094, allocations: 2.101 MB / 1.857 GB, free: 4.691 MB / 1.389 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.002868/2.097, allocations: 1.084 MB / 1.858 GB, free: 3.719 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.009671/2.107, allocations: 3.831 MB / 1.862 GB, free: 15.99 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/2.107, allocations: 12 kB / 1.862 GB, free: 15.98 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.004266/2.111, allocations: 1.717 MB / 1.863 GB, free: 14.31 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02551/2.137, allocations: 4.587 MB / 1.868 GB, free: 9.887 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03934/2.176, allocations: 15.84 MB / 1.883 GB, free: 10.13 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01002/2.186, allocations: 5.226 MB / 1.888 GB, free: 4.879 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002852/2.189, allocations: 0.5685 MB / 1.889 GB, free: 4.312 MB / 1.42 GB Notification: Performance of SimCode: time 1.533e-06/2.189, allocations: 0 / 1.889 GB, free: 4.312 MB / 1.42 GB Notification: Performance of Templates: time 0.2478/2.437, allocations: 152 MB / 2.037 GB, free: 13.28 MB / 1.576 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/jenkins1/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: 41.81182517501293]