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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001411/0.001412, 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.001641/0.001641, allocations: 194.3 kB / 16.53 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 63.2 kB / 0.9121 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3708, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.9616/1.333, allocations: 236.4 MB / 1.299 GB, free: 46.65 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06509/1.398, allocations: 43.33 MB / 1.341 GB, free: 42.54 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01377/1.411, allocations: 233.8 kB / 1.342 GB, free: 42.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01189/1.423, allocations: 3.19 MB / 1.345 GB, free: 41.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0321/1.456, allocations: 7.758 MB / 1.352 GB, free: 37.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01791/1.474, allocations: 5.676 MB / 1.358 GB, free: 34.9 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04371/1.517, allocations: 26.65 MB / 1.384 GB, free: 20.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02236/1.54, allocations: 11.5 MB / 1.395 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03371/1.574, allocations: 9.545 MB / 1.404 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01805/1.592, allocations: 6.881 MB / 1.411 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00599/1.598, allocations: 1.066 MB / 1.412 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01762/1.615, allocations: 3.463 MB / 1.416 GB, free: 10.22 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00664/1.622, allocations: 2.642 MB / 1.418 GB, free: 7.625 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01655/1.639, allocations: 5.541 MB / 1.424 GB, free: 2.113 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.03738/1.676, allocations: 18.25 MB / 1.441 GB, free: 300 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/1.676, allocations: 0 / 1.441 GB, free: 300 kB / 1.029 GB Notification: Performance of FrontEnd: time 3.546e-06/1.676, allocations: 0 / 1.441 GB, free: 300 kB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0007645/1.677, allocations: 4 kB / 1.441 GB, free: 296 kB / 1.029 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.04027/1.717, allocations: 10.36 MB / 1.451 GB, free: 5.93 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/1.717, allocations: 12.03 kB / 1.451 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009945/1.727, allocations: 1.359 MB / 1.453 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02847/1.756, allocations: 10.57 MB / 1.463 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007958/1.757, allocations: 468.4 kB / 1.464 GB, free: 9.625 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003059/1.76, allocations: 0.5231 MB / 1.464 GB, free: 9.105 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02567/1.785, allocations: 7.281 MB / 1.471 GB, free: 1.656 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003644/1.786, allocations: 15.88 kB / 1.471 GB, free: 1.641 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002369/1.788, allocations: 206.7 kB / 1.471 GB, free: 1.441 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002711/1.789, allocations: 197.4 kB / 1.472 GB, free: 1.246 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/1.808, allocations: 6.261 MB / 1.478 GB, free: 10.97 MB / 1.076 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.07081/1.879, allocations: 34.12 MB / 1.511 GB, free: 7.09 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006321/1.885, allocations: 2.403 MB / 1.513 GB, free: 4.691 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004244/1.889, allocations: 1.775 MB / 1.515 GB, free: 2.914 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002511/1.892, allocations: 2.026 MB / 1.517 GB, free: 468 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005085/1.897, allocations: 1.807 MB / 1.519 GB, free: 14.64 MB / 1.123 GB Notification: Performance of pre-optimization done (n=220): time 7.423e-06/1.897, allocations: 0 / 1.519 GB, free: 14.64 MB / 1.123 GB Notification: Performance of matching and sorting (n=220): time 0.01502/1.912, allocations: 4.888 MB / 1.524 GB, free: 9.742 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/1.912, allocations: 73.41 kB / 1.524 GB, free: 9.66 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02397/1.936, allocations: 9.211 MB / 1.533 GB, free: 480 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.001033/1.937, allocations: 89.7 kB / 1.533 GB, free: 384 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.006735/1.944, allocations: 3.795 MB / 1.537 GB, free: 12.57 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001891/1.946, allocations: 0.7837 MB / 1.537 GB, free: 11.8 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003379/1.949, allocations: 0.7922 MB / 1.538 GB, free: 11 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.95, allocations: 305.1 kB / 1.538 GB, free: 10.7 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004138/1.954, allocations: 1.662 MB / 1.54 GB, free: 9.031 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005928/1.96, allocations: 3.28 MB / 1.543 GB, free: 5.121 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008865/1.969, allocations: 4.354 MB / 1.547 GB, free: 316 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.683e-05/1.969, allocations: 12 kB / 1.547 GB, free: 304 kB / 1.139 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01501/1.984, allocations: 5.109 MB / 1.552 GB, free: 11.13 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.33e-05/1.984, allocations: 21.88 kB / 1.552 GB, free: 11.11 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.147e-05/1.984, allocations: 32 kB / 1.552 GB, free: 11.08 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.377e-05/1.984, allocations: 48 kB / 1.553 GB, free: 11.03 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003879/1.988, allocations: 0.8391 MB / 1.553 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001176/1.988, allocations: 67.78 kB / 1.553 GB, free: 10.12 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008143/1.996, allocations: 0.6131 MB / 1.554 GB, free: 9.508 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009034/1.997, allocations: 160 kB / 1.554 GB, free: 9.352 MB / 1.154 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.007671/2.005, allocations: 3.079 MB / 1.557 GB, free: 6.262 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003947/2.009, allocations: 0.7331 MB / 1.558 GB, free: 5.52 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/2.021, allocations: 4.085 MB / 1.562 GB, free: 1.434 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-05/2.021, allocations: 23.98 kB / 1.562 GB, free: 1.41 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/2.021, allocations: 0 / 1.562 GB, free: 1.41 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006667/2.028, allocations: 3.191 MB / 1.565 GB, free: 14.17 MB / 1.17 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.03029/2.058, allocations: 11.22 MB / 1.576 GB, free: 2.871 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/2.058, allocations: 4 kB / 1.576 GB, free: 2.867 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002788/2.061, allocations: 0.5308 MB / 1.576 GB, free: 2.336 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.035e-05/2.061, allocations: 8 kB / 1.576 GB, free: 2.328 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003819/2.061, allocations: 79.94 kB / 1.577 GB, free: 2.25 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-05/2.061, allocations: 15.83 kB / 1.577 GB, free: 2.238 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/2.061, allocations: 3.938 kB / 1.577 GB, free: 2.234 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/2.075, allocations: 6.024 MB / 1.582 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005194/2.08, allocations: 1.436 MB / 1.584 GB, free: 10.68 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003135/2.083, allocations: 63.91 kB / 1.584 GB, free: 10.62 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006099/2.089, allocations: 243.6 kB / 1.584 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004921/2.09, allocations: 149.7 kB / 1.584 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005915/2.09, allocations: 119.9 kB / 1.584 GB, free: 10.12 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.01726/2.108, allocations: 6.553 MB / 1.591 GB, free: 3.59 MB / 1.186 GB Notification: Performance of sort global known variables: time 5.51e-07/2.108, allocations: 0 / 1.591 GB, free: 3.59 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.01076/2.119, allocations: 2.086 MB / 1.593 GB, free: 1.5 MB / 1.186 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.003405/2.122, allocations: 1.119 MB / 1.594 GB, free: 464 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01538/2.137, allocations: 6.074 MB / 1.6 GB, free: 10.38 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.762e-05/2.137, allocations: 4 kB / 1.6 GB, free: 10.38 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004053/2.141, allocations: 1.656 MB / 1.601 GB, free: 8.723 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02723/2.169, allocations: 4.563 MB / 1.606 GB, free: 4.352 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04535/2.214, allocations: 16.31 MB / 1.622 GB, free: 4 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01285/2.227, allocations: 5.527 MB / 1.627 GB, free: 14.45 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.01273/2.24, allocations: 2.15 MB / 1.629 GB, free: 12.33 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003269/2.243, allocations: 0.5305 MB / 1.63 GB, free: 11.8 MB / 1.232 GB Notification: Performance of SimCode: time 1.633e-06/2.243, allocations: 0 / 1.63 GB, free: 11.8 MB / 1.232 GB Notification: Performance of Templates: time 1.966/4.21, allocations: 161.6 MB / 1.788 GB, free: 280.8 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