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.001425/0.001425, allocations: 105 kB / 16.41 MB, free: 6.465 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.001412/0.001412, allocations: 187 kB / 17.34 MB, free: 5.719 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.549/2.549, allocations: 461.9 MB / 0.7354 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 68.11 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.052, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2186/1.271, allocations: 236.4 MB / 1.439 GB, free: 428 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.06074/1.332, allocations: 43.32 MB / 1.482 GB, free: 4.996 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01108/1.343, allocations: 234.6 kB / 1.482 GB, free: 4.766 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.01044/1.354, allocations: 3.29 MB / 1.485 GB, free: 1.461 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.02444/1.378, allocations: 8.191 MB / 1.493 GB, free: 9.238 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0177/1.396, allocations: 5.757 MB / 1.499 GB, free: 3.527 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.03854/1.434, allocations: 26.74 MB / 1.525 GB, free: 8.723 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01679/1.451, allocations: 11.51 MB / 1.536 GB, free: 13.1 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02279/1.474, allocations: 9.884 MB / 1.546 GB, free: 3.211 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01356/1.488, allocations: 6.87 MB / 1.552 GB, free: 12.31 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.003872/1.492, allocations: 1.062 MB / 1.553 GB, free: 11.25 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0128/1.504, allocations: 3.472 MB / 1.557 GB, free: 7.773 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.005278/1.51, allocations: 2.644 MB / 1.559 GB, free: 5.121 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.9813/2.491, allocations: 5.538 MB / 1.565 GB, free: 97.14 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.03959/2.531, allocations: 18.41 MB / 1.583 GB, free: 96.8 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/2.531, allocations: 2.25 kB / 1.583 GB, free: 96.8 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.176e-06/2.531, allocations: 0.5 kB / 1.583 GB, free: 96.8 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0007453/2.532, allocations: 2.75 kB / 1.583 GB, free: 96.8 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.04146/2.573, allocations: 10.36 MB / 1.593 GB, free: 92.95 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/2.573, allocations: 9.781 kB / 1.593 GB, free: 92.95 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/2.583, allocations: 1.357 MB / 1.594 GB, free: 92.46 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02734/2.611, allocations: 10.95 MB / 1.605 GB, free: 91.06 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006172/2.611, allocations: 464.9 kB / 1.605 GB, free: 90.99 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003163/2.615, allocations: 0.5256 MB / 1.606 GB, free: 90.98 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02879/2.643, allocations: 7.276 MB / 1.613 GB, free: 90.41 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001928/2.644, allocations: 8.531 kB / 1.613 GB, free: 90.41 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00183/2.645, allocations: 205.3 kB / 1.613 GB, free: 90.41 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002647/2.646, allocations: 205.9 kB / 1.613 GB, free: 90.4 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/2.664, allocations: 6.261 MB / 1.619 GB, free: 90.33 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.05942/2.723, allocations: 33.86 MB / 1.653 GB, free: 76.23 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004989/2.728, allocations: 2.392 MB / 1.655 GB, free: 76.18 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00332/2.732, allocations: 1.807 MB / 1.657 GB, free: 76.14 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/2.733, allocations: 2.034 MB / 1.659 GB, free: 73.89 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003756/2.737, allocations: 1.808 MB / 1.66 GB, free: 73.8 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 5.09e-06/2.737, allocations: 4 kB / 1.66 GB, free: 73.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.01265/2.75, allocations: 4.864 MB / 1.665 GB, free: 73.02 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/2.75, allocations: 85.08 kB / 1.665 GB, free: 72.95 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02014/2.77, allocations: 9.201 MB / 1.674 GB, free: 70.91 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001375/2.771, allocations: 89.98 kB / 1.674 GB, free: 70.88 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.005707/2.777, allocations: 3.782 MB / 1.678 GB, free: 69.6 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001753/2.779, allocations: 0.7761 MB / 1.679 GB, free: 69.04 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001543/2.78, allocations: 0.7953 MB / 1.679 GB, free: 68.88 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.755e-05/2.78, allocations: 305.1 kB / 1.68 GB, free: 68.58 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003014/2.783, allocations: 1.661 MB / 1.681 GB, free: 68.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004278/2.788, allocations: 3.28 MB / 1.685 GB, free: 66.24 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0067/2.794, allocations: 4.357 MB / 1.689 GB, free: 64.57 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.41e-05/2.794, allocations: 7.844 kB / 1.689 GB, free: 64.57 MB / 1.279 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01299/2.807, allocations: 5.113 MB / 1.694 GB, free: 62.88 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.169e-05/2.808, allocations: 20.44 kB / 1.694 GB, free: 62.88 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-05/2.808, allocations: 29.3 kB / 1.694 GB, free: 62.88 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.78e-05/2.808, allocations: 54.5 kB / 1.694 GB, free: 62.87 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/2.811, allocations: 0.8349 MB / 1.695 GB, free: 62.71 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.224e-05/2.812, allocations: 72.91 kB / 1.695 GB, free: 62.71 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009288/2.821, allocations: 0.6252 MB / 1.695 GB, free: 62.32 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/2.822, allocations: 157.1 kB / 1.696 GB, free: 62.29 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.008497/2.83, allocations: 3.059 MB / 1.699 GB, free: 60.43 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00411/2.835, allocations: 0.7313 MB / 1.699 GB, free: 60.04 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/2.847, allocations: 4.093 MB / 1.703 GB, free: 57.89 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/2.847, allocations: 31.73 kB / 1.703 GB, free: 57.88 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/2.847, allocations: 3.938 kB / 1.703 GB, free: 57.88 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006546/2.854, allocations: 3.181 MB / 1.706 GB, free: 56.19 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.03289/2.887, allocations: 11.2 MB / 1.717 GB, free: 48.55 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/2.887, allocations: 0 / 1.717 GB, free: 48.55 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002751/2.89, allocations: 0.5344 MB / 1.718 GB, free: 48.04 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.816e-05/2.89, allocations: 12 kB / 1.718 GB, free: 48.03 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004928/2.89, allocations: 79.94 kB / 1.718 GB, free: 47.95 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.301e-05/2.89, allocations: 11.98 kB / 1.718 GB, free: 47.94 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/2.89, allocations: 4 kB / 1.718 GB, free: 47.93 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/2.903, allocations: 6.032 MB / 1.724 GB, free: 41.84 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005895/2.909, allocations: 1.44 MB / 1.725 GB, free: 40.37 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003965/2.913, allocations: 59.98 kB / 1.725 GB, free: 40.31 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00755/2.921, allocations: 246.2 kB / 1.726 GB, free: 40.08 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006077/2.922, allocations: 157.1 kB / 1.726 GB, free: 39.93 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006785/2.922, allocations: 111.9 kB / 1.726 GB, free: 39.82 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01733/2.94, allocations: 6.549 MB / 1.732 GB, free: 33.3 MB / 1.279 GB Notification: Performance of sort global known variables: time 8.32e-07/2.94, allocations: 4 kB / 1.732 GB, free: 33.29 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.01243/2.952, allocations: 2.09 MB / 1.734 GB, free: 31.2 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.003769/2.956, allocations: 1.115 MB / 1.735 GB, free: 30.23 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.009317/2.965, allocations: 3.814 MB / 1.739 GB, free: 26.53 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/2.965, allocations: 0 / 1.739 GB, free: 26.53 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003777/2.969, allocations: 1.742 MB / 1.741 GB, free: 24.84 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02763/2.997, allocations: 4.555 MB / 1.745 GB, free: 20.46 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03482/3.032, allocations: 15.76 MB / 1.761 GB, free: 4.695 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00509/3.037, allocations: 5.277 MB / 1.766 GB, free: 15.39 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002979/3.04, allocations: 0.5649 MB / 1.766 GB, free: 14.83 MB / 1.295 GB Notification: Performance of SimCode: time 9.72e-07/3.04, allocations: 0 / 1.766 GB, free: 14.83 MB / 1.295 GB Notification: Performance of Templates: time 0.2355/3.275, allocations: 151.1 MB / 1.914 GB, free: 8.914 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