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.001742/0.001742, 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.001975/0.001975, allocations: 198.3 kB / 16.54 MB, free: 6.664 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.678/2.678, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 0.8693 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.5861, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2557/0.8419, allocations: 236.5 MB / 1.248 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6024/1.444, allocations: 43.37 MB / 1.291 GB, free: 56.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01079/1.455, allocations: 234.8 kB / 1.291 GB, free: 56.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01005/1.465, allocations: 3.194 MB / 1.294 GB, free: 56.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02387/1.489, allocations: 7.748 MB / 1.302 GB, free: 55.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01436/1.504, allocations: 5.682 MB / 1.307 GB, free: 55.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03707/1.541, allocations: 26.66 MB / 1.333 GB, free: 49.55 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01645/1.557, allocations: 11.5 MB / 1.344 GB, free: 44.71 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0208/1.578, allocations: 9.549 MB / 1.354 GB, free: 40.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01384/1.592, allocations: 6.878 MB / 1.36 GB, free: 37.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004519/1.596, allocations: 1.07 MB / 1.361 GB, free: 37.31 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0205/1.617, allocations: 3.473 MB / 1.365 GB, free: 34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004591/1.622, allocations: 2.642 MB / 1.367 GB, free: 31.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009895/1.632, allocations: 5.547 MB / 1.373 GB, free: 25.9 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02081/1.652, allocations: 18.81 MB / 1.391 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.652, allocations: 0 / 1.391 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.22e-07/1.652, allocations: 0 / 1.391 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004065/1.653, allocations: 0 / 1.391 GB, free: 7.508 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.0256/1.678, allocations: 10.37 MB / 1.401 GB, free: 13.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.678, allocations: 23.95 kB / 1.401 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009686/1.688, allocations: 1.41 MB / 1.403 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02334/1.712, allocations: 10.61 MB / 1.413 GB, free: 1.203 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000608/1.712, allocations: 468.7 kB / 1.414 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002063/1.714, allocations: 0.5253 MB / 1.414 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01782/1.732, allocations: 7.319 MB / 1.421 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/1.732, allocations: 11.84 kB / 1.421 GB, free: 8.715 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000691/1.733, allocations: 207.5 kB / 1.421 GB, free: 8.516 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002153/1.733, allocations: 197.4 kB / 1.422 GB, free: 8.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01557/1.749, allocations: 6.345 MB / 1.428 GB, free: 1.961 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.05521/1.804, allocations: 34.3 MB / 1.461 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005625/1.81, allocations: 2.45 MB / 1.464 GB, free: 11.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003815/1.814, allocations: 1.799 MB / 1.465 GB, free: 9.688 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002537/1.816, allocations: 2.034 MB / 1.467 GB, free: 7.227 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006314/1.822, allocations: 1.835 MB / 1.469 GB, free: 5.379 MB / 1.076 GB Notification: Performance of pre-optimization done (n=220): time 9.027e-06/1.822, allocations: 0 / 1.469 GB, free: 5.379 MB / 1.076 GB Notification: Performance of matching and sorting (n=220): time 0.01368/1.836, allocations: 4.946 MB / 1.474 GB, free: 432 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/1.836, allocations: 81.34 kB / 1.474 GB, free: 340 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01814/1.854, allocations: 9.219 MB / 1.483 GB, free: 7.137 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0008693/1.855, allocations: 89.7 kB / 1.483 GB, free: 7.043 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.005417/1.861, allocations: 3.807 MB / 1.487 GB, free: 3.234 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001425/1.862, allocations: 0.7718 MB / 1.488 GB, free: 2.473 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001451/1.864, allocations: 0.7961 MB / 1.488 GB, free: 1.668 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.864, allocations: 305.1 kB / 1.489 GB, free: 1.367 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003677/1.867, allocations: 1.69 MB / 1.49 GB, free: 15.68 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005445/1.873, allocations: 3.306 MB / 1.494 GB, free: 11.74 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008353/1.881, allocations: 4.4 MB / 1.498 GB, free: 6.891 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-05/1.881, allocations: 11.94 kB / 1.498 GB, free: 6.879 MB / 1.107 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01334/1.895, allocations: 5.167 MB / 1.503 GB, free: 1.656 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/1.895, allocations: 20.98 kB / 1.503 GB, free: 1.637 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-05/1.895, allocations: 32 kB / 1.503 GB, free: 1.605 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.574e-05/1.895, allocations: 52 kB / 1.503 GB, free: 1.555 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004019/1.899, allocations: 0.8464 MB / 1.504 GB, free: 0.707 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.712e-05/1.899, allocations: 71.78 kB / 1.504 GB, free: 0.6367 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007036/1.906, allocations: 0.6248 MB / 1.505 GB, free: 8 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006088/1.907, allocations: 163.9 kB / 1.505 GB, free: 15.85 MB / 1.123 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.006261/1.913, allocations: 3.074 MB / 1.508 GB, free: 12.76 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002687/1.916, allocations: 0.7292 MB / 1.508 GB, free: 12.02 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.926, allocations: 4.149 MB / 1.512 GB, free: 7.879 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-05/1.926, allocations: 20 kB / 1.513 GB, free: 7.859 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/1.926, allocations: 0 / 1.513 GB, free: 7.859 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006834/1.933, allocations: 3.236 MB / 1.516 GB, free: 4.574 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.02431/1.958, allocations: 11.32 MB / 1.527 GB, free: 9.172 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.958, allocations: 0 / 1.527 GB, free: 9.172 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002813/1.96, allocations: 0.5425 MB / 1.527 GB, free: 8.629 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.101e-05/1.96, allocations: 8 kB / 1.527 GB, free: 8.621 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002617/1.961, allocations: 79.94 kB / 1.527 GB, free: 8.543 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.599e-05/1.961, allocations: 16 kB / 1.527 GB, free: 8.527 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.961, allocations: 3.938 kB / 1.527 GB, free: 8.523 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/1.975, allocations: 6.113 MB / 1.533 GB, free: 2.352 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004805/1.98, allocations: 1.44 MB / 1.535 GB, free: 0.8828 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002113/1.982, allocations: 59.98 kB / 1.535 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005192/1.987, allocations: 255.5 kB / 1.535 GB, free: 0.5742 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/1.988, allocations: 161.6 kB / 1.535 GB, free: 428 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003411/1.988, allocations: 115.9 kB / 1.535 GB, free: 312 kB / 1.139 GB Notification: Performance of sorting global known variables: time 0.01412/2.002, allocations: 6.557 MB / 1.542 GB, free: 9.773 MB / 1.154 GB Notification: Performance of sort global known variables: time 5.51e-07/2.002, allocations: 0 / 1.542 GB, free: 9.773 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.008874/2.011, allocations: 2.082 MB / 1.544 GB, free: 7.688 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.002626/2.014, allocations: 1.139 MB / 1.545 GB, free: 6.656 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0159/2.03, allocations: 6.123 MB / 1.551 GB, free: 0.5352 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/2.03, allocations: 4 kB / 1.551 GB, free: 0.5312 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.004079/2.034, allocations: 1.704 MB / 1.552 GB, free: 14.83 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02356/2.057, allocations: 4.572 MB / 1.557 GB, free: 10.46 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03401/2.091, allocations: 16.34 MB / 1.573 GB, free: 10.11 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007837/2.099, allocations: 5.516 MB / 1.578 GB, free: 4.566 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.008562/2.108, allocations: 2.136 MB / 1.58 GB, free: 2.465 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002056/2.11, allocations: 0.5266 MB / 1.581 GB, free: 1.938 MB / 1.186 GB Notification: Performance of SimCode: time 8.51e-07/2.11, allocations: 4 kB / 1.581 GB, free: 1.934 MB / 1.186 GB Notification: Performance of Templates: time 0.2849/2.395, allocations: 162.8 MB / 1.74 GB, free: 0.6445 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=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/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