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.001767/0.001767, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002269/0.002269, allocations: 220 kB / 22.26 MB, free: 5.125 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.774/2.774, allocations: 476.7 MB / 0.7707 GB, free: 4.211 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) [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.001957/0.001957, allocations: 66.5 kB / 1.117 GB, free: 39.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3511, allocations: 170 MB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003191/0.3543, allocations: 1.355 MB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1884/0.5427, allocations: 151.2 MB / 1.432 GB, free: 2.121 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.5428, allocations: 0 / 1.432 GB, free: 2.121 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 4.742e-05/0.5428, allocations: 7.922 kB / 1.432 GB, free: 2.113 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.543, allocations: 39.88 kB / 1.432 GB, free: 2.074 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.5443, allocations: 362.5 kB / 1.433 GB, free: 1.719 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.5444, allocations: 67.83 kB / 1.433 GB, free: 1.652 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.5445, allocations: 7.984 kB / 1.433 GB, free: 1.645 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.5445, allocations: 35.91 kB / 1.433 GB, free: 1.609 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.5447, allocations: 55.88 kB / 1.433 GB, free: 1.555 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.5447, allocations: 0 / 1.433 GB, free: 1.555 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000933/0.5456, allocations: 443 kB / 1.433 GB, free: 1.121 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.5457, allocations: 27.91 kB / 1.433 GB, free: 1.094 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.5457, allocations: 27.86 kB / 1.433 GB, free: 1.066 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006323/0.5464, allocations: 278.8 kB / 1.434 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5464, allocations: 3.938 kB / 1.434 GB, free: 0.793 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5464, allocations: 4 kB / 1.434 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.5464, allocations: 0 / 1.434 GB, free: 0.7891 MB / 1.123 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.0005025/0.5469, allocations: 329.7 kB / 1.434 GB, free: 448 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5469, allocations: 8.031 kB / 1.434 GB, free: 440 kB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/0.547, allocations: 42.73 kB / 1.434 GB, free: 388 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.547, allocations: 4.891 kB / 1.434 GB, free: 384 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.5471, allocations: 114.2 kB / 1.434 GB, free: 244 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.5471, allocations: 0 / 1.434 GB, free: 244 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.5471, allocations: 4 kB / 1.434 GB, free: 240 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.5473, allocations: 104.5 kB / 1.434 GB, free: 132 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.5474, allocations: 4 kB / 1.434 GB, free: 128 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.5474, allocations: 0 / 1.434 GB, free: 128 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.5474, allocations: 11.98 kB / 1.434 GB, free: 116 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.5475, allocations: 75.95 kB / 1.434 GB, free: 40 kB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.548, allocations: 311.7 kB / 1.435 GB, free: 15.69 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.5482, allocations: 102.4 kB / 1.435 GB, free: 15.58 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.081e-05/0.5483, allocations: 56.89 kB / 1.435 GB, free: 15.52 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007302/0.549, allocations: 83.89 kB / 1.435 GB, free: 15.44 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.549, allocations: 30.56 kB / 1.435 GB, free: 15.4 MB / 1.139 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.549, allocations: 0 / 1.435 GB, free: 15.4 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.000281/0.5493, allocations: 133.5 kB / 1.435 GB, free: 15.27 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.5494, allocations: 55.41 kB / 1.435 GB, free: 15.2 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.5495, allocations: 109.8 kB / 1.435 GB, free: 15.08 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.5495, allocations: 29.8 kB / 1.435 GB, free: 15.05 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.5496, allocations: 108.2 kB / 1.435 GB, free: 14.94 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.5496, allocations: 31.7 kB / 1.435 GB, free: 14.91 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.5496, allocations: 37.7 kB / 1.435 GB, free: 14.86 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5498, allocations: 322.8 kB / 1.436 GB, free: 14.54 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.202e-05/0.5498, allocations: 27.98 kB / 1.436 GB, free: 14.51 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.522e-05/0.5499, allocations: 77.06 kB / 1.436 GB, free: 14.42 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.5501, allocations: 109.1 kB / 1.436 GB, free: 14.29 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5501, allocations: 0 / 1.436 GB, free: 14.29 MB / 1.139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003588/0.5504, allocations: 145.4 kB / 1.436 GB, free: 14.14 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5505, allocations: 8 kB / 1.436 GB, free: 14.14 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5505, allocations: 0 / 1.436 GB, free: 14.14 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5505, allocations: 7.938 kB / 1.436 GB, free: 14.13 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.5506, allocations: 28.08 kB / 1.436 GB, free: 14.1 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5506, allocations: 8 kB / 1.436 GB, free: 14.09 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.5506, allocations: 11.95 kB / 1.436 GB, free: 14.08 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.5507, allocations: 4 kB / 1.436 GB, free: 14.08 MB / 1.139 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.0001033/0.5508, allocations: 130.5 kB / 1.436 GB, free: 13.94 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.5508, allocations: 4 kB / 1.436 GB, free: 13.94 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.551, allocations: 130.4 kB / 1.436 GB, free: 13.8 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.551, allocations: 7.938 kB / 1.436 GB, free: 13.79 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.551, allocations: 0 / 1.436 GB, free: 13.79 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.551, allocations: 0 / 1.436 GB, free: 13.79 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.5512, allocations: 152.7 kB / 1.437 GB, free: 13.6 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5512, allocations: 0 / 1.437 GB, free: 13.6 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.931e-05/0.5513, allocations: 23.92 kB / 1.437 GB, free: 13.58 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5513, allocations: 0 / 1.437 GB, free: 13.58 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.5513, allocations: 0 / 1.437 GB, free: 13.58 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.5513, allocations: 3.938 kB / 1.437 GB, free: 13.57 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5513, allocations: 256 / 1.437 GB, free: 13.57 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.5515, allocations: 199.5 kB / 1.437 GB, free: 13.36 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.5515, allocations: 23.88 kB / 1.437 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.5516, allocations: 4 kB / 1.437 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.534e-05/0.5516, allocations: 7.938 kB / 1.437 GB, free: 13.33 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.5516, allocations: 11.92 kB / 1.437 GB, free: 13.32 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.5516, allocations: 4 kB / 1.437 GB, free: 13.31 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.519e-05/0.5517, allocations: 91.27 kB / 1.437 GB, free: 13.22 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5517, allocations: 0 / 1.437 GB, free: 13.22 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003625/0.5521, allocations: 79.73 kB / 1.437 GB, free: 13.14 MB / 1.139 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.0007662/0.5528, allocations: 0.8097 MB / 1.438 GB, free: 12.31 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.553, allocations: 80.23 kB / 1.438 GB, free: 12.23 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.553, allocations: 0 / 1.438 GB, free: 12.23 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 5.308e-05/0.5531, allocations: 40.08 kB / 1.438 GB, free: 12.19 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.5533, allocations: 19.92 kB / 1.438 GB, free: 12.17 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008138/0.5542, allocations: 240.2 kB / 1.438 GB, free: 11.9 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.5545, allocations: 0.6927 MB / 1.439 GB, free: 11.18 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.5546, allocations: 56.52 kB / 1.439 GB, free: 11.12 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.5547, allocations: 27.44 kB / 1.439 GB, free: 11.1 MB / 1.139 GB Notification: Performance of SimCode: time 4.91e-07/0.5547, allocations: 0 / 1.439 GB, free: 11.1 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.5875, allocations: 3.39 MB / 1.442 GB, free: 7.895 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.84, allocations: 5.172 kB / 1.442 GB, free: 7.895 MB / 1.139 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.396119453012943]