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.001452/0.001452, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.001916/0.001916, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.333/3.333, allocations: 0.4892 GB / 0.7951 GB, free: 35.61 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.002095/0.002095, allocations: 69 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4293, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002897/0.4322, allocations: 1.354 MB / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2089/0.641, allocations: 129.8 MB / 1.454 GB, free: 14.14 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.6411, allocations: 0 / 1.454 GB, free: 14.14 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.756e-05/0.6412, allocations: 3.984 kB / 1.454 GB, free: 14.14 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.6414, allocations: 39.75 kB / 1.454 GB, free: 14.1 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.6428, allocations: 362.5 kB / 1.455 GB, free: 13.75 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.6429, allocations: 67.77 kB / 1.455 GB, free: 13.68 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.643, allocations: 4 kB / 1.455 GB, free: 13.68 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.366e-05/0.643, allocations: 31.95 kB / 1.455 GB, free: 13.64 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.6432, allocations: 51.88 kB / 1.455 GB, free: 13.59 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.6432, allocations: 11.94 kB / 1.455 GB, free: 13.58 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007501/0.6439, allocations: 367.2 kB / 1.455 GB, free: 13.22 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.935e-05/0.644, allocations: 27.91 kB / 1.455 GB, free: 13.2 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.6441, allocations: 27.92 kB / 1.455 GB, free: 13.17 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.6445, allocations: 271.1 kB / 1.456 GB, free: 12.9 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6445, allocations: 0 / 1.456 GB, free: 12.9 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6445, allocations: 0 / 1.456 GB, free: 12.9 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.6446, allocations: 0 / 1.456 GB, free: 12.9 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.0005151/0.6451, allocations: 317.7 kB / 1.456 GB, free: 12.56 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.6451, allocations: 8.031 kB / 1.456 GB, free: 12.55 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.6452, allocations: 16.83 kB / 1.456 GB, free: 12.54 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.6453, allocations: 118.5 kB / 1.456 GB, free: 12.4 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.6453, allocations: 3.938 kB / 1.456 GB, free: 12.39 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.6453, allocations: 4 kB / 1.456 GB, free: 12.39 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.6455, allocations: 89.59 kB / 1.456 GB, free: 12.3 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.6455, allocations: 0 / 1.456 GB, free: 12.3 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.6455, allocations: 4 kB / 1.456 GB, free: 12.29 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.6456, allocations: 15.98 kB / 1.456 GB, free: 12.28 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.6457, allocations: 75.95 kB / 1.456 GB, free: 12.2 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.6462, allocations: 288.3 kB / 1.457 GB, free: 11.89 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.6464, allocations: 98.47 kB / 1.457 GB, free: 11.79 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-05/0.6465, allocations: 48.91 kB / 1.457 GB, free: 11.73 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007035/0.6472, allocations: 87.88 kB / 1.457 GB, free: 11.65 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.6472, allocations: 34.56 kB / 1.457 GB, free: 11.61 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.6472, allocations: 0 / 1.457 GB, free: 11.61 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0002939/0.6475, allocations: 121.5 kB / 1.457 GB, free: 11.48 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.6476, allocations: 63.42 kB / 1.457 GB, free: 11.41 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.6477, allocations: 125.8 kB / 1.457 GB, free: 11.27 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.6477, allocations: 25.7 kB / 1.457 GB, free: 11.24 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/0.6478, allocations: 100.3 kB / 1.457 GB, free: 11.14 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.6479, allocations: 43.67 kB / 1.457 GB, free: 11.1 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.6479, allocations: 33.7 kB / 1.457 GB, free: 11.06 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.6481, allocations: 318.8 kB / 1.458 GB, free: 10.74 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.555e-05/0.6482, allocations: 31.92 kB / 1.458 GB, free: 10.71 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.6483, allocations: 70.81 kB / 1.458 GB, free: 10.62 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.6484, allocations: 117.1 kB / 1.458 GB, free: 10.49 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6484, allocations: 0 / 1.458 GB, free: 10.49 MB / 1.154 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002233/0.6487, allocations: 137.4 kB / 1.458 GB, free: 10.35 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.6487, allocations: 4 kB / 1.458 GB, free: 10.34 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.6487, allocations: 4 kB / 1.458 GB, free: 10.34 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.6487, allocations: 0 / 1.458 GB, free: 10.34 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.6488, allocations: 35.92 kB / 1.458 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.6488, allocations: 8.094 kB / 1.458 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.6489, allocations: 8.203 kB / 1.458 GB, free: 10.29 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.6489, allocations: 8 kB / 1.458 GB, free: 10.28 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.000142/0.649, allocations: 130.2 kB / 1.458 GB, free: 10.14 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.6491, allocations: 7.953 kB / 1.458 GB, free: 10.14 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.6493, allocations: 122.5 kB / 1.458 GB, free: 10.01 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.6493, allocations: 4 kB / 1.458 GB, free: 10.01 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.6493, allocations: 7.922 kB / 1.458 GB, free: 10 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.6493, allocations: 4 kB / 1.458 GB, free: 9.996 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.6495, allocations: 121.3 kB / 1.458 GB, free: 9.848 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6495, allocations: 0 / 1.458 GB, free: 9.848 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.6496, allocations: 19.94 kB / 1.458 GB, free: 9.828 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.6496, allocations: 0 / 1.458 GB, free: 9.828 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.6496, allocations: 0 / 1.458 GB, free: 9.828 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.146e-06/0.6496, allocations: 7.984 kB / 1.458 GB, free: 9.82 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6496, allocations: 0 / 1.458 GB, free: 9.82 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.6498, allocations: 199.4 kB / 1.459 GB, free: 9.609 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.6499, allocations: 19.88 kB / 1.459 GB, free: 9.59 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.6499, allocations: 4 kB / 1.459 GB, free: 9.586 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.6499, allocations: 8 kB / 1.459 GB, free: 9.578 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.65, allocations: 7.984 kB / 1.459 GB, free: 9.57 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.65, allocations: 3.938 kB / 1.459 GB, free: 9.566 MB / 1.154 GB Notification: Performance of sorting global known variables: time 7.474e-05/0.6501, allocations: 91.27 kB / 1.459 GB, free: 9.477 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.6501, allocations: 0 / 1.459 GB, free: 9.477 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000354/0.6504, allocations: 79.69 kB / 1.459 GB, free: 9.398 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.0003854/0.6508, allocations: 194.8 kB / 1.459 GB, free: 9.199 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.651, allocations: 79.84 kB / 1.459 GB, free: 9.121 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.651, allocations: 0 / 1.459 GB, free: 9.121 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 5.499e-05/0.6511, allocations: 40.34 kB / 1.459 GB, free: 9.082 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.6513, allocations: 8 kB / 1.459 GB, free: 9.074 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.6518, allocations: 193.2 kB / 1.459 GB, free: 8.855 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.553e-05/0.6519, allocations: 83.23 kB / 1.459 GB, free: 8.754 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.6519, allocations: 15.44 kB / 1.459 GB, free: 8.738 MB / 1.154 GB Notification: Performance of SimCode: time 2.9e-07/0.6519, allocations: 0 / 1.459 GB, free: 8.738 MB / 1.154 GB Notification: Performance of Templates: time 0.004411/0.6563, allocations: 1.926 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/jenkins1/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: 12.630128334276378]