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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=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_latest_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_latest_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.00128/0.00128, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01201/0.01201, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.523/1.523, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.908/2.908, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 10.66 kB / 0.9028 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3727, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 1.02/1.392, allocations: 231.5 MB / 1.285 GB, free: 44.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06813/1.461, allocations: 42.96 MB / 1.327 GB, free: 43.76 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01292/1.474, allocations: 204.7 kB / 1.327 GB, free: 43.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01126/1.485, allocations: 2.606 MB / 1.329 GB, free: 43.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02768/1.513, allocations: 7.216 MB / 1.337 GB, free: 42.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01623/1.529, allocations: 5.307 MB / 1.342 GB, free: 42.1 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.05117/1.58, allocations: 33.27 MB / 1.374 GB, free: 27.54 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01694/1.597, allocations: 8.855 MB / 1.383 GB, free: 23.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01956/1.617, allocations: 7.161 MB / 1.39 GB, free: 18.05 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01403/1.631, allocations: 6.268 MB / 1.396 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003151/1.634, allocations: 320 kB / 1.396 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01223/1.646, allocations: 2.481 MB / 1.399 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0041/1.65, allocations: 1.765 MB / 1.4 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01165/1.662, allocations: 4.573 MB / 1.405 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02766/1.69, allocations: 17.33 MB / 1.422 GB, free: 2.539 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/1.69, allocations: 0 / 1.422 GB, free: 2.539 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.955e-06/1.69, allocations: 0 / 1.422 GB, free: 2.539 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0006536/1.691, allocations: 4 kB / 1.422 GB, free: 2.535 MB / 1.014 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.02635/1.717, allocations: 8.256 MB / 1.43 GB, free: 10.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/1.717, allocations: 8.031 kB / 1.43 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008736/1.726, allocations: 1.379 MB / 1.431 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02393/1.75, allocations: 11.13 MB / 1.442 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006443/1.75, allocations: 466.1 kB / 1.443 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002201/1.753, allocations: 0.5183 MB / 1.443 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01926/1.772, allocations: 7.298 MB / 1.45 GB, free: 5.461 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/1.772, allocations: 15.78 kB / 1.45 GB, free: 5.445 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007458/1.773, allocations: 207.9 kB / 1.45 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002201/1.773, allocations: 197.4 kB / 1.451 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/1.789, allocations: 6.295 MB / 1.457 GB, free: 14.74 MB / 1.061 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.05962/1.848, allocations: 34.42 MB / 1.49 GB, free: 10.32 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005221/1.854, allocations: 2.426 MB / 1.493 GB, free: 7.902 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003558/1.857, allocations: 1.783 MB / 1.494 GB, free: 6.117 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001881/1.859, allocations: 2.046 MB / 1.496 GB, free: 3.645 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003919/1.863, allocations: 1.823 MB / 1.498 GB, free: 1.809 MB / 1.092 GB Notification: Performance of pre-optimization done (n=220): time 6.833e-06/1.863, allocations: 3.984 kB / 1.498 GB, free: 1.805 MB / 1.092 GB Notification: Performance of matching and sorting (n=220): time 0.01228/1.875, allocations: 4.925 MB / 1.503 GB, free: 12.88 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.337e-05/1.876, allocations: 81.41 kB / 1.503 GB, free: 12.79 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02008/1.896, allocations: 8.934 MB / 1.512 GB, free: 3.871 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.001172/1.897, allocations: 93.7 kB / 1.512 GB, free: 3.773 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.006036/1.903, allocations: 3.801 MB / 1.516 GB, free: 15.97 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001659/1.905, allocations: 0.7751 MB / 1.516 GB, free: 15.2 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005761/1.905, allocations: 284.5 kB / 1.517 GB, free: 14.92 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.905, allocations: 313 kB / 1.517 GB, free: 14.61 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003648/1.909, allocations: 1.669 MB / 1.519 GB, free: 12.94 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005417/1.914, allocations: 3.288 MB / 1.522 GB, free: 9.02 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008986/1.924, allocations: 4.385 MB / 1.526 GB, free: 4.172 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.246e-05/1.924, allocations: 8 kB / 1.526 GB, free: 4.164 MB / 1.123 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01378/1.937, allocations: 5.133 MB / 1.531 GB, free: 14.98 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/1.938, allocations: 21.94 kB / 1.531 GB, free: 14.96 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.76e-05/1.938, allocations: 32 kB / 1.531 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-05/1.938, allocations: 48 kB / 1.531 GB, free: 14.88 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/1.941, allocations: 0.8464 MB / 1.532 GB, free: 14.03 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.767e-05/1.941, allocations: 71.72 kB / 1.532 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008994/1.95, allocations: 0.8829 MB / 1.533 GB, free: 13.08 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000732/1.951, allocations: 167.9 kB / 1.533 GB, free: 12.92 MB / 1.139 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.007568/1.959, allocations: 3.066 MB / 1.536 GB, free: 9.84 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002942/1.962, allocations: 0.7292 MB / 1.537 GB, free: 9.102 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00985/1.971, allocations: 4.128 MB / 1.541 GB, free: 4.973 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-05/1.971, allocations: 27.98 kB / 1.541 GB, free: 4.945 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.972, allocations: 0 / 1.541 GB, free: 4.945 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006059/1.978, allocations: 3.22 MB / 1.544 GB, free: 1.676 MB / 1.139 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.02932/2.007, allocations: 10.92 MB / 1.555 GB, free: 6.676 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/2.007, allocations: 4 kB / 1.555 GB, free: 6.672 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002597/2.01, allocations: 0.5346 MB / 1.555 GB, free: 6.137 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-05/2.01, allocations: 8 kB / 1.555 GB, free: 6.129 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002258/2.01, allocations: 83.92 kB / 1.555 GB, free: 6.047 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.22e-05/2.01, allocations: 15.94 kB / 1.555 GB, free: 6.031 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/2.01, allocations: 0 / 1.555 GB, free: 6.031 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/2.024, allocations: 6.077 MB / 1.561 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00667/2.031, allocations: 1.538 MB / 1.563 GB, free: 14.33 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003106/2.034, allocations: 63.97 kB / 1.563 GB, free: 14.27 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007456/2.041, allocations: 491.3 kB / 1.563 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005342/2.042, allocations: 149.7 kB / 1.563 GB, free: 13.64 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005752/2.042, allocations: 115.9 kB / 1.564 GB, free: 13.53 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.01719/2.06, allocations: 6.354 MB / 1.57 GB, free: 7.203 MB / 1.17 GB Notification: Performance of sort global known variables: time 6.61e-07/2.06, allocations: 0 / 1.57 GB, free: 7.203 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.01054/2.07, allocations: 2.019 MB / 1.572 GB, free: 5.18 MB / 1.17 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.002975/2.073, allocations: 1.09 MB / 1.573 GB, free: 4.18 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.009161/2.082, allocations: 3.836 MB / 1.577 GB, free: 356 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/2.082, allocations: 0 / 1.577 GB, free: 356 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003618/2.086, allocations: 1.685 MB / 1.578 GB, free: 14.66 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03196/2.118, allocations: 4.569 MB / 1.583 GB, free: 10.18 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04186/2.16, allocations: 19.06 MB / 1.601 GB, free: 7.098 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009276/2.169, allocations: 5.522 MB / 1.607 GB, free: 1.551 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.01085/2.18, allocations: 2.138 MB / 1.609 GB, free: 15.44 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002616/2.183, allocations: 0.5305 MB / 1.609 GB, free: 14.91 MB / 1.217 GB Notification: Performance of SimCode: time 1.122e-06/2.183, allocations: 0 / 1.609 GB, free: 14.91 MB / 1.217 GB Notification: Performance of Templates: time 1.595/3.778, allocations: 154.2 MB / 1.76 GB, free: 496.6 MB / 1.342 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches