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.00197/0.00197, allocations: 109.5 kB / 16.27 MB, free: 6.414 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.002049/0.002049, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.552/1.552, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.515/2.515, allocations: 437.1 MB / 0.7111 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 68.42 kB / 0.8699 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.328, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.7683/1.096, allocations: 236.5 MB / 1.249 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.06644/1.163, allocations: 43.38 MB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009546/1.172, allocations: 238.6 kB / 1.292 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01099/1.183, allocations: 3.191 MB / 1.295 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.02393/1.207, allocations: 7.752 MB / 1.302 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01444/1.222, allocations: 5.673 MB / 1.308 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03933/1.261, allocations: 26.65 MB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01836/1.28, allocations: 11.51 MB / 1.345 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02233/1.302, allocations: 9.545 MB / 1.354 GB, free: 3.867 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01339/1.315, allocations: 6.882 MB / 1.361 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.004101/1.32, allocations: 1.07 MB / 1.362 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01263/1.332, allocations: 3.472 MB / 1.365 GB, free: 8.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.005847/1.338, allocations: 2.641 MB / 1.368 GB, free: 5.762 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01358/1.352, allocations: 5.539 MB / 1.373 GB, free: 204 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.03132/1.383, allocations: 18.81 MB / 1.392 GB, free: 13.34 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/1.383, allocations: 0 / 1.392 GB, free: 13.34 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.228e-06/1.383, allocations: 0 / 1.392 GB, free: 13.34 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0005558/1.384, allocations: 3.938 kB / 1.392 GB, free: 13.33 MB / 1.092 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.03231/1.416, allocations: 10.38 MB / 1.402 GB, free: 2.852 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/1.416, allocations: 12.92 kB / 1.402 GB, free: 2.84 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009087/1.425, allocations: 1.414 MB / 1.403 GB, free: 1.414 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02476/1.45, allocations: 10.62 MB / 1.414 GB, free: 6.719 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007284/1.451, allocations: 466.1 kB / 1.414 GB, free: 6.246 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002386/1.453, allocations: 0.5271 MB / 1.415 GB, free: 5.719 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01969/1.473, allocations: 7.323 MB / 1.422 GB, free: 14.22 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/1.473, allocations: 15.84 kB / 1.422 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006206/1.474, allocations: 204 kB / 1.422 GB, free: 14.01 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002088/1.474, allocations: 197.4 kB / 1.422 GB, free: 13.81 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/1.49, allocations: 6.349 MB / 1.428 GB, free: 7.449 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 preOpt removeSimpleEquations (simulation): time 0.05955/1.549, allocations: 34.29 MB / 1.462 GB, free: 3.113 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005612/1.555, allocations: 2.45 MB / 1.464 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003905/1.559, allocations: 1.803 MB / 1.466 GB, free: 14.84 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002189/1.561, allocations: 2.032 MB / 1.468 GB, free: 12.38 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004218/1.565, allocations: 1.835 MB / 1.47 GB, free: 10.53 MB / 1.17 GB Notification: Performance of pre-optimization done (n=220): time 5.741e-06/1.565, allocations: 0 / 1.47 GB, free: 10.53 MB / 1.17 GB Notification: Performance of matching and sorting (n=220): time 0.01286/1.578, allocations: 4.946 MB / 1.475 GB, free: 5.57 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/1.578, allocations: 81.39 kB / 1.475 GB, free: 5.48 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02042/1.599, allocations: 9.219 MB / 1.484 GB, free: 12.28 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0009664/1.6, allocations: 89.7 kB / 1.484 GB, free: 12.18 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.005747/1.605, allocations: 3.808 MB / 1.488 GB, free: 8.359 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/1.607, allocations: 0.7665 MB / 1.488 GB, free: 7.582 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001545/1.609, allocations: 0.7999 MB / 1.489 GB, free: 6.773 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.609, allocations: 301.1 kB / 1.489 GB, free: 6.477 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003618/1.612, allocations: 1.693 MB / 1.491 GB, free: 4.781 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005421/1.618, allocations: 3.303 MB / 1.494 GB, free: 0.8398 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008444/1.626, allocations: 4.405 MB / 1.499 GB, free: 11.98 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.403e-05/1.626, allocations: 8 kB / 1.499 GB, free: 11.97 MB / 1.201 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01338/1.64, allocations: 5.164 MB / 1.504 GB, free: 6.75 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/1.64, allocations: 16 kB / 1.504 GB, free: 6.734 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.231e-05/1.64, allocations: 32.09 kB / 1.504 GB, free: 6.703 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.533e-05/1.64, allocations: 55.98 kB / 1.504 GB, free: 6.648 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/1.644, allocations: 0.8464 MB / 1.505 GB, free: 5.801 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.82e-05/1.644, allocations: 71.72 kB / 1.505 GB, free: 5.73 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006841/1.651, allocations: 0.6247 MB / 1.505 GB, free: 5.102 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006242/1.651, allocations: 164 kB / 1.505 GB, free: 4.941 MB / 1.201 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.006271/1.658, allocations: 3.065 MB / 1.508 GB, free: 1.867 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002988/1.661, allocations: 0.7292 MB / 1.509 GB, free: 1.129 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/1.672, allocations: 4.152 MB / 1.513 GB, free: 12.98 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.728e-05/1.672, allocations: 23.98 kB / 1.513 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.672, allocations: 3.938 kB / 1.513 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007303/1.679, allocations: 3.243 MB / 1.516 GB, free: 9.66 MB / 1.217 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.02992/1.709, allocations: 11.32 MB / 1.527 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/1.709, allocations: 0 / 1.527 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002924/1.712, allocations: 0.5425 MB / 1.528 GB, free: 13.65 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-05/1.712, allocations: 8 kB / 1.528 GB, free: 13.64 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004322/1.713, allocations: 79.94 kB / 1.528 GB, free: 13.57 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.616e-05/1.713, allocations: 15.94 kB / 1.528 GB, free: 13.55 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.713, allocations: 0 / 1.528 GB, free: 13.55 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/1.727, allocations: 6.113 MB / 1.534 GB, free: 7.375 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004903/1.732, allocations: 1.44 MB / 1.535 GB, free: 5.906 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002594/1.735, allocations: 59.98 kB / 1.535 GB, free: 5.848 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005579/1.74, allocations: 263.5 kB / 1.536 GB, free: 5.59 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006024/1.741, allocations: 149.7 kB / 1.536 GB, free: 5.445 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005792/1.742, allocations: 111.9 kB / 1.536 GB, free: 5.336 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.958/2.7, allocations: 6.558 MB / 1.542 GB, free: 422.9 MB / 1.233 GB Notification: Performance of sort global known variables: time 5.81e-07/2.7, allocations: 0 / 1.542 GB, free: 422.9 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.009138/2.709, allocations: 2.082 MB / 1.544 GB, free: 422.9 MB / 1.233 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.00281/2.712, allocations: 1.144 MB / 1.546 GB, free: 422.8 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.01622/2.728, allocations: 6.12 MB / 1.552 GB, free: 422 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/2.728, allocations: 6.312 kB / 1.552 GB, free: 422 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.004924/2.733, allocations: 1.766 MB / 1.553 GB, free: 421.4 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02411/2.757, allocations: 4.57 MB / 1.558 GB, free: 420.4 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03451/2.792, allocations: 15.99 MB / 1.573 GB, free: 413.4 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009254/2.801, allocations: 5.279 MB / 1.578 GB, free: 411.4 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00283/2.804, allocations: 0.5663 MB / 1.579 GB, free: 411.4 MB / 1.233 GB Notification: Performance of SimCode: time 1.422e-06/2.804, allocations: 0 / 1.579 GB, free: 411.4 MB / 1.233 GB Notification: Performance of Templates: time 0.1877/2.992, allocations: 151.4 MB / 1.727 GB, free: 285.3 MB / 1.233 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=400 -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/jenkins1/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