Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.001514/0.001514, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.0017/0.0017, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.722/1.722, allocations: 230.6 MB / 256 MB, free: 7.809 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.471/3.471, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [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.002086/0.002086, allocations: 70.55 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4361, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003018/0.4391, allocations: 1.34 MB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.201/0.6401, allocations: 129.8 MB / 1.454 GB, free: 14.18 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.6402, allocations: 0 / 1.454 GB, free: 14.18 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 5.106e-05/0.6403, allocations: 3.984 kB / 1.454 GB, free: 14.18 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.6405, allocations: 47.88 kB / 1.454 GB, free: 14.13 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.6419, allocations: 354.5 kB / 1.454 GB, free: 13.79 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.642, allocations: 67.81 kB / 1.454 GB, free: 13.72 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.6421, allocations: 0 / 1.454 GB, free: 13.72 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 6.041e-05/0.6421, allocations: 43.84 kB / 1.454 GB, free: 13.68 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.6423, allocations: 59.86 kB / 1.454 GB, free: 13.62 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.6423, allocations: 0 / 1.454 GB, free: 13.62 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008336/0.6431, allocations: 363.2 kB / 1.455 GB, free: 13.26 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 7.752e-05/0.6432, allocations: 27.95 kB / 1.455 GB, free: 13.23 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.6432, allocations: 27.86 kB / 1.455 GB, free: 13.21 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0005553/0.6438, allocations: 271.2 kB / 1.455 GB, free: 12.94 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.6438, allocations: 0 / 1.455 GB, free: 12.94 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.195e-06/0.6438, allocations: 0 / 1.455 GB, free: 12.94 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.6438, allocations: 0 / 1.455 GB, free: 12.94 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006073/0.6444, allocations: 321.7 kB / 1.455 GB, free: 12.6 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.6445, allocations: 12.03 kB / 1.455 GB, free: 12.59 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.6445, allocations: 12.89 kB / 1.455 GB, free: 12.57 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.6447, allocations: 114.4 kB / 1.455 GB, free: 12.44 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.6447, allocations: 7.938 kB / 1.455 GB, free: 12.43 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.6447, allocations: 4 kB / 1.455 GB, free: 12.43 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.645, allocations: 85.66 kB / 1.455 GB, free: 12.34 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.645, allocations: 4 kB / 1.455 GB, free: 12.33 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.645, allocations: 0 / 1.455 GB, free: 12.33 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.174e-05/0.645, allocations: 15.98 kB / 1.455 GB, free: 12.32 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.6452, allocations: 75.95 kB / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.6457, allocations: 300.2 kB / 1.456 GB, free: 11.92 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.6459, allocations: 98.47 kB / 1.456 GB, free: 11.81 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.88e-05/0.646, allocations: 44.91 kB / 1.456 GB, free: 11.77 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007494/0.6468, allocations: 83.89 kB / 1.456 GB, free: 11.68 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.6468, allocations: 34.56 kB / 1.456 GB, free: 11.64 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.6468, allocations: 0 / 1.456 GB, free: 11.64 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0003102/0.6471, allocations: 129.6 kB / 1.456 GB, free: 11.51 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.6472, allocations: 55.41 kB / 1.456 GB, free: 11.44 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.6473, allocations: 113.8 kB / 1.456 GB, free: 11.32 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.6473, allocations: 29.7 kB / 1.456 GB, free: 11.29 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.6474, allocations: 104.3 kB / 1.456 GB, free: 11.18 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.6474, allocations: 35.69 kB / 1.456 GB, free: 11.14 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.6475, allocations: 33.72 kB / 1.457 GB, free: 11.11 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.6477, allocations: 318.8 kB / 1.457 GB, free: 10.79 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.692e-05/0.6477, allocations: 31.92 kB / 1.457 GB, free: 10.75 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.784e-05/0.6478, allocations: 71.38 kB / 1.457 GB, free: 10.67 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.648, allocations: 121 kB / 1.457 GB, free: 10.53 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.648, allocations: 0 / 1.457 GB, free: 10.53 MB / 1.154 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002175/0.6482, allocations: 141.9 kB / 1.457 GB, free: 10.39 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.6482, allocations: 4 kB / 1.457 GB, free: 10.38 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6482, allocations: 4 kB / 1.457 GB, free: 10.38 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.6483, allocations: 4.156 kB / 1.457 GB, free: 10.38 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.6484, allocations: 27.98 kB / 1.457 GB, free: 10.35 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.6484, allocations: 7.875 kB / 1.457 GB, free: 10.34 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.395e-05/0.6484, allocations: 11.95 kB / 1.457 GB, free: 10.33 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.6485, allocations: 8 kB / 1.457 GB, free: 10.32 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001199/0.6486, allocations: 128.5 kB / 1.457 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.6486, allocations: 3.953 kB / 1.457 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.6489, allocations: 130 kB / 1.457 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.6489, allocations: 4 kB / 1.457 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.6489, allocations: 3.938 kB / 1.457 GB, free: 10.04 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-06/0.6489, allocations: 0 / 1.457 GB, free: 10.04 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.6491, allocations: 121.5 kB / 1.458 GB, free: 9.895 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6491, allocations: 8 kB / 1.458 GB, free: 9.887 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.922e-05/0.6492, allocations: 19.98 kB / 1.458 GB, free: 9.867 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6492, allocations: 0 / 1.458 GB, free: 9.867 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.6492, allocations: 4 kB / 1.458 GB, free: 9.863 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.6492, allocations: 0 / 1.458 GB, free: 9.863 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6492, allocations: 0 / 1.458 GB, free: 9.863 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.6494, allocations: 203.3 kB / 1.458 GB, free: 9.648 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.6494, allocations: 35.81 kB / 1.458 GB, free: 9.613 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.6495, allocations: 0 / 1.458 GB, free: 9.613 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.6495, allocations: 0 / 1.458 GB, free: 9.613 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.6495, allocations: 15.92 kB / 1.458 GB, free: 9.598 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.6495, allocations: 3.938 kB / 1.458 GB, free: 9.594 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.894e-05/0.6496, allocations: 83.28 kB / 1.458 GB, free: 9.512 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.6496, allocations: 0 / 1.458 GB, free: 9.512 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003825/0.65, allocations: 83.73 kB / 1.458 GB, free: 9.43 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0004103/0.6504, allocations: 194.9 kB / 1.458 GB, free: 9.23 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.6506, allocations: 84 kB / 1.458 GB, free: 9.148 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6506, allocations: 0 / 1.458 GB, free: 9.148 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 5.628e-05/0.6507, allocations: 35.92 kB / 1.458 GB, free: 9.113 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.651, allocations: 20.28 kB / 1.458 GB, free: 9.094 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.6514, allocations: 173.8 kB / 1.459 GB, free: 8.902 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.878e-05/0.6515, allocations: 75.33 kB / 1.459 GB, free: 8.809 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.6516, allocations: 52.81 kB / 1.459 GB, free: 8.754 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.6517, allocations: 15.44 kB / 1.459 GB, free: 8.738 MB / 1.154 GB Notification: Performance of SimCode: time 3.6e-07/0.6517, allocations: 0 / 1.459 GB, free: 8.738 MB / 1.154 GB Notification: Performance of Templates: time 0.005904/0.6576, allocations: 1.975 MB / 1.461 GB, free: 6.824 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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: 10.257334409281611]