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.008882/0.008882, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001717/0.001717, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.906/2.906, allocations: 461.8 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.91 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3512, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 1.263/1.614, allocations: 236.4 MB / 1.439 GB, free: 10.47 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.07505/1.69, allocations: 43.32 MB / 1.481 GB, free: 15.06 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01361/1.703, allocations: 230.6 kB / 1.481 GB, free: 14.83 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.01334/1.717, allocations: 3.282 MB / 1.484 GB, free: 11.54 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0302/1.747, allocations: 8.194 MB / 1.492 GB, free: 3.32 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01649/1.763, allocations: 5.751 MB / 1.498 GB, free: 13.62 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.04823/1.812, allocations: 26.76 MB / 1.524 GB, free: 2.793 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01934/1.831, allocations: 11.49 MB / 1.535 GB, free: 7.188 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02554/1.857, allocations: 9.891 MB / 1.545 GB, free: 13.3 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01713/1.874, allocations: 6.866 MB / 1.552 GB, free: 6.402 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.006141/1.88, allocations: 1.062 MB / 1.553 GB, free: 5.34 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01614/1.896, allocations: 3.484 MB / 1.556 GB, free: 1.852 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.006436/1.903, allocations: 2.641 MB / 1.559 GB, free: 15.2 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.01516/1.918, allocations: 5.535 MB / 1.564 GB, free: 9.645 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.0351/1.953, allocations: 18.42 MB / 1.582 GB, free: 7.18 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/1.953, allocations: 4 kB / 1.582 GB, free: 7.176 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.304e-06/1.953, allocations: 0 / 1.582 GB, free: 7.176 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0006481/1.954, allocations: 0 / 1.582 GB, free: 7.176 MB / 1.264 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.034/1.988, allocations: 10.35 MB / 1.592 GB, free: 12.72 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/1.988, allocations: 8.625 kB / 1.592 GB, free: 12.71 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008795/1.997, allocations: 1.359 MB / 1.593 GB, free: 11.34 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02592/2.023, allocations: 10.96 MB / 1.604 GB, free: 312 kB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006956/2.023, allocations: 466.1 kB / 1.605 GB, free: 15.83 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002483/2.026, allocations: 0.5309 MB / 1.605 GB, free: 15.3 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/2.045, allocations: 7.288 MB / 1.612 GB, free: 7.844 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001117/2.045, allocations: 7.938 kB / 1.612 GB, free: 7.836 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006046/2.045, allocations: 204 kB / 1.612 GB, free: 7.637 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/2.046, allocations: 201.3 kB / 1.613 GB, free: 7.438 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/2.059, allocations: 6.263 MB / 1.619 GB, free: 1.16 MB / 1.295 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.05939/2.119, allocations: 33.85 MB / 1.652 GB, free: 13.26 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005297/2.124, allocations: 2.392 MB / 1.654 GB, free: 10.86 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003484/2.127, allocations: 1.803 MB / 1.656 GB, free: 9.059 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001832/2.129, allocations: 2.032 MB / 1.658 GB, free: 6.586 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003616/2.133, allocations: 1.815 MB / 1.66 GB, free: 4.758 MB / 1.342 GB Notification: Performance of pre-optimization done (n=220): time 5.109e-06/2.133, allocations: 0 / 1.66 GB, free: 4.758 MB / 1.342 GB Notification: Performance of matching and sorting (n=220): time 0.0123/2.145, allocations: 4.868 MB / 1.664 GB, free: 15.88 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/2.145, allocations: 81.39 kB / 1.665 GB, free: 15.79 MB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0239/2.169, allocations: 9.207 MB / 1.674 GB, free: 6.602 MB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.001404/2.171, allocations: 89.7 kB / 1.674 GB, free: 6.508 MB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.006515/2.177, allocations: 3.78 MB / 1.677 GB, free: 2.707 MB / 1.357 GB Notification: Performance of collectInitialBindings (initialization): time 0.002053/2.179, allocations: 0.7703 MB / 1.678 GB, free: 1.926 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001637/2.181, allocations: 0.7961 MB / 1.679 GB, free: 1.121 MB / 1.357 GB Notification: Performance of setup shared object (initialization): time 0.0001509/2.181, allocations: 313.1 kB / 1.679 GB, free: 0.8125 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00352/2.185, allocations: 1.662 MB / 1.681 GB, free: 15.14 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005202/2.19, allocations: 3.284 MB / 1.684 GB, free: 11.23 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007857/2.198, allocations: 4.358 MB / 1.688 GB, free: 6.41 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.831e-05/2.198, allocations: 8 kB / 1.688 GB, free: 6.402 MB / 1.373 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01291/2.211, allocations: 5.113 MB / 1.693 GB, free: 1.234 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/2.211, allocations: 20 kB / 1.693 GB, free: 1.215 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.808e-05/2.211, allocations: 28 kB / 1.693 GB, free: 1.188 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.909e-05/2.211, allocations: 52.73 kB / 1.693 GB, free: 1.137 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/2.214, allocations: 0.8425 MB / 1.694 GB, free: 300 kB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-05/2.214, allocations: 71.72 kB / 1.694 GB, free: 228 kB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008144/2.222, allocations: 0.6208 MB / 1.695 GB, free: 15.6 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/2.224, allocations: 160 kB / 1.695 GB, free: 15.44 MB / 1.389 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.009553/2.233, allocations: 3.062 MB / 1.698 GB, free: 12.37 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003967/2.237, allocations: 0.7293 MB / 1.699 GB, free: 11.63 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/2.249, allocations: 4.084 MB / 1.703 GB, free: 7.539 MB / 1.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.766e-05/2.249, allocations: 24 kB / 1.703 GB, free: 7.516 MB / 1.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/2.249, allocations: 4 kB / 1.703 GB, free: 7.512 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006879/2.256, allocations: 3.188 MB / 1.706 GB, free: 4.273 MB / 1.389 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.0325/2.289, allocations: 11.19 MB / 1.717 GB, free: 8.938 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/2.289, allocations: 4 kB / 1.717 GB, free: 8.934 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/2.292, allocations: 0.5269 MB / 1.717 GB, free: 8.406 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.533e-05/2.292, allocations: 15.94 kB / 1.717 GB, free: 8.391 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004194/2.292, allocations: 83.94 kB / 1.717 GB, free: 8.309 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.572e-05/2.292, allocations: 11.94 kB / 1.717 GB, free: 8.297 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/2.292, allocations: 4 kB / 1.717 GB, free: 8.293 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/2.306, allocations: 6.03 MB / 1.723 GB, free: 2.195 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005901/2.312, allocations: 1.433 MB / 1.725 GB, free: 0.7344 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003528/2.316, allocations: 63.98 kB / 1.725 GB, free: 0.6719 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006584/2.323, allocations: 247.5 kB / 1.725 GB, free: 440 kB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006495/2.323, allocations: 145.7 kB / 1.725 GB, free: 296 kB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005881/2.324, allocations: 115.9 kB / 1.725 GB, free: 180 kB / 1.404 GB Notification: Performance of sorting global known variables: time 0.01815/2.342, allocations: 6.549 MB / 1.732 GB, free: 9.648 MB / 1.42 GB Notification: Performance of sort global known variables: time 3.41e-07/2.342, allocations: 0 / 1.732 GB, free: 9.648 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.01212/2.354, allocations: 2.082 MB / 1.734 GB, free: 7.562 MB / 1.42 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.00394/2.358, allocations: 1.121 MB / 1.735 GB, free: 6.465 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.01038/2.369, allocations: 3.813 MB / 1.738 GB, free: 2.656 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/2.369, allocations: 4 kB / 1.738 GB, free: 2.652 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.004399/2.373, allocations: 1.663 MB / 1.74 GB, free: 0.9883 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02941/2.403, allocations: 4.564 MB / 1.745 GB, free: 12.57 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04013/2.443, allocations: 16.11 MB / 1.76 GB, free: 12.4 MB / 1.451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009756/2.453, allocations: 5.522 MB / 1.766 GB, free: 6.855 MB / 1.451 GB Notification: Performance of simCode: alias equations: time 0.01078/2.463, allocations: 2.143 MB / 1.768 GB, free: 4.746 MB / 1.451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00304/2.466, allocations: 0.5344 MB / 1.768 GB, free: 4.211 MB / 1.451 GB Notification: Performance of SimCode: time 1.302e-06/2.466, allocations: 0 / 1.768 GB, free: 4.211 MB / 1.451 GB Notification: Performance of Templates: time 1.817/4.283, allocations: 155.6 MB / 1.92 GB, free: 465.7 MB / 1.498 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