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.004814/0.004814, allocations: 97.42 kB / 15.73 MB, free: 6.055 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.001076/0.001076, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.402/2.402, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 64.36 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7278/0.729, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2207/0.9498, allocations: 236.5 MB / 1.398 GB, free: 6.629 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.05658/1.006, allocations: 43.38 MB / 1.44 GB, free: 11.14 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007574/1.014, allocations: 234.6 kB / 1.44 GB, free: 10.91 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.008741/1.023, allocations: 3.192 MB / 1.443 GB, free: 7.707 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01994/1.043, allocations: 7.757 MB / 1.451 GB, free: 15.93 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01339/1.056, allocations: 5.731 MB / 1.456 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.02962/1.086, allocations: 26.71 MB / 1.483 GB, free: 15.45 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01424/1.1, allocations: 11.51 MB / 1.494 GB, free: 3.824 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01781/1.118, allocations: 9.592 MB / 1.503 GB, free: 10.23 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0117/1.13, allocations: 6.866 MB / 1.51 GB, free: 3.332 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.002405/1.132, allocations: 1.066 MB / 1.511 GB, free: 2.266 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009087/1.141, allocations: 3.476 MB / 1.514 GB, free: 14.79 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.002926/1.144, allocations: 2.633 MB / 1.517 GB, free: 12.14 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0084/1.153, allocations: 5.547 MB / 1.522 GB, free: 6.574 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02187/1.174, allocations: 19.03 MB / 1.541 GB, free: 3.48 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.174, allocations: 0 / 1.541 GB, free: 3.48 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.663e-06/1.174, allocations: 0 / 1.541 GB, free: 3.48 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0003418/1.175, allocations: 0 / 1.541 GB, free: 3.48 MB / 1.264 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.02335/1.198, allocations: 10.67 MB / 1.551 GB, free: 8.691 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.198, allocations: 12.92 kB / 1.551 GB, free: 8.68 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006432/1.205, allocations: 1.407 MB / 1.553 GB, free: 7.266 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.092/2.296, allocations: 11.03 MB / 1.563 GB, free: 367.5 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005789/2.297, allocations: 468 kB / 1.564 GB, free: 367.3 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001461/2.298, allocations: 0.5246 MB / 1.564 GB, free: 367.1 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01248/2.311, allocations: 7.274 MB / 1.571 GB, free: 364.1 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/2.311, allocations: 11.23 kB / 1.571 GB, free: 364.1 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004935/2.311, allocations: 203.4 kB / 1.572 GB, free: 363.9 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/2.312, allocations: 201.4 kB / 1.572 GB, free: 363.9 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/2.322, allocations: 6.252 MB / 1.578 GB, free: 361.6 MB / 1.279 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.03596/2.358, allocations: 33.96 MB / 1.611 GB, free: 331.5 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003834/2.362, allocations: 2.393 MB / 1.613 GB, free: 329.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002725/2.365, allocations: 1.811 MB / 1.615 GB, free: 327.3 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/2.366, allocations: 2.033 MB / 1.617 GB, free: 324.9 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003024/2.369, allocations: 1.801 MB / 1.619 GB, free: 323.1 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 4.429e-06/2.369, allocations: 0 / 1.619 GB, free: 323.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.009492/2.379, allocations: 4.91 MB / 1.624 GB, free: 318.2 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/2.379, allocations: 81.39 kB / 1.624 GB, free: 318.1 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01192/2.391, allocations: 9.212 MB / 1.633 GB, free: 308.9 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0007045/2.392, allocations: 93.69 kB / 1.633 GB, free: 308.8 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.003151/2.395, allocations: 3.841 MB / 1.637 GB, free: 305.3 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001007/2.396, allocations: 0.8125 MB / 1.637 GB, free: 304.6 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/2.397, allocations: 0.7926 MB / 1.638 GB, free: 303.8 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.567e-05/2.397, allocations: 305.1 kB / 1.639 GB, free: 303.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/2.4, allocations: 1.66 MB / 1.64 GB, free: 301.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003478/2.403, allocations: 3.284 MB / 1.643 GB, free: 297.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005652/2.409, allocations: 4.351 MB / 1.648 GB, free: 293.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/2.409, allocations: 8 kB / 1.648 GB, free: 293.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.009355/2.418, allocations: 5.159 MB / 1.653 GB, free: 288 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/2.418, allocations: 20 kB / 1.653 GB, free: 288 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/2.418, allocations: 32 kB / 1.653 GB, free: 288 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.612e-05/2.418, allocations: 48 kB / 1.653 GB, free: 287.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/2.421, allocations: 0.8402 MB / 1.654 GB, free: 287.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.472e-05/2.421, allocations: 69.64 kB / 1.654 GB, free: 287 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006158/2.427, allocations: 0.6315 MB / 1.654 GB, free: 286.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002965/2.428, allocations: 160 kB / 1.654 GB, free: 286.4 MB / 1.279 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.004576/2.432, allocations: 3.071 MB / 1.657 GB, free: 283.3 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00199/2.434, allocations: 0.7762 MB / 1.658 GB, free: 282.5 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007291/2.442, allocations: 4.089 MB / 1.662 GB, free: 278.5 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-05/2.442, allocations: 35.73 kB / 1.662 GB, free: 278.5 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/2.442, allocations: 0 / 1.662 GB, free: 278.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004926/2.447, allocations: 3.18 MB / 1.665 GB, free: 275.2 MB / 1.279 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.01628/2.463, allocations: 11.22 MB / 1.676 GB, free: 264 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/2.463, allocations: 0 / 1.676 GB, free: 264 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002316/2.465, allocations: 0.5346 MB / 1.677 GB, free: 263.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/2.465, allocations: 8 kB / 1.677 GB, free: 263.4 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/2.466, allocations: 83.94 kB / 1.677 GB, free: 263.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/2.466, allocations: 8 kB / 1.677 GB, free: 263.3 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/2.466, allocations: 8 kB / 1.677 GB, free: 263.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009684/2.475, allocations: 6.066 MB / 1.683 GB, free: 257.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002867/2.478, allocations: 1.476 MB / 1.684 GB, free: 255.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001537/2.48, allocations: 63.83 kB / 1.684 GB, free: 255.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003899/2.484, allocations: 250.4 kB / 1.685 GB, free: 255.4 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/2.484, allocations: 153.7 kB / 1.685 GB, free: 255.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002253/2.484, allocations: 115.8 kB / 1.685 GB, free: 255.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00868/2.493, allocations: 6.561 MB / 1.691 GB, free: 248.6 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.9e-07/2.493, allocations: 0 / 1.691 GB, free: 248.6 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.005676/2.499, allocations: 2.097 MB / 1.693 GB, free: 246.7 MB / 1.279 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.001716/2.5, allocations: 1.152 MB / 1.694 GB, free: 245.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.005916/2.506, allocations: 3.815 MB / 1.698 GB, free: 241.8 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/2.506, allocations: 3.938 kB / 1.698 GB, free: 241.8 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002414/2.509, allocations: 1.672 MB / 1.7 GB, free: 240.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01673/2.525, allocations: 4.554 MB / 1.704 GB, free: 235.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02259/2.548, allocations: 16.38 MB / 1.72 GB, free: 219.4 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004244/2.552, allocations: 5.518 MB / 1.726 GB, free: 213.8 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.006459/2.559, allocations: 2.135 MB / 1.728 GB, free: 211.7 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001525/2.56, allocations: 0.5383 MB / 1.728 GB, free: 211.2 MB / 1.279 GB Notification: Performance of SimCode: time 9.22e-07/2.56, allocations: 0 / 1.728 GB, free: 211.2 MB / 1.279 GB Notification: Performance of Templates: time 0.1846/2.745, allocations: 156.6 MB / 1.881 GB, free: 55.98 MB / 1.279 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