Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00177/0.00177, allocations: 114.6 kB / 18.94 MB, free: 2.789 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.002382/0.002382, allocations: 219.3 kB / 22.25 MB, free: 5.215 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.592/1.592, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.481/3.481, allocations: 0.49 GB / 0.7951 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002379/0.002379, allocations: 74.17 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4285, allocations: 176.1 MB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2781/0.7066, allocations: 241.6 MB / 1.562 GB, free: 15.07 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.06914/0.7757, allocations: 43.6 MB / 1.605 GB, free: 3.355 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01118/0.7869, allocations: 333.1 kB / 1.605 GB, free: 3.027 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 1.064/1.851, allocations: 3.3 MB / 1.608 GB, free: 62.01 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03107/1.882, allocations: 8.297 MB / 1.616 GB, free: 62.01 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01801/1.9, allocations: 5.905 MB / 1.622 GB, free: 61.96 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.04949/1.95, allocations: 26.93 MB / 1.649 GB, free: 61.93 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0173/1.967, allocations: 7.502 MB / 1.656 GB, free: 61.45 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.028/1.995, allocations: 10.38 MB / 1.666 GB, free: 60.87 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01781/2.013, allocations: 7.018 MB / 1.673 GB, free: 59.71 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.004505/2.017, allocations: 1.05 MB / 1.674 GB, free: 59.71 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.015/2.032, allocations: 3.678 MB / 1.677 GB, free: 59.66 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.005476/2.038, allocations: 2.692 MB / 1.68 GB, free: 59.24 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01355/2.051, allocations: 5.518 MB / 1.685 GB, free: 57.89 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03212/2.083, allocations: 18.48 MB / 1.704 GB, free: 55.29 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/2.083, allocations: 2.938 kB / 1.704 GB, free: 55.29 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.573e-06/2.083, allocations: 0 / 1.704 GB, free: 55.29 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000626/2.084, allocations: 0 / 1.704 GB, free: 55.29 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: 1232 * Number of variables: 1232 Notification: Performance of Generate backend data structure: time 0.02978/2.114, allocations: 10.51 MB / 1.714 GB, free: 48.23 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/2.114, allocations: 8.688 kB / 1.714 GB, free: 48.23 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009275/2.123, allocations: 1.459 MB / 1.715 GB, free: 47.52 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02512/2.148, allocations: 11.06 MB / 1.726 GB, free: 40.14 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007012/2.149, allocations: 0.5081 MB / 1.727 GB, free: 39.84 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00354/2.152, allocations: 0.5194 MB / 1.727 GB, free: 39.67 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01998/2.172, allocations: 7.349 MB / 1.734 GB, free: 35.25 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001346/2.173, allocations: 14.14 kB / 1.734 GB, free: 35.24 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006605/2.173, allocations: 209 kB / 1.734 GB, free: 35.09 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/2.173, allocations: 140.9 kB / 1.735 GB, free: 35.07 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01284/2.186, allocations: 6.366 MB / 1.741 GB, free: 28.94 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.05649/2.243, allocations: 34.43 MB / 1.774 GB, free: 8.902 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007246/2.25, allocations: 2.47 MB / 1.777 GB, free: 6.434 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004565/2.254, allocations: 1.746 MB / 1.779 GB, free: 4.691 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/2.256, allocations: 245.8 kB / 1.779 GB, free: 4.465 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004644/2.26, allocations: 1.894 MB / 1.781 GB, free: 2.562 MB / 1.311 GB Notification: Performance of pre-optimization done (n=212): time 5.611e-06/2.26, allocations: 0 / 1.781 GB, free: 2.562 MB / 1.311 GB Notification: Performance of matching and sorting (n=212): time 0.01416/2.274, allocations: 5.129 MB / 1.786 GB, free: 13.43 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/2.275, allocations: 81.41 kB / 1.786 GB, free: 13.33 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02272/2.297, allocations: 9.211 MB / 1.795 GB, free: 4.141 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.001147/2.298, allocations: 89.7 kB / 1.795 GB, free: 4.047 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.006896/2.305, allocations: 3.832 MB / 1.799 GB, free: 224 kB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.001904/2.307, allocations: 0.777 MB / 1.799 GB, free: 15.45 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001742/2.309, allocations: 0.7806 MB / 1.8 GB, free: 14.66 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001274/2.309, allocations: 309 kB / 1.8 GB, free: 14.36 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00388/2.313, allocations: 1.735 MB / 1.802 GB, free: 12.62 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006079/2.319, allocations: 3.348 MB / 1.805 GB, free: 8.668 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009558/2.329, allocations: 4.415 MB / 1.81 GB, free: 3.918 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-05/2.329, allocations: 8 kB / 1.81 GB, free: 3.91 MB / 1.342 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01412/2.343, allocations: 5.251 MB / 1.815 GB, free: 14.79 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/2.343, allocations: 16 kB / 1.815 GB, free: 14.77 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.579e-05/2.343, allocations: 35.98 kB / 1.815 GB, free: 14.74 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.427e-05/2.343, allocations: 48 kB / 1.815 GB, free: 14.69 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003438/2.346, allocations: 0.8287 MB / 1.816 GB, free: 13.91 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.6e-05/2.346, allocations: 68.91 kB / 1.816 GB, free: 13.86 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008006/2.354, allocations: 0.6574 MB / 1.816 GB, free: 13.2 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008356/2.355, allocations: 158.9 kB / 1.817 GB, free: 13.04 MB / 1.357 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 (402): * Single equations (assignments): 402 * 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.007521/2.363, allocations: 3.036 MB / 1.819 GB, free: 10.04 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003774/2.367, allocations: 0.7676 MB / 1.82 GB, free: 9.273 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/2.377, allocations: 4.251 MB / 1.824 GB, free: 5.027 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-05/2.377, allocations: 23.98 kB / 1.824 GB, free: 5.004 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/2.377, allocations: 0 / 1.824 GB, free: 5.004 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006861/2.384, allocations: 3.336 MB / 1.828 GB, free: 1.621 MB / 1.357 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.03121/2.416, allocations: 11.34 MB / 1.839 GB, free: 6.215 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/2.416, allocations: 4 kB / 1.839 GB, free: 6.211 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00265/2.418, allocations: 0.5666 MB / 1.839 GB, free: 5.664 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.186e-05/2.418, allocations: 8 kB / 1.839 GB, free: 5.656 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/2.418, allocations: 71.94 kB / 1.839 GB, free: 5.586 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/2.418, allocations: 12 kB / 1.839 GB, free: 5.574 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/2.418, allocations: 7.375 kB / 1.839 GB, free: 5.57 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01462/2.433, allocations: 6.359 MB / 1.846 GB, free: 15.17 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006749/2.44, allocations: 1.4 MB / 1.847 GB, free: 13.77 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003616/2.443, allocations: 51.98 kB / 1.847 GB, free: 13.72 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006319/2.45, allocations: 295.4 kB / 1.847 GB, free: 13.43 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005885/2.45, allocations: 149.7 kB / 1.847 GB, free: 13.29 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005659/2.451, allocations: 119.9 kB / 1.848 GB, free: 13.17 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.01725/2.468, allocations: 6.557 MB / 1.854 GB, free: 6.637 MB / 1.389 GB Notification: Performance of sort global known variables: time 2.4e-07/2.468, allocations: 0 / 1.854 GB, free: 6.637 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.01237/2.481, allocations: 2.098 MB / 1.856 GB, free: 4.535 MB / 1.389 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 (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].actPos.y,chi.valEva.val[2].actPos.y,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].actPos.y,chi.valCon.val[2].actPos.y,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 (222): * Single equations (assignments): 209 * 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.003765/2.484, allocations: 1.08 MB / 1.857 GB, free: 3.574 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.009886/2.494, allocations: 3.828 MB / 1.861 GB, free: 15.86 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/2.494, allocations: 8.125 kB / 1.861 GB, free: 15.85 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.003714/2.498, allocations: 1.651 MB / 1.862 GB, free: 14.24 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02334/2.521, allocations: 4.601 MB / 1.867 GB, free: 9.801 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03827/2.56, allocations: 16.22 MB / 1.883 GB, free: 9.672 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007774/2.567, allocations: 5.477 MB / 1.888 GB, free: 4.172 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.008202/2.575, allocations: 2.082 MB / 1.89 GB, free: 2.109 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002037/2.578, allocations: 0.5344 MB / 1.891 GB, free: 1.574 MB / 1.42 GB Notification: Performance of SimCode: time 1.232e-06/2.578, allocations: 0 / 1.891 GB, free: 1.574 MB / 1.42 GB Notification: Performance of Templates: time 0.2815/2.859, allocations: 159.3 MB / 2.046 GB, free: 4.172 MB / 1.576 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.79909607907757]