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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 203.3 kB / 22.18 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.237/3.237, allocations: 497.2 MB / 0.7845 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003115/0.003115, allocations: 64.23 kB / 1.139 GB, free: 33.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5071/0.5102, allocations: 173.9 MB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.4024/0.9126, allocations: 240.6 MB / 1.544 GB, free: 14.55 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.07862/0.9913, allocations: 43.56 MB / 1.587 GB, free: 2.883 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01149/1.003, allocations: 234.6 kB / 1.587 GB, free: 2.652 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.0114/1.014, allocations: 3.302 MB / 1.59 GB, free: 15.33 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02754/1.042, allocations: 8.137 MB / 1.598 GB, free: 7.168 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01711/1.059, allocations: 5.795 MB / 1.604 GB, free: 1.418 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 1.065/2.124, allocations: 26.41 MB / 1.63 GB, free: 71.58 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01906/2.143, allocations: 7.48 MB / 1.637 GB, free: 71.14 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03083/2.174, allocations: 10.17 MB / 1.647 GB, free: 70.79 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01736/2.191, allocations: 6.992 MB / 1.654 GB, free: 69.64 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.005086/2.196, allocations: 1.052 MB / 1.655 GB, free: 69.64 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01661/2.213, allocations: 3.507 MB / 1.658 GB, free: 69.64 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.007111/2.22, allocations: 2.69 MB / 1.661 GB, free: 69.23 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01969/2.239, allocations: 5.487 MB / 1.666 GB, free: 67.89 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03812/2.278, allocations: 18.25 MB / 1.684 GB, free: 66.02 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/2.278, allocations: 2.656 kB / 1.684 GB, free: 66.02 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.854e-06/2.278, allocations: 1.5 kB / 1.684 GB, free: 66.02 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0008057/2.278, allocations: 0 / 1.684 GB, free: 66.02 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.04251/2.321, allocations: 10.52 MB / 1.694 GB, free: 61.93 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/2.321, allocations: 11.53 kB / 1.694 GB, free: 61.93 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/2.332, allocations: 1.447 MB / 1.696 GB, free: 61.38 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02846/2.36, allocations: 10.84 MB / 1.706 GB, free: 59.9 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007846/2.361, allocations: 476.5 kB / 1.707 GB, free: 59.82 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003291/2.364, allocations: 0.511 MB / 1.707 GB, free: 59.82 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02275/2.387, allocations: 7.354 MB / 1.714 GB, free: 57.35 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/2.387, allocations: 10.83 kB / 1.714 GB, free: 57.35 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008397/2.388, allocations: 207.9 kB / 1.715 GB, free: 57.19 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001535/2.388, allocations: 137.3 kB / 1.715 GB, free: 57.18 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/2.404, allocations: 6.363 MB / 1.721 GB, free: 53.88 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.06076/2.465, allocations: 34.54 MB / 1.755 GB, free: 20.5 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005755/2.47, allocations: 2.487 MB / 1.757 GB, free: 18.02 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003808/2.474, allocations: 1.75 MB / 1.759 GB, free: 16.28 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/2.476, allocations: 2.037 MB / 1.761 GB, free: 13.81 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004458/2.48, allocations: 1.884 MB / 1.763 GB, free: 11.92 MB / 1.295 GB Notification: Performance of pre-optimization done (n=212): time 4.799e-06/2.48, allocations: 0 / 1.763 GB, free: 11.92 MB / 1.295 GB Notification: Performance of matching and sorting (n=212): time 0.01367/2.494, allocations: 5.129 MB / 1.768 GB, free: 6.781 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/2.494, allocations: 77.41 kB / 1.768 GB, free: 6.691 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02362/2.517, allocations: 9.109 MB / 1.777 GB, free: 13.6 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001178/2.519, allocations: 89.55 kB / 1.777 GB, free: 13.51 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.008618/2.527, allocations: 3.806 MB / 1.78 GB, free: 9.703 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.002453/2.53, allocations: 0.7731 MB / 1.781 GB, free: 8.941 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003468/2.533, allocations: 0.7845 MB / 1.782 GB, free: 8.148 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001416/2.533, allocations: 305.1 kB / 1.782 GB, free: 7.848 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004597/2.538, allocations: 1.735 MB / 1.784 GB, free: 6.109 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006475/2.544, allocations: 3.352 MB / 1.787 GB, free: 2.152 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009393/2.554, allocations: 4.412 MB / 1.792 GB, free: 13.4 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.655e-05/2.554, allocations: 8 kB / 1.792 GB, free: 13.39 MB / 1.326 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01512/2.569, allocations: 5.236 MB / 1.797 GB, free: 8.285 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 5.452e-05/2.569, allocations: 19.31 kB / 1.797 GB, free: 8.27 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.405e-05/2.569, allocations: 37.7 kB / 1.797 GB, free: 8.234 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-05/2.569, allocations: 52 kB / 1.797 GB, free: 8.184 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003904/2.573, allocations: 0.8276 MB / 1.798 GB, free: 7.406 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.884e-05/2.573, allocations: 65.48 kB / 1.798 GB, free: 7.355 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008414/2.581, allocations: 0.6602 MB / 1.798 GB, free: 6.699 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008316/2.582, allocations: 163.9 kB / 1.798 GB, free: 6.539 MB / 1.326 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.007701/2.59, allocations: 3.014 MB / 1.801 GB, free: 3.566 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004161/2.594, allocations: 0.7608 MB / 1.802 GB, free: 2.801 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/2.608, allocations: 4.213 MB / 1.806 GB, free: 14.61 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/2.608, allocations: 27.98 kB / 1.806 GB, free: 14.58 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/2.608, allocations: 0 / 1.806 GB, free: 14.58 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007893/2.616, allocations: 3.324 MB / 1.809 GB, free: 11.21 MB / 1.342 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.03434/2.65, allocations: 11.3 MB / 1.821 GB, free: 15.84 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/2.65, allocations: 0 / 1.821 GB, free: 15.84 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003098/2.653, allocations: 0.5661 MB / 1.821 GB, free: 15.29 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.029e-05/2.653, allocations: 8 kB / 1.821 GB, free: 15.29 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004732/2.654, allocations: 79.94 kB / 1.821 GB, free: 15.21 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.426e-05/2.654, allocations: 8 kB / 1.821 GB, free: 15.2 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/2.654, allocations: 7.094 kB / 1.821 GB, free: 15.2 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/2.67, allocations: 6.329 MB / 1.827 GB, free: 8.824 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006778/2.677, allocations: 1.452 MB / 1.829 GB, free: 7.348 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003454/2.681, allocations: 51.98 kB / 1.829 GB, free: 7.297 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006606/2.687, allocations: 287.2 kB / 1.829 GB, free: 7.02 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000598/2.688, allocations: 149.7 kB / 1.829 GB, free: 6.871 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004476/2.688, allocations: 119.9 kB / 1.829 GB, free: 6.754 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.01622/2.704, allocations: 6.472 MB / 1.836 GB, free: 312 kB / 1.357 GB Notification: Performance of sort global known variables: time 3.9e-07/2.704, allocations: 4 kB / 1.836 GB, free: 308 kB / 1.357 GB Notification: Performance of remove unused functions: time 0.01041/2.715, allocations: 2.09 MB / 1.838 GB, free: 14.21 MB / 1.373 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.003036/2.718, allocations: 1.109 MB / 1.839 GB, free: 13.21 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.009907/2.728, allocations: 3.832 MB / 1.843 GB, free: 9.492 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/2.728, allocations: 4 kB / 1.843 GB, free: 9.488 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.004566/2.732, allocations: 1.645 MB / 1.844 GB, free: 7.891 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03071/2.763, allocations: 4.585 MB / 1.849 GB, free: 3.484 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03727/2.8, allocations: 16.12 MB / 1.864 GB, free: 3.422 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008727/2.809, allocations: 5.434 MB / 1.87 GB, free: 13.96 MB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.009462/2.819, allocations: 2.092 MB / 1.872 GB, free: 11.9 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00285/2.821, allocations: 0.5305 MB / 1.872 GB, free: 11.37 MB / 1.404 GB Notification: Performance of SimCode: time 1.663e-06/2.821, allocations: 0 / 1.872 GB, free: 11.37 MB / 1.404 GB Notification: Performance of Templates: time 0.3008/3.122, allocations: 157.8 MB / 2.026 GB, free: 15.57 MB / 1.561 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 -s cvode -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_2/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: 16.427832392044365]