Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008041/0.0008041, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008038/0.0008038, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8399/0.8399, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.714/1.714, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.08e-05, allocations: 2.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001595/0.001616, allocations: 1.345 MB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5171/0.5187, allocations: 129.9 MB / 1.129 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.5188, allocations: 3.969 kB / 1.129 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.713e-05/0.5188, allocations: 1.453 kB / 1.129 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.519, allocations: 49.47 kB / 1.129 GB, free: 2.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009928/0.52, allocations: 359.1 kB / 1.129 GB, free: 2.594 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.5201, allocations: 71.83 kB / 1.13 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.5202, allocations: 2.75 kB / 1.13 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.5202, allocations: 36.86 kB / 1.13 GB, free: 2.562 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.5203, allocations: 62.92 kB / 1.13 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.5203, allocations: 2.812 kB / 1.13 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005286/0.5209, allocations: 365.6 kB / 1.13 GB, free: 2.426 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.5209, allocations: 31.12 kB / 1.13 GB, free: 2.414 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.521, allocations: 20.17 kB / 1.13 GB, free: 2.41 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.5214, allocations: 297.2 kB / 1.13 GB, free: 2.324 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5214, allocations: 1.125 kB / 1.13 GB, free: 2.324 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5214, allocations: 0 / 1.13 GB, free: 2.324 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.5214, allocations: 0 / 1.13 GB, free: 2.324 MB / 0.9948 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.0003361/0.5217, allocations: 330.9 kB / 1.131 GB, free: 2.016 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5218, allocations: 14.19 kB / 1.131 GB, free: 2.012 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.5218, allocations: 4.328 kB / 1.131 GB, free: 2.012 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.854e-05/0.5219, allocations: 105.4 kB / 1.131 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.5219, allocations: 6.969 kB / 1.131 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.5219, allocations: 6.281 kB / 1.131 GB, free: 1.879 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.522, allocations: 95.5 kB / 1.131 GB, free: 1.828 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.522, allocations: 0.7969 kB / 1.131 GB, free: 1.828 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.5221, allocations: 5.234 kB / 1.131 GB, free: 1.824 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.5221, allocations: 11.39 kB / 1.131 GB, free: 1.824 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.5222, allocations: 83.88 kB / 1.131 GB, free: 1.805 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.5225, allocations: 283.5 kB / 1.131 GB, free: 1.57 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.5226, allocations: 106.7 kB / 1.131 GB, free: 1.52 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.5227, allocations: 45.11 kB / 1.131 GB, free: 1.504 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004574/0.5232, allocations: 87.64 kB / 1.131 GB, free: 1.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.5232, allocations: 32.39 kB / 1.131 GB, free: 1.461 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.5232, allocations: 1.688 kB / 1.131 GB, free: 1.461 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.0002124/0.5234, allocations: 125.5 kB / 1.132 GB, free: 1.402 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.5234, allocations: 53.62 kB / 1.132 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.487e-05/0.5235, allocations: 122.5 kB / 1.132 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.5235, allocations: 27.72 kB / 1.132 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.5235, allocations: 98.64 kB / 1.132 GB, free: 1.098 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.5235, allocations: 43.94 kB / 1.132 GB, free: 1.062 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.5236, allocations: 36.17 kB / 1.132 GB, free: 1.035 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.868e-05/0.5236, allocations: 319.6 kB / 1.132 GB, free: 0.7188 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.926e-05/0.5236, allocations: 28.92 kB / 1.132 GB, free: 0.7148 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/0.5237, allocations: 74.73 kB / 1.132 GB, free: 0.6562 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.856e-05/0.5238, allocations: 117.5 kB / 1.132 GB, free: 0.582 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5238, allocations: 0 / 1.132 GB, free: 0.582 MB / 0.9948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001378/0.5239, allocations: 141.5 kB / 1.133 GB, free: 0.5195 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.5239, allocations: 5.906 kB / 1.133 GB, free: 0.5195 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.5239, allocations: 1.031 kB / 1.133 GB, free: 0.5195 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5239, allocations: 6.688 kB / 1.133 GB, free: 0.5156 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.891e-05/0.524, allocations: 29.34 kB / 1.133 GB, free: 0.5117 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.475e-06/0.524, allocations: 3.125 kB / 1.133 GB, free: 0.5117 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.5241, allocations: 15.2 kB / 1.133 GB, free: 0.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.5241, allocations: 8.5 kB / 1.133 GB, free: 0.4961 MB / 0.9948 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 4.653e-05/0.5241, allocations: 124.2 kB / 1.133 GB, free: 384 kB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.5241, allocations: 8.203 kB / 1.133 GB, free: 380 kB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.5243, allocations: 120.3 kB / 1.133 GB, free: 324 kB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.5243, allocations: 5.312 kB / 1.133 GB, free: 320 kB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5243, allocations: 1.406 kB / 1.133 GB, free: 320 kB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5243, allocations: 4.734 kB / 1.133 GB, free: 316 kB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.371e-05/0.5244, allocations: 129.8 kB / 1.133 GB, free: 176 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.5244, allocations: 0 / 1.133 GB, free: 176 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.5244, allocations: 16.92 kB / 1.133 GB, free: 176 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.5244, allocations: 5.094 kB / 1.133 GB, free: 172 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.5244, allocations: 5.781 kB / 1.133 GB, free: 168 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5244, allocations: 1.25 kB / 1.133 GB, free: 168 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.5244, allocations: 0 / 1.133 GB, free: 168 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.5245, allocations: 198.1 kB / 1.133 GB, free: 12 kB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.5246, allocations: 18.73 kB / 1.133 GB, free: 4 kB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-06/0.5246, allocations: 3.938 kB / 1.133 GB, free: 0 / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.287e-05/0.5246, allocations: 5.516 kB / 1.133 GB, free: 15.99 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.5247, allocations: 7.062 kB / 1.133 GB, free: 15.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.5247, allocations: 2.844 kB / 1.133 GB, free: 15.99 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.5247, allocations: 90.64 kB / 1.133 GB, free: 15.91 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.5247, allocations: 0 / 1.133 GB, free: 15.91 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002403/0.5249, allocations: 81.05 kB / 1.133 GB, free: 15.89 MB / 1.01 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.0002888/0.5252, allocations: 197.5 kB / 1.134 GB, free: 15.77 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.5254, allocations: 87.08 kB / 1.134 GB, free: 15.75 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5254, allocations: 0 / 1.134 GB, free: 15.75 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.39e-05/0.5254, allocations: 36.14 kB / 1.134 GB, free: 15.74 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.5256, allocations: 16 kB / 1.134 GB, free: 15.73 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.5259, allocations: 204.3 kB / 1.134 GB, free: 15.58 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.506e-05/0.526, allocations: 74.83 kB / 1.134 GB, free: 15.51 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.526, allocations: 21.19 kB / 1.134 GB, free: 15.5 MB / 1.01 GB Notification: Performance of SimCode: time 6.91e-07/0.526, allocations: 0 / 1.134 GB, free: 15.5 MB / 1.01 GB Notification: Performance of Templates: time 0.003545/0.5295, allocations: 1.942 MB / 1.136 GB, free: 15.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.826186626218259]