Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 213.2 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.637/2.637, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.09 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3267, allocations: 170 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2626/0.5893, allocations: 241.3 MB / 1.52 GB, free: 9.066 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.06538/0.6547, allocations: 43.61 MB / 1.563 GB, free: 13.36 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008937/0.6636, allocations: 321.2 kB / 1.563 GB, free: 13.04 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.01054/0.6741, allocations: 3.313 MB / 1.566 GB, free: 9.707 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.02427/0.6984, allocations: 8.337 MB / 1.575 GB, free: 1.344 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01565/0.7141, allocations: 5.932 MB / 1.58 GB, free: 11.46 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.03984/0.7539, allocations: 27.16 MB / 1.607 GB, free: 236 kB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.8583/1.612, allocations: 7.541 MB / 1.614 GB, free: 70.06 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02681/1.639, allocations: 10.05 MB / 1.624 GB, free: 70.05 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01652/1.656, allocations: 7.222 MB / 1.631 GB, free: 68.91 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.004495/1.66, allocations: 1.063 MB / 1.632 GB, free: 68.91 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01338/1.673, allocations: 3.707 MB / 1.636 GB, free: 68.91 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.005454/1.679, allocations: 2.751 MB / 1.638 GB, free: 68.49 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0135/1.692, allocations: 5.547 MB / 1.644 GB, free: 67.13 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03053/1.723, allocations: 18.64 MB / 1.662 GB, free: 65.25 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.723, allocations: 0 / 1.662 GB, free: 65.25 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.064e-06/1.723, allocations: 3.312 kB / 1.662 GB, free: 65.25 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0006604/1.724, allocations: 0 / 1.662 GB, free: 65.25 MB / 1.295 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.03301/1.757, allocations: 10.59 MB / 1.672 GB, free: 61.2 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/1.757, allocations: 8.312 kB / 1.672 GB, free: 61.2 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009795/1.766, allocations: 1.459 MB / 1.674 GB, free: 60.68 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0233/1.79, allocations: 11.04 MB / 1.685 GB, free: 59.16 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006605/1.79, allocations: 0.5107 MB / 1.685 GB, free: 59.02 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002652/1.793, allocations: 0.5226 MB / 1.686 GB, free: 59.02 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01939/1.812, allocations: 7.33 MB / 1.693 GB, free: 58.45 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001759/1.813, allocations: 16.52 kB / 1.693 GB, free: 58.45 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001227/1.814, allocations: 205.4 kB / 1.693 GB, free: 58.45 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/1.814, allocations: 204 kB / 1.693 GB, free: 58.43 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/1.83, allocations: 6.348 MB / 1.699 GB, free: 58.36 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.05143/1.881, allocations: 33.92 MB / 1.733 GB, free: 40.53 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004533/1.886, allocations: 2.333 MB / 1.735 GB, free: 40.12 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00304/1.889, allocations: 1.735 MB / 1.737 GB, free: 39.82 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008976/1.89, allocations: 247 kB / 1.737 GB, free: 39.76 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003252/1.893, allocations: 1.832 MB / 1.739 GB, free: 39.27 MB / 1.295 GB Notification: Performance of pre-optimization done (n=220): time 4.619e-06/1.893, allocations: 4 kB / 1.739 GB, free: 39.27 MB / 1.295 GB Notification: Performance of matching and sorting (n=220): time 0.01065/1.903, allocations: 4.985 MB / 1.743 GB, free: 36.96 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/1.903, allocations: 75.38 kB / 1.743 GB, free: 36.89 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01613/1.92, allocations: 9.235 MB / 1.752 GB, free: 31.78 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001045/1.921, allocations: 89.7 kB / 1.753 GB, free: 31.69 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.005002/1.926, allocations: 3.827 MB / 1.756 GB, free: 27.86 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001427/1.927, allocations: 0.8215 MB / 1.757 GB, free: 27.05 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/1.929, allocations: 0.7965 MB / 1.758 GB, free: 26.25 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.431e-05/1.929, allocations: 305.1 kB / 1.758 GB, free: 25.95 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002803/1.931, allocations: 1.689 MB / 1.76 GB, free: 24.25 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003889/1.935, allocations: 3.315 MB / 1.763 GB, free: 20.34 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00631/1.942, allocations: 4.401 MB / 1.767 GB, free: 15.61 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.076e-05/1.942, allocations: 8 kB / 1.767 GB, free: 15.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01121/1.953, allocations: 5.205 MB / 1.772 GB, free: 10.52 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/1.953, allocations: 20 kB / 1.772 GB, free: 10.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.921e-05/1.953, allocations: 30.02 kB / 1.773 GB, free: 10.48 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.101e-05/1.953, allocations: 50.3 kB / 1.773 GB, free: 10.43 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003479/1.956, allocations: 0.8509 MB / 1.773 GB, free: 9.629 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-05/1.957, allocations: 69.19 kB / 1.773 GB, free: 9.574 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007376/1.964, allocations: 0.6443 MB / 1.774 GB, free: 8.934 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008364/1.965, allocations: 160 kB / 1.774 GB, free: 8.777 MB / 1.295 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.005969/1.971, allocations: 3.063 MB / 1.777 GB, free: 5.754 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002764/1.973, allocations: 0.7724 MB / 1.778 GB, free: 4.977 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008554/1.982, allocations: 4.162 MB / 1.782 GB, free: 0.8242 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-05/1.982, allocations: 28 kB / 1.782 GB, free: 0.7969 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/1.982, allocations: 0 / 1.782 GB, free: 0.7969 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006423/1.988, allocations: 3.247 MB / 1.785 GB, free: 13.5 MB / 1.311 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.03183/2.02, allocations: 11.31 MB / 1.796 GB, free: 2.133 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/2.02, allocations: 3.984 kB / 1.796 GB, free: 2.129 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002821/2.023, allocations: 0.5412 MB / 1.797 GB, free: 1.609 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.369e-05/2.023, allocations: 9.875 kB / 1.797 GB, free: 1.602 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003243/2.024, allocations: 79.94 kB / 1.797 GB, free: 1.523 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/2.024, allocations: 19.64 kB / 1.797 GB, free: 1.508 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.024, allocations: 0 / 1.797 GB, free: 1.508 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/2.038, allocations: 6.18 MB / 1.803 GB, free: 11.28 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005947/2.044, allocations: 1.421 MB / 1.804 GB, free: 9.859 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002909/2.047, allocations: 63.98 kB / 1.804 GB, free: 9.797 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005935/2.053, allocations: 258.6 kB / 1.805 GB, free: 9.547 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006378/2.053, allocations: 153.6 kB / 1.805 GB, free: 9.395 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000432/2.054, allocations: 111.9 kB / 1.805 GB, free: 9.285 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.01619/2.07, allocations: 6.568 MB / 1.811 GB, free: 2.742 MB / 1.326 GB Notification: Performance of sort global known variables: time 3.7e-07/2.07, allocations: 0 / 1.811 GB, free: 2.742 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.009643/2.08, allocations: 2.113 MB / 1.813 GB, free: 0.625 MB / 1.326 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.002893/2.082, allocations: 1.091 MB / 1.814 GB, free: 15.66 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.009257/2.092, allocations: 3.746 MB / 1.818 GB, free: 12.03 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/2.092, allocations: 6 kB / 1.818 GB, free: 12.02 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.003854/2.096, allocations: 1.662 MB / 1.82 GB, free: 10.41 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02299/2.119, allocations: 4.558 MB / 1.824 GB, free: 6.043 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03781/2.156, allocations: 16.05 MB / 1.84 GB, free: 6.098 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008028/2.164, allocations: 5.276 MB / 1.845 GB, free: 0.8008 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002702/2.167, allocations: 0.5618 MB / 1.846 GB, free: 244 kB / 1.357 GB Notification: Performance of SimCode: time 1.753e-06/2.167, allocations: 0 / 1.846 GB, free: 244 kB / 1.357 GB Notification: Performance of Templates: time 0.2391/2.406, allocations: 152.1 MB / 1.994 GB, free: 9.289 MB / 1.514 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 38.81251313100802]