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.001555/0.001555, allocations: 105.7 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.00181/0.00181, allocations: 189.8 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.395/1.395, 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.45/2.45, allocations: 437 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001556, allocations: 64.73 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2989, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.777/1.076, allocations: 236.5 MB / 1.249 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.06427/1.14, allocations: 43.38 MB / 1.291 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01044/1.151, allocations: 234.6 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01011/1.161, allocations: 3.191 MB / 1.295 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.02447/1.185, allocations: 7.753 MB / 1.302 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01437/1.2, allocations: 5.673 MB / 1.308 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03626/1.236, allocations: 26.65 MB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02005/1.256, allocations: 11.51 MB / 1.345 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02236/1.279, allocations: 9.547 MB / 1.354 GB, free: 3.945 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01304/1.292, allocations: 6.878 MB / 1.361 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.004161/1.296, allocations: 1.066 MB / 1.362 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01209/1.308, allocations: 3.464 MB / 1.365 GB, free: 8.504 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.005131/1.313, allocations: 2.644 MB / 1.368 GB, free: 5.852 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01237/1.326, allocations: 5.543 MB / 1.373 GB, free: 292 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.02602/1.352, allocations: 18.81 MB / 1.392 GB, free: 13.43 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/1.352, allocations: 0 / 1.392 GB, free: 13.43 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.576e-06/1.352, allocations: 4 kB / 1.392 GB, free: 13.42 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0005328/1.352, allocations: 0 / 1.392 GB, free: 13.42 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.02859/1.381, allocations: 10.37 MB / 1.402 GB, free: 2.945 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/1.381, allocations: 8.922 kB / 1.402 GB, free: 2.938 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00861/1.39, allocations: 1.363 MB / 1.403 GB, free: 1.562 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02234/1.412, allocations: 10.6 MB / 1.414 GB, free: 6.887 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006685/1.413, allocations: 478.1 kB / 1.414 GB, free: 6.402 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002297/1.415, allocations: 0.5155 MB / 1.415 GB, free: 5.887 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02012/1.435, allocations: 7.268 MB / 1.422 GB, free: 14.45 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002643/1.435, allocations: 19.78 kB / 1.422 GB, free: 14.43 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001743/1.437, allocations: 208 kB / 1.422 GB, free: 14.22 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000234/1.437, allocations: 197.3 kB / 1.422 GB, free: 14.03 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/1.454, allocations: 6.255 MB / 1.428 GB, free: 7.758 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.0564/1.511, allocations: 34.16 MB / 1.462 GB, free: 3.555 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005824/1.516, allocations: 2.384 MB / 1.464 GB, free: 1.164 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003733/1.52, allocations: 1.779 MB / 1.466 GB, free: 15.38 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001828/1.522, allocations: 2.035 MB / 1.468 GB, free: 12.9 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004326/1.526, allocations: 1.807 MB / 1.469 GB, free: 11.08 MB / 1.17 GB Notification: Performance of pre-optimization done (n=220): time 6.883e-06/1.527, allocations: 0 / 1.469 GB, free: 11.08 MB / 1.17 GB Notification: Performance of matching and sorting (n=220): time 0.01277/1.539, allocations: 4.864 MB / 1.474 GB, free: 6.207 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/1.539, allocations: 77.41 kB / 1.474 GB, free: 6.121 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02077/1.56, allocations: 9.223 MB / 1.483 GB, free: 12.91 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0009089/1.561, allocations: 85.7 kB / 1.483 GB, free: 12.82 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.005796/1.567, allocations: 3.815 MB / 1.487 GB, free: 8.988 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001488/1.569, allocations: 0.7744 MB / 1.488 GB, free: 8.203 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002614/1.571, allocations: 0.7922 MB / 1.489 GB, free: 7.402 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 9.605e-05/1.571, allocations: 301.1 kB / 1.489 GB, free: 7.105 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00374/1.575, allocations: 1.662 MB / 1.49 GB, free: 5.441 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005293/1.58, allocations: 3.276 MB / 1.494 GB, free: 1.531 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00818/1.589, allocations: 4.358 MB / 1.498 GB, free: 12.71 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.233e-05/1.589, allocations: 12 kB / 1.498 GB, free: 12.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01347/1.602, allocations: 5.109 MB / 1.503 GB, free: 7.535 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.933e-05/1.602, allocations: 16 kB / 1.503 GB, free: 7.52 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.088e-05/1.602, allocations: 35.94 kB / 1.503 GB, free: 7.484 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.413e-05/1.602, allocations: 52.06 kB / 1.503 GB, free: 7.434 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003686/1.606, allocations: 0.8385 MB / 1.504 GB, free: 6.594 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.16e-05/1.606, allocations: 67.78 kB / 1.504 GB, free: 6.527 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007025/1.613, allocations: 0.6286 MB / 1.505 GB, free: 5.895 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007571/1.614, allocations: 164 kB / 1.505 GB, free: 5.734 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.006189/1.62, allocations: 3.059 MB / 1.508 GB, free: 2.664 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002957/1.623, allocations: 0.7331 MB / 1.508 GB, free: 1.922 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/1.634, allocations: 4.09 MB / 1.512 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.142e-05/1.635, allocations: 27.98 kB / 1.512 GB, free: 13.81 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/1.635, allocations: 0 / 1.512 GB, free: 13.81 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007046/1.642, allocations: 3.184 MB / 1.516 GB, free: 10.58 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.03048/1.672, allocations: 11.24 MB / 1.526 GB, free: 15.19 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/1.672, allocations: 4 kB / 1.526 GB, free: 15.18 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002881/1.675, allocations: 0.5306 MB / 1.527 GB, free: 14.65 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.679e-05/1.675, allocations: 8 kB / 1.527 GB, free: 14.64 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004705/1.676, allocations: 95.92 kB / 1.527 GB, free: 14.55 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.112e-05/1.676, allocations: 8 kB / 1.527 GB, free: 14.54 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.676, allocations: 4 kB / 1.527 GB, free: 14.54 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/1.689, allocations: 6.023 MB / 1.533 GB, free: 8.449 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004497/1.694, allocations: 1.433 MB / 1.534 GB, free: 6.988 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002616/1.696, allocations: 67.97 kB / 1.534 GB, free: 6.922 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005568/1.702, allocations: 251.5 kB / 1.535 GB, free: 6.676 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006038/1.703, allocations: 149.7 kB / 1.535 GB, free: 6.531 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005845/1.703, allocations: 111.9 kB / 1.535 GB, free: 6.422 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.9758/2.679, allocations: 6.558 MB / 1.541 GB, free: 422.9 MB / 1.233 GB Notification: Performance of sort global known variables: time 1.052e-06/2.679, allocations: 0 / 1.541 GB, free: 422.9 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.009592/2.689, allocations: 2.082 MB / 1.543 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.002888/2.692, allocations: 1.128 MB / 1.544 GB, free: 422.8 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.01653/2.708, allocations: 6.07 MB / 1.55 GB, free: 422.2 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/2.708, allocations: 2.562 kB / 1.55 GB, free: 422.2 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.004213/2.712, allocations: 1.744 MB / 1.552 GB, free: 421.6 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02544/2.738, allocations: 4.579 MB / 1.557 GB, free: 420.6 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03953/2.778, allocations: 15.97 MB / 1.572 GB, free: 413.6 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0104/2.788, allocations: 5.28 MB / 1.577 GB, free: 411.6 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003239/2.791, allocations: 0.564 MB / 1.578 GB, free: 411.6 MB / 1.233 GB Notification: Performance of SimCode: time 1.172e-06/2.791, allocations: 0 / 1.578 GB, free: 411.6 MB / 1.233 GB Notification: Performance of Templates: time 0.1939/2.985, allocations: 151.2 MB / 1.726 GB, free: 286.6 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=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/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