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.00145/0.001451, allocations: 102.3 kB / 16.4 MB, free: 6.406 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.001454/0.001455, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 68.12 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.864/0.8655, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2475/1.113, allocations: 236.4 MB / 1.439 GB, free: 480 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.06557/1.179, allocations: 43.32 MB / 1.482 GB, free: 5.047 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00975/1.188, allocations: 234.6 kB / 1.482 GB, free: 4.816 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.01081/1.199, allocations: 3.188 MB / 1.485 GB, free: 1.613 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.02504/1.224, allocations: 7.751 MB / 1.492 GB, free: 9.836 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0148/1.239, allocations: 5.74 MB / 1.498 GB, free: 4.141 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.03926/1.279, allocations: 26.71 MB / 1.524 GB, free: 9.367 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0208/1.299, allocations: 11.5 MB / 1.535 GB, free: 13.75 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02422/1.324, allocations: 9.874 MB / 1.545 GB, free: 3.879 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01473/1.338, allocations: 6.866 MB / 1.552 GB, free: 12.98 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.004792/1.343, allocations: 1.062 MB / 1.553 GB, free: 11.92 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01405/1.357, allocations: 3.472 MB / 1.556 GB, free: 8.445 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.006188/1.364, allocations: 2.644 MB / 1.559 GB, free: 5.793 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01335/1.377, allocations: 5.539 MB / 1.564 GB, free: 236 kB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.8857/2.263, allocations: 18.41 MB / 1.582 GB, free: 97.09 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/2.263, allocations: 1.531 kB / 1.582 GB, free: 97.09 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.795e-06/2.263, allocations: 1.969 kB / 1.582 GB, free: 97.09 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0006782/2.263, allocations: 0 / 1.582 GB, free: 97.09 MB / 1.279 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.03685/2.3, allocations: 10.36 MB / 1.592 GB, free: 93.23 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/2.3, allocations: 8.656 kB / 1.592 GB, free: 93.23 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/2.311, allocations: 1.357 MB / 1.594 GB, free: 92.74 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02504/2.336, allocations: 10.94 MB / 1.604 GB, free: 91.38 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005596/2.337, allocations: 474.4 kB / 1.605 GB, free: 91.3 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002961/2.34, allocations: 0.5251 MB / 1.605 GB, free: 91.3 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02346/2.363, allocations: 7.281 MB / 1.612 GB, free: 90.73 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003719/2.364, allocations: 11.05 kB / 1.612 GB, free: 90.73 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002598/2.366, allocations: 204.1 kB / 1.613 GB, free: 90.73 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002988/2.367, allocations: 203 kB / 1.613 GB, free: 90.72 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01941/2.386, allocations: 6.256 MB / 1.619 GB, free: 90.66 MB / 1.279 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.05922/2.445, allocations: 33.86 MB / 1.652 GB, free: 76.55 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004842/2.45, allocations: 2.394 MB / 1.654 GB, free: 76.5 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00328/2.453, allocations: 1.804 MB / 1.656 GB, free: 76.47 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/2.455, allocations: 2.034 MB / 1.658 GB, free: 74.21 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003614/2.459, allocations: 1.813 MB / 1.66 GB, free: 74.12 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 7.074e-06/2.459, allocations: 0 / 1.66 GB, free: 74.12 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.01151/2.47, allocations: 4.867 MB / 1.665 GB, free: 73.39 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/2.47, allocations: 78.41 kB / 1.665 GB, free: 73.33 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01923/2.489, allocations: 9.205 MB / 1.674 GB, free: 71.29 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001191/2.491, allocations: 93.92 kB / 1.674 GB, free: 71.25 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.005173/2.496, allocations: 3.782 MB / 1.677 GB, free: 69.97 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001609/2.497, allocations: 0.7776 MB / 1.678 GB, free: 69.42 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001476/2.499, allocations: 0.7918 MB / 1.679 GB, free: 69.26 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.914e-05/2.499, allocations: 309 kB / 1.679 GB, free: 68.96 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002937/2.502, allocations: 1.661 MB / 1.681 GB, free: 68.68 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004187/2.506, allocations: 3.286 MB / 1.684 GB, free: 66.62 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006447/2.513, allocations: 4.347 MB / 1.688 GB, free: 64.95 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.157e-05/2.513, allocations: 7.625 kB / 1.688 GB, free: 64.95 MB / 1.279 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01125/2.524, allocations: 5.113 MB / 1.693 GB, free: 63.34 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/2.524, allocations: 23.19 kB / 1.693 GB, free: 63.34 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.412e-05/2.524, allocations: 30.59 kB / 1.693 GB, free: 63.34 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.128e-05/2.524, allocations: 46.44 kB / 1.693 GB, free: 63.34 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/2.527, allocations: 0.8373 MB / 1.694 GB, free: 63.18 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.614e-05/2.527, allocations: 72.34 kB / 1.694 GB, free: 63.17 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008005/2.535, allocations: 0.6175 MB / 1.695 GB, free: 62.79 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007192/2.536, allocations: 161.3 kB / 1.695 GB, free: 62.75 MB / 1.279 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.006398/2.543, allocations: 3.067 MB / 1.698 GB, free: 60.89 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003075/2.546, allocations: 0.7286 MB / 1.699 GB, free: 60.5 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008888/2.555, allocations: 4.094 MB / 1.703 GB, free: 58.35 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/2.555, allocations: 23.97 kB / 1.703 GB, free: 58.35 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/2.555, allocations: 4 kB / 1.703 GB, free: 58.35 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005277/2.56, allocations: 3.183 MB / 1.706 GB, free: 56.65 MB / 1.279 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.02607/2.586, allocations: 11.2 MB / 1.717 GB, free: 48.82 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/2.586, allocations: 0 / 1.717 GB, free: 48.82 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002399/2.588, allocations: 0.5343 MB / 1.717 GB, free: 48.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/2.589, allocations: 12 kB / 1.717 GB, free: 48.29 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002241/2.589, allocations: 83.94 kB / 1.717 GB, free: 48.21 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/2.589, allocations: 8 kB / 1.717 GB, free: 48.2 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/2.589, allocations: 9.344 kB / 1.717 GB, free: 48.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/2.6, allocations: 6.035 MB / 1.723 GB, free: 42.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004845/2.605, allocations: 1.44 MB / 1.725 GB, free: 40.64 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003132/2.608, allocations: 59.98 kB / 1.725 GB, free: 40.58 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006296/2.614, allocations: 244.1 kB / 1.725 GB, free: 40.34 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005653/2.615, allocations: 149.7 kB / 1.725 GB, free: 40.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004553/2.615, allocations: 119.9 kB / 1.725 GB, free: 40.08 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01358/2.629, allocations: 6.549 MB / 1.732 GB, free: 33.56 MB / 1.279 GB Notification: Performance of sort global known variables: time 5.71e-07/2.629, allocations: 0 / 1.732 GB, free: 33.56 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.01028/2.639, allocations: 2.09 MB / 1.734 GB, free: 31.46 MB / 1.279 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.002976/2.642, allocations: 1.11 MB / 1.735 GB, free: 30.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007605/2.65, allocations: 3.819 MB / 1.739 GB, free: 26.79 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/2.65, allocations: 4.062 kB / 1.739 GB, free: 26.79 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003093/2.653, allocations: 1.732 MB / 1.74 GB, free: 25.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02461/2.678, allocations: 4.557 MB / 1.745 GB, free: 20.73 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03104/2.709, allocations: 15.76 MB / 1.76 GB, free: 4.977 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005111/2.714, allocations: 5.283 MB / 1.765 GB, free: 15.67 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002926/2.717, allocations: 0.5677 MB / 1.766 GB, free: 15.11 MB / 1.295 GB Notification: Performance of SimCode: time 9.82e-07/2.717, allocations: 0 / 1.766 GB, free: 15.11 MB / 1.295 GB Notification: Performance of Templates: time 0.2152/2.932, allocations: 151.1 MB / 1.913 GB, free: 9.195 MB / 1.436 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/jenkins1/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