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.001754/0.001754, allocations: 80.83 kB / 19.18 MB, free: 2.527 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.001764/0.001764, allocations: 164.9 kB / 22.46 MB, free: 5.355 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.557/1.557, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.909/2.909, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.9815 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.985e-05/3.21e-05, allocations: 6.281 kB / 0.9815 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002605/0.002637, allocations: 1.34 MB / 0.9828 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.8448/0.8474, allocations: 129.9 MB / 1.11 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.8475, allocations: 0.6875 kB / 1.11 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.809e-05/0.8475, allocations: 5.625 kB / 1.11 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.8477, allocations: 43.53 kB / 1.11 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.8489, allocations: 366.9 kB / 1.11 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000145/0.8491, allocations: 66.31 kB / 1.11 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.8491, allocations: 3.859 kB / 1.11 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.708e-05/0.8492, allocations: 40.31 kB / 1.11 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.8493, allocations: 56.47 kB / 1.11 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.8494, allocations: 5.688 kB / 1.11 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008143/0.8502, allocations: 372.4 kB / 1.111 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.8503, allocations: 28.5 kB / 1.111 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.8503, allocations: 21.08 kB / 1.111 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006213/0.8509, allocations: 298 kB / 1.111 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.8509, allocations: 2.688 kB / 1.111 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8509, allocations: 0 / 1.111 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.851, allocations: 0.8125 kB / 1.111 GB, free: 14.21 MB / 0.9981 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.0004476/0.8514, allocations: 329.2 kB / 1.111 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8514, allocations: 9.031 kB / 1.111 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.8515, allocations: 8.578 kB / 1.111 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.958e-05/0.8516, allocations: 109 kB / 1.111 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.8516, allocations: 2.062 kB / 1.111 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.8516, allocations: 2.812 kB / 1.111 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.8518, allocations: 96.66 kB / 1.111 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.8518, allocations: 0 / 1.111 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.8518, allocations: 3.078 kB / 1.111 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.816e-05/0.8519, allocations: 17.72 kB / 1.111 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.852, allocations: 84.95 kB / 1.111 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.8525, allocations: 283.7 kB / 1.112 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.8527, allocations: 99.39 kB / 1.112 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/0.8528, allocations: 49.05 kB / 1.112 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008105/0.8536, allocations: 87.2 kB / 1.112 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.8536, allocations: 36.05 kB / 1.112 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.8536, allocations: 0 / 1.112 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0003191/0.8539, allocations: 122.3 kB / 1.112 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.8539, allocations: 61.12 kB / 1.112 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.854, allocations: 118.8 kB / 1.112 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.854, allocations: 27.36 kB / 1.112 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.8541, allocations: 96.25 kB / 1.112 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.8541, allocations: 39.33 kB / 1.112 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.8542, allocations: 35.19 kB / 1.113 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.399e-05/0.8542, allocations: 323.5 kB / 1.113 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.313e-05/0.8543, allocations: 29 kB / 1.113 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.93e-05/0.8544, allocations: 70.73 kB / 1.113 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.8545, allocations: 117.7 kB / 1.113 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8545, allocations: 0 / 1.113 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002238/0.8548, allocations: 138.1 kB / 1.113 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.8548, allocations: 5.781 kB / 1.113 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.8548, allocations: 1.5 kB / 1.113 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.8548, allocations: 2.281 kB / 1.113 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.8549, allocations: 33.83 kB / 1.113 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.8549, allocations: 5.469 kB / 1.113 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.855, allocations: 12.5 kB / 1.113 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.855, allocations: 9.625 kB / 1.113 GB, free: 12.62 MB / 0.9981 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 6.307e-05/0.8551, allocations: 124 kB / 1.113 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.8551, allocations: 7.578 kB / 1.113 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.8553, allocations: 126 kB / 1.113 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.8553, allocations: 1.75 kB / 1.113 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.8553, allocations: 4 kB / 1.113 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.8553, allocations: 2.281 kB / 1.113 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.8555, allocations: 130.3 kB / 1.114 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8555, allocations: 0.7812 kB / 1.114 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.415e-05/0.8555, allocations: 21.52 kB / 1.114 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.8555, allocations: 0.8125 kB / 1.114 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.8556, allocations: 1.578 kB / 1.114 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.8556, allocations: 0.7188 kB / 1.114 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8556, allocations: 4.969 kB / 1.114 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.8557, allocations: 195.1 kB / 1.114 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.8558, allocations: 17.41 kB / 1.114 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.8558, allocations: 6.906 kB / 1.114 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.793e-05/0.8559, allocations: 0.8125 kB / 1.114 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.8559, allocations: 10.53 kB / 1.114 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.8559, allocations: 3.219 kB / 1.114 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.319e-05/0.8559, allocations: 85.08 kB / 1.114 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8559, allocations: 0 / 1.114 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004152/0.8563, allocations: 80.78 kB / 1.114 GB, free: 12.1 MB / 0.9981 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.0004002/0.8567, allocations: 200.2 kB / 1.114 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.8569, allocations: 84.34 kB / 1.114 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.8569, allocations: 0.7188 kB / 1.114 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.948e-05/0.857, allocations: 35.48 kB / 1.114 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.8573, allocations: 18.42 kB / 1.114 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.8577, allocations: 180.1 kB / 1.115 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.325e-05/0.8577, allocations: 77.95 kB / 1.115 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.8579, allocations: 53.31 kB / 1.115 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.8579, allocations: 15.72 kB / 1.115 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.8579, allocations: 0 / 1.115 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of Templates: time 0.007743/0.8656, allocations: 1.946 MB / 1.117 GB, free: 11.59 MB / 0.9981 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: 9.395097889006138]