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.001681/0.001681, allocations: 104.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.001939/0.001939, allocations: 216.4 kB / 22.99 MB, free: 4.945 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.592/1.592, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.377/3.377, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002094/0.002094, allocations: 62.98 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4545, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002793/0.4573, allocations: 1.344 MB / 1.366 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1865/0.6438, allocations: 129.8 MB / 1.493 GB, free: 9.871 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.6439, allocations: 3.938 kB / 1.493 GB, free: 9.867 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 5.309e-05/0.644, allocations: 4 kB / 1.493 GB, free: 9.863 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.6442, allocations: 43.86 kB / 1.493 GB, free: 9.82 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.6457, allocations: 358.5 kB / 1.493 GB, free: 9.469 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.6459, allocations: 63.81 kB / 1.493 GB, free: 9.406 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.6459, allocations: 4 kB / 1.493 GB, free: 9.402 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 6.228e-05/0.646, allocations: 27.97 kB / 1.493 GB, free: 9.375 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.6462, allocations: 63.8 kB / 1.493 GB, free: 9.312 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.6462, allocations: 4 kB / 1.493 GB, free: 9.309 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008834/0.6471, allocations: 355.2 kB / 1.494 GB, free: 8.961 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 8.113e-05/0.6471, allocations: 39.88 kB / 1.494 GB, free: 8.922 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.6472, allocations: 19.94 kB / 1.494 GB, free: 8.902 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0006479/0.6478, allocations: 267.2 kB / 1.494 GB, free: 8.641 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6478, allocations: 0 / 1.494 GB, free: 8.641 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6478, allocations: 0 / 1.494 GB, free: 8.641 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.6479, allocations: 0 / 1.494 GB, free: 8.641 MB / 1.186 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.0005921/0.6484, allocations: 333.6 kB / 1.494 GB, free: 8.285 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.6485, allocations: 8.031 kB / 1.494 GB, free: 8.277 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.6485, allocations: 4.938 kB / 1.494 GB, free: 8.273 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.6487, allocations: 109.5 kB / 1.494 GB, free: 8.141 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.6487, allocations: 7.984 kB / 1.494 GB, free: 8.133 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.6487, allocations: 4 kB / 1.494 GB, free: 8.129 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.6489, allocations: 97.59 kB / 1.495 GB, free: 8.027 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.6489, allocations: 0 / 1.495 GB, free: 8.027 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.6489, allocations: 3.938 kB / 1.495 GB, free: 8.023 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.736e-05/0.649, allocations: 11.98 kB / 1.495 GB, free: 8.012 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.6491, allocations: 79.95 kB / 1.495 GB, free: 7.934 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.6497, allocations: 292.3 kB / 1.495 GB, free: 7.617 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.6499, allocations: 90.48 kB / 1.495 GB, free: 7.52 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.6499, allocations: 52.89 kB / 1.495 GB, free: 7.465 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007533/0.6507, allocations: 91.89 kB / 1.495 GB, free: 7.375 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.6507, allocations: 34.56 kB / 1.495 GB, free: 7.332 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.6507, allocations: 0 / 1.495 GB, free: 7.332 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0003311/0.6511, allocations: 125.6 kB / 1.495 GB, free: 7.203 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.6511, allocations: 55.34 kB / 1.495 GB, free: 7.137 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.6512, allocations: 113.8 kB / 1.495 GB, free: 7.016 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.6513, allocations: 29.7 kB / 1.495 GB, free: 6.98 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.6513, allocations: 104.3 kB / 1.496 GB, free: 6.875 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.6514, allocations: 35.7 kB / 1.496 GB, free: 6.84 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.6514, allocations: 37.66 kB / 1.496 GB, free: 6.797 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6516, allocations: 318.8 kB / 1.496 GB, free: 6.477 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.198e-05/0.6517, allocations: 32.17 kB / 1.496 GB, free: 6.445 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.6518, allocations: 77.12 kB / 1.496 GB, free: 6.352 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.6519, allocations: 113.4 kB / 1.496 GB, free: 6.223 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6519, allocations: 8 kB / 1.496 GB, free: 6.215 MB / 1.186 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002265/0.6522, allocations: 129.5 kB / 1.496 GB, free: 6.082 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6522, allocations: 11.98 kB / 1.496 GB, free: 6.07 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.6522, allocations: 3.938 kB / 1.496 GB, free: 6.066 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.6522, allocations: 4 kB / 1.496 GB, free: 6.062 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.6523, allocations: 27.92 kB / 1.496 GB, free: 6.035 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.6523, allocations: 7.984 kB / 1.496 GB, free: 6.027 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.6524, allocations: 7.953 kB / 1.496 GB, free: 6.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.6524, allocations: 16.14 kB / 1.496 GB, free: 6.004 MB / 1.186 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.0001129/0.6525, allocations: 125.7 kB / 1.496 GB, free: 5.871 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.6526, allocations: 7.953 kB / 1.496 GB, free: 5.863 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/0.6528, allocations: 125.9 kB / 1.497 GB, free: 5.73 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6528, allocations: 0 / 1.497 GB, free: 5.73 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6529, allocations: 4 kB / 1.497 GB, free: 5.727 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6529, allocations: 0 / 1.497 GB, free: 5.727 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.653, allocations: 129.2 kB / 1.497 GB, free: 5.57 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.653, allocations: 4 kB / 1.497 GB, free: 5.566 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.494e-05/0.6531, allocations: 23.92 kB / 1.497 GB, free: 5.543 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.6531, allocations: 3.938 kB / 1.497 GB, free: 5.539 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.6531, allocations: 0 / 1.497 GB, free: 5.539 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.6531, allocations: 3.938 kB / 1.497 GB, free: 5.535 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6531, allocations: 0 / 1.497 GB, free: 5.535 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.6534, allocations: 195.5 kB / 1.497 GB, free: 5.328 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.6534, allocations: 19.88 kB / 1.497 GB, free: 5.309 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.6534, allocations: 4 kB / 1.497 GB, free: 5.305 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.6535, allocations: 3.938 kB / 1.497 GB, free: 5.301 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.6535, allocations: 7.984 kB / 1.497 GB, free: 5.293 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.6535, allocations: 8 kB / 1.497 GB, free: 5.285 MB / 1.186 GB Notification: Performance of sorting global known variables: time 6.801e-05/0.6536, allocations: 99.2 kB / 1.497 GB, free: 5.188 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6536, allocations: 0 / 1.497 GB, free: 5.188 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003828/0.654, allocations: 79.73 kB / 1.497 GB, free: 5.109 MB / 1.186 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.0003994/0.6544, allocations: 178.9 kB / 1.497 GB, free: 4.926 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.6546, allocations: 87.83 kB / 1.497 GB, free: 4.84 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6546, allocations: 0 / 1.497 GB, free: 4.84 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 5.71e-05/0.6546, allocations: 35.92 kB / 1.497 GB, free: 4.805 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.6549, allocations: 19.58 kB / 1.497 GB, free: 4.789 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.6554, allocations: 196.6 kB / 1.498 GB, free: 4.566 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.878e-05/0.6555, allocations: 75.33 kB / 1.498 GB, free: 4.473 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.6555, allocations: 19.75 kB / 1.498 GB, free: 4.453 MB / 1.186 GB Notification: Performance of SimCode: time 3.41e-07/0.6555, allocations: 4 kB / 1.498 GB, free: 4.449 MB / 1.186 GB Notification: Performance of Templates: time 0.004856/0.6604, allocations: 1.911 MB / 1.5 GB, free: 2.547 MB / 1.186 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/jenkins1/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: 12.859745438210666]