Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009796/0.009796, allocations: 170.3 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 8 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6376/0.638, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.7672/1.405, allocations: 231.6 MB / 1.249 GB, free: 55.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.05705/1.462, allocations: 43 MB / 1.291 GB, free: 54.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00992/1.472, allocations: 206.5 kB / 1.291 GB, free: 54.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.009945/1.482, allocations: 2.618 MB / 1.294 GB, free: 54.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.02892/1.511, allocations: 7.215 MB / 1.301 GB, free: 54.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01612/1.527, allocations: 5.306 MB / 1.306 GB, free: 54.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.03601/1.563, allocations: 33.28 MB / 1.339 GB, free: 42.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01411/1.578, allocations: 8.871 MB / 1.347 GB, free: 37.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01915/1.597, allocations: 7.152 MB / 1.354 GB, free: 33.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0132/1.61, allocations: 6.272 MB / 1.36 GB, free: 27.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.003101/1.613, allocations: 316 kB / 1.361 GB, free: 27.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/1.625, allocations: 2.476 MB / 1.363 GB, free: 25.1 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003561/1.629, allocations: 1.766 MB / 1.365 GB, free: 23.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.009136/1.638, allocations: 4.569 MB / 1.369 GB, free: 18.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02128/1.659, allocations: 17.9 MB / 1.387 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.659, allocations: 0 / 1.387 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.675e-06/1.659, allocations: 0 / 1.387 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0005669/1.66, allocations: 0 / 1.387 GB, free: 1.367 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1243 * Number of variables: 1243 Notification: Performance of Generate backend data structure: time 0.02504/1.685, allocations: 8.281 MB / 1.395 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.685, allocations: 12.03 kB / 1.395 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008286/1.693, allocations: 1.387 MB / 1.396 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02317/1.716, allocations: 11.15 MB / 1.407 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006739/1.717, allocations: 470 kB / 1.408 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002124/1.719, allocations: 0.5259 MB / 1.408 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02149/1.741, allocations: 7.291 MB / 1.415 GB, free: 4.238 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/1.741, allocations: 7.938 kB / 1.415 GB, free: 4.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009751/1.742, allocations: 204 kB / 1.415 GB, free: 4.031 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002828/1.742, allocations: 201.3 kB / 1.416 GB, free: 3.832 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/1.759, allocations: 6.28 MB / 1.422 GB, free: 13.54 MB / 1.029 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.05346/1.813, allocations: 34.45 MB / 1.455 GB, free: 9.105 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005033/1.818, allocations: 2.419 MB / 1.458 GB, free: 6.684 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00346/1.821, allocations: 1.783 MB / 1.46 GB, free: 4.902 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001738/1.823, allocations: 2.041 MB / 1.462 GB, free: 2.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003765/1.827, allocations: 1.822 MB / 1.463 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of pre-optimization done (n=220): time 4.799e-06/1.827, allocations: 0 / 1.463 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of matching and sorting (n=220): time 0.01106/1.838, allocations: 4.923 MB / 1.468 GB, free: 11.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/1.838, allocations: 81.39 kB / 1.468 GB, free: 11.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01661/1.854, allocations: 8.946 MB / 1.477 GB, free: 2.648 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0007819/1.855, allocations: 89.7 kB / 1.477 GB, free: 2.555 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.004616/1.86, allocations: 3.81 MB / 1.481 GB, free: 14.74 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001289/1.861, allocations: 0.7633 MB / 1.481 GB, free: 13.98 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000474/1.862, allocations: 288.5 kB / 1.482 GB, free: 13.7 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/1.862, allocations: 305.1 kB / 1.482 GB, free: 13.39 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003416/1.865, allocations: 1.673 MB / 1.484 GB, free: 11.72 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004724/1.87, allocations: 3.288 MB / 1.487 GB, free: 7.801 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007272/1.877, allocations: 4.381 MB / 1.491 GB, free: 2.961 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.01e-05/1.877, allocations: 12 kB / 1.491 GB, free: 2.949 MB / 1.092 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01299/1.89, allocations: 5.134 MB / 1.496 GB, free: 13.76 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/1.89, allocations: 20 kB / 1.496 GB, free: 13.74 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.633e-05/1.89, allocations: 32.09 kB / 1.496 GB, free: 13.71 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.644e-05/1.891, allocations: 48 kB / 1.496 GB, free: 13.66 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003485/1.894, allocations: 0.8464 MB / 1.497 GB, free: 12.82 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-05/1.894, allocations: 67.73 kB / 1.497 GB, free: 12.75 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008531/1.903, allocations: 0.8934 MB / 1.498 GB, free: 11.86 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007887/1.904, allocations: 167.9 kB / 1.498 GB, free: 11.7 MB / 1.107 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],y1.y[1],chi.com.y1One) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (414): * Single equations (assignments): 414 * 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.006621/1.91, allocations: 3.066 MB / 1.501 GB, free: 8.617 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002498/1.913, allocations: 0.7331 MB / 1.502 GB, free: 7.875 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/1.923, allocations: 4.132 MB / 1.506 GB, free: 3.754 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.842e-05/1.923, allocations: 27.98 kB / 1.506 GB, free: 3.727 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.923, allocations: 7.875 kB / 1.506 GB, free: 3.719 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006336/1.929, allocations: 3.218 MB / 1.509 GB, free: 460 kB / 1.107 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.02587/1.955, allocations: 10.94 MB / 1.52 GB, free: 5.434 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.955, allocations: 8.031 kB / 1.52 GB, free: 5.426 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002559/1.958, allocations: 0.5306 MB / 1.52 GB, free: 4.895 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.172e-05/1.958, allocations: 12 kB / 1.52 GB, free: 4.883 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002793/1.958, allocations: 87.92 kB / 1.52 GB, free: 4.797 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-05/1.958, allocations: 11.94 kB / 1.52 GB, free: 4.785 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.958, allocations: 4 kB / 1.52 GB, free: 4.781 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/1.971, allocations: 6.074 MB / 1.526 GB, free: 14.64 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004929/1.976, allocations: 1.542 MB / 1.528 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002066/1.978, allocations: 63.98 kB / 1.528 GB, free: 13.01 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005814/1.984, allocations: 0.4893 MB / 1.528 GB, free: 12.53 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004452/1.984, allocations: 149.7 kB / 1.529 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003802/1.985, allocations: 119.9 kB / 1.529 GB, free: 12.27 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.01465/1.999, allocations: 6.358 MB / 1.535 GB, free: 5.934 MB / 1.139 GB Notification: Performance of sort global known variables: time 6.01e-07/1.999, allocations: 0 / 1.535 GB, free: 5.934 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00826/2.008, allocations: 2.019 MB / 1.537 GB, free: 3.91 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (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].filter.s[1],chi.valEva.val[1].filter.s[2],chi.valEva.val[2].filter.s[1],chi.valEva.val[2].filter.s[2],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].filter.s[1],chi.valCon.val[1].filter.s[2],chi.valCon.val[2].filter.s[1],chi.valCon.val[2].filter.s[2],chi.temConLvg.T,chi.temEvaLvg.T) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.com.y1One,y1.y[1],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 (230): * Single equations (assignments): 217 * 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.002561/2.01, allocations: 1.098 MB / 1.538 GB, free: 2.922 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008631/2.019, allocations: 3.825 MB / 1.542 GB, free: 15.1 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/2.019, allocations: 7.938 kB / 1.542 GB, free: 15.09 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003656/2.023, allocations: 1.69 MB / 1.543 GB, free: 13.4 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02981/2.052, allocations: 4.574 MB / 1.548 GB, free: 8.922 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03962/2.092, allocations: 19.08 MB / 1.566 GB, free: 5.824 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01108/2.103, allocations: 5.522 MB / 1.572 GB, free: 280 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.01159/2.115, allocations: 2.142 MB / 1.574 GB, free: 14.16 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002891/2.118, allocations: 0.5344 MB / 1.574 GB, free: 13.63 MB / 1.186 GB Notification: Performance of SimCode: time 1.964e-06/2.118, allocations: 0 / 1.574 GB, free: 13.63 MB / 1.186 GB Notification: Performance of Templates: time 0.2527/2.37, allocations: 155.1 MB / 1.726 GB, free: 3.891 MB / 1.326 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches