Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002007/0.002007, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002416/0.002416, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.572/1.572, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.779/2.779, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.443e-05/3.697e-05, allocations: 3.078 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003965/0.004002, allocations: 1.356 MB / 0.7877 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2075/0.2115, allocations: 129.9 MB / 0.9146 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.2115, allocations: 0 / 0.9146 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 6.315e-05/0.2116, allocations: 3.938 kB / 0.9146 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.2118, allocations: 47.78 kB / 0.9146 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.2133, allocations: 370.2 kB / 0.915 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.2135, allocations: 63.81 kB / 0.915 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.2136, allocations: 11.92 kB / 0.915 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.396e-05/0.2136, allocations: 35.91 kB / 0.9151 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.2138, allocations: 63.84 kB / 0.9151 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.2138, allocations: 0 / 0.9151 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008978/0.2147, allocations: 367 kB / 0.9155 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.2148, allocations: 31.91 kB / 0.9155 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.2148, allocations: 15.98 kB / 0.9155 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000666/0.2155, allocations: 299.2 kB / 0.9158 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2155, allocations: 0 / 0.9158 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2155, allocations: 3.938 kB / 0.9158 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2155, allocations: 0 / 0.9158 GB, free: 7.82 MB / 0.8698 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.0005782/0.2161, allocations: 321.7 kB / 0.9161 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2161, allocations: 8.031 kB / 0.9161 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.2162, allocations: 12.89 kB / 0.9161 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.2163, allocations: 117.7 kB / 0.9163 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2163, allocations: 384 / 0.9163 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2163, allocations: 4.375 kB / 0.9163 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.2166, allocations: 101.6 kB / 0.9164 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2166, allocations: 3.984 kB / 0.9164 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2166, allocations: 0 / 0.9164 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/0.2166, allocations: 8 kB / 0.9164 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.2168, allocations: 79.89 kB / 0.9164 GB, free: 7.117 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.2173, allocations: 284.3 kB / 0.9167 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.2175, allocations: 94.53 kB / 0.9168 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.617e-05/0.2176, allocations: 52.83 kB / 0.9169 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007787/0.2184, allocations: 91.89 kB / 0.9169 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.2185, allocations: 38.59 kB / 0.917 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.2185, allocations: 0 / 0.917 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0003313/0.2188, allocations: 121.6 kB / 0.9171 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.2189, allocations: 55.41 kB / 0.9172 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.219, allocations: 109.8 kB / 0.9173 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.219, allocations: 33.64 kB / 0.9173 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.161e-05/0.2191, allocations: 104.3 kB / 0.9174 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.2191, allocations: 35.66 kB / 0.9174 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.2192, allocations: 33.7 kB / 0.9175 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.2194, allocations: 326.8 kB / 0.9178 GB, free: 5.66 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.048e-05/0.2194, allocations: 27.98 kB / 0.9178 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.2195, allocations: 73.06 kB / 0.9179 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.2197, allocations: 113.1 kB / 0.918 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2197, allocations: 0 / 0.918 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002499/0.22, allocations: 149.4 kB / 0.9181 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.22, allocations: 4 kB / 0.9181 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.22, allocations: 4.25 kB / 0.9181 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.22, allocations: 0 / 0.9181 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2201, allocations: 35.92 kB / 0.9182 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2201, allocations: 0 / 0.9182 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/0.2202, allocations: 20.05 kB / 0.9182 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.2202, allocations: 8 kB / 0.9182 GB, free: 5.191 MB / 0.8698 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.0001299/0.2203, allocations: 125.7 kB / 0.9183 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.2204, allocations: 8 kB / 0.9183 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.2206, allocations: 118.6 kB / 0.9184 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.2206, allocations: 4 kB / 0.9184 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2207, allocations: 0 / 0.9184 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2207, allocations: 0 / 0.9184 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.2209, allocations: 141.1 kB / 0.9186 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2209, allocations: 0 / 0.9186 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.403e-05/0.2209, allocations: 23.92 kB / 0.9186 GB, free: 4.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2209, allocations: 0 / 0.9186 GB, free: 4.73 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2209, allocations: 0 / 0.9186 GB, free: 4.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2209, allocations: 3.938 kB / 0.9186 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2209, allocations: 0 / 0.9186 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.2212, allocations: 203.4 kB / 0.9188 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.2213, allocations: 11.98 kB / 0.9188 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.2213, allocations: 4 kB / 0.9188 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.027e-05/0.2213, allocations: 3.984 kB / 0.9188 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.2214, allocations: 8 kB / 0.9188 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.2214, allocations: 0 / 0.9188 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.215e-05/0.2214, allocations: 91.27 kB / 0.9189 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.2214, allocations: 4 kB / 0.9189 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004295/0.2219, allocations: 79.73 kB / 0.919 GB, free: 4.312 MB / 0.8698 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.0004636/0.2223, allocations: 196.3 kB / 0.9192 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.2225, allocations: 79.89 kB / 0.9192 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2225, allocations: 4 kB / 0.9192 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.069e-05/0.2226, allocations: 32.36 kB / 0.9193 GB, free: 4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.2229, allocations: 20.77 kB / 0.9193 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.2234, allocations: 185.3 kB / 0.9195 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.962e-05/0.2235, allocations: 75.64 kB / 0.9195 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001418/0.2236, allocations: 52.38 kB / 0.9196 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.2237, allocations: 16.5 kB / 0.9196 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of SimCode: time 7.61e-07/0.2237, allocations: 4 kB / 0.9196 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of Templates: time 0.006387/0.23, allocations: 1.964 MB / 0.9215 GB, free: 1.715 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.762795681017451]