Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) 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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") translateModel(Buildings.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_11_Buildings.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.005005/0.005005, allocations: 102.7 kB / 15.74 MB, free: 6.441 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.001186/0.001186, allocations: 194.3 kB / 16.67 MB, free: 6.348 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 469.8 MB / 0.7425 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.89 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3969, allocations: 159.1 MB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 1.176/1.573, allocations: 236.8 MB / 1.452 GB, free: 8.555 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.07457/1.647, allocations: 43.37 MB / 1.494 GB, free: 13.09 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0125/1.66, allocations: 234.6 kB / 1.494 GB, free: 12.86 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.01212/1.672, allocations: 3.317 MB / 1.498 GB, free: 9.523 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.02942/1.701, allocations: 8.183 MB / 1.506 GB, free: 1.312 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01786/1.719, allocations: 5.767 MB / 1.511 GB, free: 11.6 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.04552/1.765, allocations: 26.68 MB / 1.537 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0216/1.786, allocations: 9.174 MB / 1.546 GB, free: 7.57 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02606/1.812, allocations: 9.875 MB / 1.556 GB, free: 13.7 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01462/1.827, allocations: 6.878 MB / 1.563 GB, free: 6.789 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.004706/1.832, allocations: 1.066 MB / 1.564 GB, free: 5.723 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01512/1.847, allocations: 3.48 MB / 1.567 GB, free: 2.238 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.006816/1.854, allocations: 2.733 MB / 1.57 GB, free: 15.5 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.01477/1.868, allocations: 5.539 MB / 1.575 GB, free: 9.934 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.03388/1.902, allocations: 18.48 MB / 1.593 GB, free: 7.395 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.902, allocations: 0 / 1.593 GB, free: 7.395 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.174e-06/1.902, allocations: 0 / 1.593 GB, free: 7.395 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0006472/1.903, allocations: 0 / 1.593 GB, free: 7.395 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.03429/1.937, allocations: 10.64 MB / 1.604 GB, free: 12.64 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/1.937, allocations: 12.02 kB / 1.604 GB, free: 12.62 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009961/1.947, allocations: 1.466 MB / 1.605 GB, free: 11.15 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02714/1.974, allocations: 11.01 MB / 1.616 GB, free: 68 kB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009894/1.975, allocations: 478.1 kB / 1.616 GB, free: 15.59 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003423/1.979, allocations: 0.5192 MB / 1.617 GB, free: 15.07 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02211/2.001, allocations: 7.327 MB / 1.624 GB, free: 7.57 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002304/2.001, allocations: 19.88 kB / 1.624 GB, free: 7.551 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001722/2.003, allocations: 212 kB / 1.624 GB, free: 7.344 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002406/2.003, allocations: 197.4 kB / 1.624 GB, free: 7.148 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/2.019, allocations: 6.349 MB / 1.631 GB, free: 0.7852 MB / 1.311 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.06032/2.079, allocations: 34.05 MB / 1.664 GB, free: 12.69 MB / 1.357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005318/2.085, allocations: 2.334 MB / 1.666 GB, free: 10.36 MB / 1.357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003737/2.088, allocations: 1.732 MB / 1.668 GB, free: 8.625 MB / 1.357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001767/2.09, allocations: 2.035 MB / 1.67 GB, free: 6.145 MB / 1.357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005151/2.095, allocations: 1.838 MB / 1.672 GB, free: 4.297 MB / 1.357 GB Notification: Performance of pre-optimization done (n=220): time 8.086e-06/2.095, allocations: 7.984 kB / 1.672 GB, free: 4.289 MB / 1.357 GB Notification: Performance of matching and sorting (n=220): time 0.01413/2.11, allocations: 4.986 MB / 1.676 GB, free: 15.29 MB / 1.373 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/2.11, allocations: 77.41 kB / 1.676 GB, free: 15.2 MB / 1.373 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02283/2.132, allocations: 9.211 MB / 1.685 GB, free: 6.012 MB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 0.001232/2.134, allocations: 89.7 kB / 1.686 GB, free: 5.918 MB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.006797/2.14, allocations: 3.841 MB / 1.689 GB, free: 2.066 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.001751/2.142, allocations: 0.8096 MB / 1.69 GB, free: 1.25 MB / 1.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003034/2.145, allocations: 0.8043 MB / 1.691 GB, free: 448 kB / 1.373 GB Notification: Performance of setup shared object (initialization): time 0.0001317/2.145, allocations: 301.1 kB / 1.691 GB, free: 144 kB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003954/2.149, allocations: 1.689 MB / 1.693 GB, free: 14.45 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005389/2.155, allocations: 3.307 MB / 1.696 GB, free: 10.51 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008264/2.163, allocations: 4.401 MB / 1.7 GB, free: 5.652 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.215e-05/2.163, allocations: 8 kB / 1.7 GB, free: 5.645 MB / 1.389 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01431/2.177, allocations: 5.207 MB / 1.705 GB, free: 396 kB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/2.177, allocations: 16 kB / 1.705 GB, free: 380 kB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.418e-05/2.177, allocations: 32 kB / 1.705 GB, free: 348 kB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-05/2.178, allocations: 48 kB / 1.706 GB, free: 300 kB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003863/2.181, allocations: 0.8503 MB / 1.706 GB, free: 15.44 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001187/2.181, allocations: 71.72 kB / 1.706 GB, free: 15.37 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008523/2.19, allocations: 0.6377 MB / 1.707 GB, free: 14.73 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007428/2.191, allocations: 160 kB / 1.707 GB, free: 14.57 MB / 1.404 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 (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.007789/2.199, allocations: 3.066 MB / 1.71 GB, free: 11.5 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004341/2.203, allocations: 0.7724 MB / 1.711 GB, free: 10.72 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/2.215, allocations: 4.145 MB / 1.715 GB, free: 6.566 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.791e-05/2.215, allocations: 20 kB / 1.715 GB, free: 6.547 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/2.215, allocations: 3.984 kB / 1.715 GB, free: 6.543 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006812/2.222, allocations: 3.239 MB / 1.718 GB, free: 3.254 MB / 1.404 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.03144/2.254, allocations: 11.28 MB / 1.729 GB, free: 7.824 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/2.254, allocations: 0 / 1.729 GB, free: 7.824 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003021/2.257, allocations: 0.5425 MB / 1.73 GB, free: 7.281 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.877e-05/2.257, allocations: 8 kB / 1.73 GB, free: 7.273 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005139/2.257, allocations: 91.94 kB / 1.73 GB, free: 7.184 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.572e-05/2.257, allocations: 19.88 kB / 1.73 GB, free: 7.164 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/2.257, allocations: 0 / 1.73 GB, free: 7.164 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/2.272, allocations: 6.151 MB / 1.736 GB, free: 0.957 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005395/2.277, allocations: 1.476 MB / 1.737 GB, free: 15.45 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004283/2.281, allocations: 63.97 kB / 1.737 GB, free: 15.39 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007683/2.289, allocations: 251.6 kB / 1.738 GB, free: 15.14 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006614/2.29, allocations: 153.5 kB / 1.738 GB, free: 15 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006507/2.29, allocations: 107.9 kB / 1.738 GB, free: 14.89 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.01809/2.308, allocations: 6.561 MB / 1.744 GB, free: 8.355 MB / 1.436 GB Notification: Performance of sort global known variables: time 2.71e-07/2.308, allocations: 0 / 1.744 GB, free: 8.355 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.01066/2.319, allocations: 2.105 MB / 1.746 GB, free: 6.246 MB / 1.436 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.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 (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.003348/2.322, allocations: 1.121 MB / 1.747 GB, free: 5.141 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.01003/2.332, allocations: 3.742 MB / 1.751 GB, free: 1.402 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 2.287e-05/2.332, allocations: 4.438 kB / 1.751 GB, free: 1.398 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.004778/2.337, allocations: 1.585 MB / 1.753 GB, free: 15.81 MB / 1.451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02744/2.365, allocations: 4.562 MB / 1.757 GB, free: 11.41 MB / 1.451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04031/2.405, allocations: 16.4 MB / 1.773 GB, free: 10.95 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01052/2.416, allocations: 5.526 MB / 1.778 GB, free: 5.395 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.01011/2.426, allocations: 2.15 MB / 1.781 GB, free: 3.273 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002781/2.428, allocations: 0.5344 MB / 1.781 GB, free: 2.738 MB / 1.467 GB Notification: Performance of SimCode: time 1.333e-06/2.428, allocations: 0 / 1.781 GB, free: 2.738 MB / 1.467 GB Notification: Performance of Templates: time 1.823/4.252, allocations: 156.6 MB / 1.934 GB, free: 438.3 MB / 1.498 GB make -j1 -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches