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.001553/0.001558, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.58/2.58, allocations: 437 MB / 0.7103 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 0.8692 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6076/0.6089, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2269/0.8359, allocations: 236.5 MB / 1.248 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.609/1.445, allocations: 43.37 MB / 1.291 GB, free: 56.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008745/1.454, allocations: 236.1 kB / 1.291 GB, free: 56.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00834/1.462, allocations: 3.195 MB / 1.294 GB, free: 56.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02107/1.483, allocations: 7.752 MB / 1.301 GB, free: 55.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01279/1.496, allocations: 5.676 MB / 1.307 GB, free: 55.67 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03094/1.527, allocations: 26.66 MB / 1.333 GB, free: 49.55 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01614/1.543, allocations: 11.51 MB / 1.344 GB, free: 44.7 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01764/1.561, allocations: 9.543 MB / 1.354 GB, free: 40.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01142/1.572, allocations: 6.882 MB / 1.36 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003576/1.576, allocations: 1.064 MB / 1.361 GB, free: 37.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01158/1.588, allocations: 3.471 MB / 1.365 GB, free: 33.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003282/1.591, allocations: 2.639 MB / 1.367 GB, free: 31.39 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009183/1.6, allocations: 5.541 MB / 1.373 GB, free: 25.88 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02064/1.621, allocations: 18.81 MB / 1.391 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.621, allocations: 0 / 1.391 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.103e-06/1.621, allocations: 0 / 1.391 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0005348/1.621, allocations: 8 kB / 1.391 GB, free: 7.488 MB / 0.9981 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.02595/1.647, allocations: 10.38 MB / 1.401 GB, free: 13.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.647, allocations: 11.97 kB / 1.401 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008143/1.655, allocations: 1.355 MB / 1.403 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02181/1.677, allocations: 10.59 MB / 1.413 GB, free: 1.258 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005888/1.678, allocations: 472.8 kB / 1.413 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001943/1.68, allocations: 0.5193 MB / 1.414 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/1.698, allocations: 7.274 MB / 1.421 GB, free: 8.832 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002292/1.699, allocations: 15.92 kB / 1.421 GB, free: 8.816 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00148/1.7, allocations: 200 kB / 1.421 GB, free: 8.621 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002389/1.7, allocations: 201.3 kB / 1.421 GB, free: 8.422 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/1.716, allocations: 6.251 MB / 1.428 GB, free: 2.156 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.05575/1.772, allocations: 34.17 MB / 1.461 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005502/1.777, allocations: 2.382 MB / 1.463 GB, free: 11.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003882/1.781, allocations: 1.787 MB / 1.465 GB, free: 10.08 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001884/1.783, allocations: 2.028 MB / 1.467 GB, free: 7.625 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004242/1.787, allocations: 1.806 MB / 1.469 GB, free: 5.809 MB / 1.076 GB Notification: Performance of pre-optimization done (n=220): time 4.479e-06/1.788, allocations: 0 / 1.469 GB, free: 5.809 MB / 1.076 GB Notification: Performance of matching and sorting (n=220): time 0.01257/1.8, allocations: 4.87 MB / 1.473 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/1.8, allocations: 81.41 kB / 1.474 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01926/1.819, allocations: 9.212 MB / 1.483 GB, free: 7.648 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000967/1.82, allocations: 93.64 kB / 1.483 GB, free: 7.551 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.005798/1.826, allocations: 3.806 MB / 1.486 GB, free: 3.742 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001474/1.828, allocations: 0.7767 MB / 1.487 GB, free: 2.973 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002623/1.83, allocations: 0.7922 MB / 1.488 GB, free: 2.172 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.925e-05/1.831, allocations: 309.1 kB / 1.488 GB, free: 1.867 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003822/1.834, allocations: 1.662 MB / 1.49 GB, free: 208 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005693/1.84, allocations: 3.275 MB / 1.493 GB, free: 12.3 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008139/1.848, allocations: 4.357 MB / 1.497 GB, free: 7.492 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.134e-05/1.848, allocations: 12 kB / 1.497 GB, free: 7.48 MB / 1.107 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01267/1.861, allocations: 5.105 MB / 1.502 GB, free: 2.32 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/1.861, allocations: 16 kB / 1.502 GB, free: 2.305 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.786e-05/1.861, allocations: 35.98 kB / 1.502 GB, free: 2.27 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-05/1.861, allocations: 48 kB / 1.502 GB, free: 2.223 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003584/1.865, allocations: 0.8508 MB / 1.503 GB, free: 1.371 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.64e-05/1.865, allocations: 67.78 kB / 1.503 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006512/1.871, allocations: 0.6131 MB / 1.504 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005129/1.872, allocations: 159.9 kB / 1.504 GB, free: 0.5312 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.005439/1.877, allocations: 3.066 MB / 1.507 GB, free: 13.45 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00256/1.88, allocations: 0.7331 MB / 1.508 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00994/1.89, allocations: 4.099 MB / 1.512 GB, free: 8.621 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.433e-05/1.89, allocations: 28 kB / 1.512 GB, free: 8.594 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.89, allocations: 0 / 1.512 GB, free: 8.594 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00625/1.896, allocations: 3.186 MB / 1.515 GB, free: 5.359 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 postOpt removeSimpleEquations (simulation): time 0.025/1.921, allocations: 11.24 MB / 1.526 GB, free: 10.04 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/1.921, allocations: 4 kB / 1.526 GB, free: 10.04 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002894/1.924, allocations: 0.5346 MB / 1.526 GB, free: 9.504 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-05/1.924, allocations: 8 kB / 1.526 GB, free: 9.496 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005203/1.925, allocations: 87.88 kB / 1.526 GB, free: 9.41 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-05/1.925, allocations: 12 kB / 1.526 GB, free: 9.398 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.925, allocations: 4 kB / 1.526 GB, free: 9.395 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/1.938, allocations: 6.023 MB / 1.532 GB, free: 3.305 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004687/1.943, allocations: 1.433 MB / 1.534 GB, free: 1.844 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002261/1.945, allocations: 63.97 kB / 1.534 GB, free: 1.781 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005349/1.951, allocations: 251.5 kB / 1.534 GB, free: 1.535 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004368/1.951, allocations: 153.7 kB / 1.534 GB, free: 1.387 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004145/1.952, allocations: 119.9 kB / 1.534 GB, free: 1.27 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.01496/1.967, allocations: 6.553 MB / 1.541 GB, free: 10.74 MB / 1.154 GB Notification: Performance of sort global known variables: time 5.91e-07/1.967, allocations: 0 / 1.541 GB, free: 10.74 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.008827/1.976, allocations: 2.078 MB / 1.543 GB, free: 8.66 MB / 1.154 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.002737/1.978, allocations: 1.137 MB / 1.544 GB, free: 7.629 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01452/1.993, allocations: 6.073 MB / 1.55 GB, free: 1.559 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/1.993, allocations: 4 kB / 1.55 GB, free: 1.555 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003622/1.996, allocations: 1.676 MB / 1.551 GB, free: 15.88 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02515/2.022, allocations: 4.568 MB / 1.556 GB, free: 11.51 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.035/2.057, allocations: 16.32 MB / 1.572 GB, free: 11.2 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007842/2.065, allocations: 5.524 MB / 1.577 GB, free: 5.645 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.009362/2.074, allocations: 2.117 MB / 1.579 GB, free: 3.562 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002287/2.076, allocations: 0.5422 MB / 1.58 GB, free: 3.02 MB / 1.186 GB Notification: Performance of SimCode: time 9.62e-07/2.076, allocations: 3.938 kB / 1.58 GB, free: 3.016 MB / 1.186 GB Notification: Performance of Templates: time 0.2535/2.33, allocations: 162.5 MB / 1.738 GB, free: 1.965 MB / 1.342 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