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.001492/0.001492, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001557/0.001557, allocations: 216.3 kB / 22.25 MB, free: 5.258 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.793 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.503/3.503, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 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.002179/0.002179, allocations: 73.77 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4258, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.3286/0.7544, allocations: 218.1 MB / 1.539 GB, free: 7.09 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.08002/0.8344, allocations: 40.55 MB / 1.578 GB, free: 14.45 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01265/0.8471, allocations: 329.2 kB / 1.578 GB, free: 14.12 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.0142/0.8613, allocations: 3.146 MB / 1.582 GB, free: 10.96 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03137/0.8927, allocations: 8.303 MB / 1.59 GB, free: 2.633 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02099/0.9137, allocations: 5.789 MB / 1.595 GB, free: 12.89 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 1.037/1.951, allocations: 27.08 MB / 1.622 GB, free: 64.36 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01936/1.97, allocations: 7.521 MB / 1.629 GB, free: 63.92 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03576/2.006, allocations: 10.45 MB / 1.639 GB, free: 63.74 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01965/2.026, allocations: 7.312 MB / 1.646 GB, free: 62.59 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.005138/2.031, allocations: 1.047 MB / 1.647 GB, free: 62.59 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.014/2.045, allocations: 2.998 MB / 1.65 GB, free: 62.59 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.005793/2.051, allocations: 2.699 MB / 1.653 GB, free: 62.17 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01374/2.064, allocations: 4.274 MB / 1.657 GB, free: 61.16 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02912/2.093, allocations: 18.47 MB / 1.675 GB, free: 59.29 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/2.093, allocations: 0 / 1.675 GB, free: 59.29 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.913e-06/2.093, allocations: 0 / 1.675 GB, free: 59.29 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0005936/2.094, allocations: 2.875 kB / 1.675 GB, free: 59.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.0325/2.126, allocations: 10.51 MB / 1.685 GB, free: 55.26 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/2.127, allocations: 8.219 kB / 1.685 GB, free: 55.26 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009829/2.136, allocations: 1.458 MB / 1.687 GB, free: 54.73 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02537/2.162, allocations: 11.13 MB / 1.698 GB, free: 53.13 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000582/2.162, allocations: 0.5115 MB / 1.698 GB, free: 53 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00263/2.165, allocations: 0.5133 MB / 1.699 GB, free: 52.99 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/2.185, allocations: 8.213 MB / 1.707 GB, free: 51.37 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001489/2.185, allocations: 19.52 kB / 1.707 GB, free: 51.36 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006586/2.186, allocations: 199.6 kB / 1.707 GB, free: 51.36 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001319/2.186, allocations: 140.9 kB / 1.707 GB, free: 51.36 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01314/2.199, allocations: 6.353 MB / 1.713 GB, free: 51.29 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.04529/2.245, allocations: 23.78 MB / 1.737 GB, free: 36.7 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005581/2.25, allocations: 2.475 MB / 1.739 GB, free: 35.45 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003316/2.254, allocations: 1.747 MB / 1.741 GB, free: 34.57 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009152/2.254, allocations: 237.3 kB / 1.741 GB, free: 34.49 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003575/2.258, allocations: 2.742 MB / 1.744 GB, free: 32.37 MB / 1.295 GB Notification: Performance of pre-optimization done (n=212): time 5.75e-06/2.258, allocations: 2.719 kB / 1.744 GB, free: 32.37 MB / 1.295 GB Notification: Performance of matching and sorting (n=212): time 0.01089/2.269, allocations: 5.047 MB / 1.749 GB, free: 29.87 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/2.269, allocations: 87.08 kB / 1.749 GB, free: 29.8 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01392/2.283, allocations: 8.322 MB / 1.757 GB, free: 23.14 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001045/2.284, allocations: 85.7 kB / 1.757 GB, free: 23.05 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.003796/2.288, allocations: 3.872 MB / 1.761 GB, free: 19.18 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001301/2.289, allocations: 0.7793 MB / 1.761 GB, free: 18.41 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/2.29, allocations: 0.7806 MB / 1.762 GB, free: 17.62 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.974e-05/2.29, allocations: 309.1 kB / 1.762 GB, free: 17.32 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/2.293, allocations: 1.732 MB / 1.764 GB, free: 15.58 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00426/2.298, allocations: 5.19 MB / 1.769 GB, free: 9.332 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006303/2.304, allocations: 4.42 MB / 1.773 GB, free: 4.578 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-05/2.304, allocations: 8 kB / 1.774 GB, free: 4.57 MB / 1.295 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01082/2.315, allocations: 5.171 MB / 1.779 GB, free: 15.53 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/2.315, allocations: 22.19 kB / 1.779 GB, free: 15.51 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-05/2.315, allocations: 28 kB / 1.779 GB, free: 15.48 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.798e-05/2.315, allocations: 48 kB / 1.779 GB, free: 15.44 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/2.318, allocations: 0.835 MB / 1.779 GB, free: 14.65 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.741e-05/2.318, allocations: 68.81 kB / 1.78 GB, free: 14.6 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007376/2.326, allocations: 0.5679 MB / 1.78 GB, free: 14.04 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004793/2.326, allocations: 156 kB / 1.78 GB, free: 13.88 MB / 1.311 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.007279/2.333, allocations: 3.046 MB / 1.783 GB, free: 10.88 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003173/2.337, allocations: 0.6831 MB / 1.784 GB, free: 10.19 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/2.348, allocations: 4.175 MB / 1.788 GB, free: 6.027 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.461e-05/2.348, allocations: 31.98 kB / 1.788 GB, free: 5.996 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/2.348, allocations: 0 / 1.788 GB, free: 5.996 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007331/2.355, allocations: 3.328 MB / 1.791 GB, free: 2.621 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.03395/2.389, allocations: 9.584 MB / 1.801 GB, free: 9.043 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/2.389, allocations: 4.031 kB / 1.801 GB, free: 9.039 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00308/2.392, allocations: 0.5674 MB / 1.801 GB, free: 8.496 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.161e-05/2.392, allocations: 8 kB / 1.801 GB, free: 8.488 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005357/2.393, allocations: 83.94 kB / 1.801 GB, free: 8.406 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.287e-05/2.393, allocations: 8 kB / 1.801 GB, free: 8.398 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/2.393, allocations: 11.27 kB / 1.801 GB, free: 8.391 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/2.409, allocations: 6.268 MB / 1.807 GB, free: 2.082 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005814/2.414, allocations: 1.33 MB / 1.809 GB, free: 0.7578 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00271/2.417, allocations: 51.98 kB / 1.809 GB, free: 0.707 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006354/2.424, allocations: 283.5 kB / 1.809 GB, free: 440 kB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006772/2.424, allocations: 149.7 kB / 1.809 GB, free: 292 kB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000699/2.425, allocations: 115.8 kB / 1.809 GB, free: 176 kB / 1.326 GB Notification: Performance of sorting global known variables: time 0.01638/2.441, allocations: 5.853 MB / 1.815 GB, free: 10.36 MB / 1.342 GB Notification: Performance of sort global known variables: time 3.01e-07/2.441, allocations: 8 kB / 1.815 GB, free: 10.35 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.01099/2.452, allocations: 2.175 MB / 1.817 GB, free: 8.172 MB / 1.342 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.003242/2.455, allocations: 1.069 MB / 1.818 GB, free: 7.223 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.01083/2.466, allocations: 3.836 MB / 1.822 GB, free: 3.496 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/2.466, allocations: 4 kB / 1.822 GB, free: 3.492 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.004497/2.471, allocations: 1.65 MB / 1.823 GB, free: 1.883 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02274/2.494, allocations: 3.742 MB / 1.827 GB, free: 14.31 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04733/2.541, allocations: 15.99 MB / 1.843 GB, free: 14.41 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01038/2.551, allocations: 5.019 MB / 1.848 GB, free: 9.363 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.01013/2.561, allocations: 1.926 MB / 1.85 GB, free: 7.465 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002989/2.564, allocations: 0.4985 MB / 1.85 GB, free: 6.969 MB / 1.373 GB Notification: Performance of SimCode: time 1.272e-06/2.564, allocations: 0 / 1.85 GB, free: 6.969 MB / 1.373 GB Notification: Performance of Templates: time 0.2674/2.832, allocations: 151.6 MB / 1.998 GB, free: 1.848 MB / 1.514 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.213588809594512]