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.001278/0.001278, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001409/0.001409, allocations: 220 kB / 23.04 MB, free: 5.078 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.364/1.364, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.544/2.544, allocations: 476.7 MB / 0.7714 GB, free: 4.328 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="cs",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="cs",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.001953/0.001953, allocations: 62.53 kB / 1.118 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3017, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002446/0.3041, allocations: 1.362 MB / 1.286 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1706/0.4747, allocations: 151.2 MB / 1.433 GB, free: 2.656 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.4748, allocations: 0 / 1.433 GB, free: 2.656 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 4.478e-05/0.4748, allocations: 7.922 kB / 1.433 GB, free: 2.648 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.475, allocations: 39.88 kB / 1.433 GB, free: 2.609 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.4762, allocations: 370.5 kB / 1.434 GB, free: 2.246 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.4763, allocations: 63.77 kB / 1.434 GB, free: 2.184 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.4764, allocations: 8 kB / 1.434 GB, free: 2.176 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.4764, allocations: 35.89 kB / 1.434 GB, free: 2.141 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.4766, allocations: 55.88 kB / 1.434 GB, free: 2.086 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.4766, allocations: 4 kB / 1.434 GB, free: 2.082 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008615/0.4774, allocations: 439 kB / 1.434 GB, free: 1.652 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.4775, allocations: 27.91 kB / 1.434 GB, free: 1.625 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.4775, allocations: 31.84 kB / 1.434 GB, free: 1.594 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.4781, allocations: 278.8 kB / 1.434 GB, free: 1.324 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4781, allocations: 0 / 1.434 GB, free: 1.324 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4781, allocations: 0 / 1.434 GB, free: 1.324 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.4781, allocations: 3.938 kB / 1.434 GB, free: 1.32 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.000454/0.4786, allocations: 325.7 kB / 1.435 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4786, allocations: 8.031 kB / 1.435 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.933e-05/0.4786, allocations: 8.188 kB / 1.435 GB, free: 0.957 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.4787, allocations: 42.67 kB / 1.435 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.4787, allocations: 8.891 kB / 1.435 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.727e-05/0.4788, allocations: 114 kB / 1.435 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.4788, allocations: 0 / 1.435 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.4788, allocations: 4 kB / 1.435 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.479, allocations: 93.59 kB / 1.435 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.479, allocations: 0 / 1.435 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.479, allocations: 0 / 1.435 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.4791, allocations: 15.98 kB / 1.435 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.4792, allocations: 83.95 kB / 1.435 GB, free: 0.5625 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.4796, allocations: 307.8 kB / 1.435 GB, free: 224 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.4798, allocations: 98.47 kB / 1.435 GB, free: 116 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.571e-05/0.4799, allocations: 52.84 kB / 1.436 GB, free: 60 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007171/0.4806, allocations: 87.89 kB / 1.436 GB, free: 15.97 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.4806, allocations: 34.56 kB / 1.436 GB, free: 15.93 MB / 1.139 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.4806, allocations: 0 / 1.436 GB, free: 15.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.0002629/0.4809, allocations: 125.5 kB / 1.436 GB, free: 15.8 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.4809, allocations: 59.44 kB / 1.436 GB, free: 15.73 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.876e-05/0.481, allocations: 113.8 kB / 1.436 GB, free: 15.61 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.481, allocations: 33.7 kB / 1.436 GB, free: 15.57 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.4811, allocations: 108.3 kB / 1.436 GB, free: 15.46 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.4811, allocations: 35.69 kB / 1.436 GB, free: 15.43 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.4812, allocations: 33.72 kB / 1.436 GB, free: 15.39 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4813, allocations: 318.8 kB / 1.436 GB, free: 15.07 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.4814, allocations: 27.98 kB / 1.436 GB, free: 15.04 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.782e-05/0.4815, allocations: 83.45 kB / 1.437 GB, free: 14.94 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.4816, allocations: 109.1 kB / 1.437 GB, free: 14.82 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4816, allocations: 0 / 1.437 GB, free: 14.82 MB / 1.139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002079/0.4818, allocations: 145.4 kB / 1.437 GB, free: 14.67 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4818, allocations: 8 kB / 1.437 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4818, allocations: 0 / 1.437 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4819, allocations: 3.938 kB / 1.437 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.482, allocations: 31.92 kB / 1.437 GB, free: 14.62 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.482, allocations: 0 / 1.437 GB, free: 14.62 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.482, allocations: 11.95 kB / 1.437 GB, free: 14.61 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.482, allocations: 8 kB / 1.437 GB, free: 14.61 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 9.824e-05/0.4821, allocations: 129.9 kB / 1.437 GB, free: 14.47 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.4822, allocations: 3.984 kB / 1.437 GB, free: 14.46 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.4824, allocations: 134.3 kB / 1.437 GB, free: 14.32 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4824, allocations: 0 / 1.437 GB, free: 14.32 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4824, allocations: 0 / 1.437 GB, free: 14.32 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4824, allocations: 0 / 1.437 GB, free: 14.32 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.4826, allocations: 152.7 kB / 1.437 GB, free: 14.13 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4826, allocations: 7.938 kB / 1.437 GB, free: 14.12 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.641e-05/0.4826, allocations: 23.92 kB / 1.437 GB, free: 14.1 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.4827, allocations: 3.984 kB / 1.437 GB, free: 14.1 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4827, allocations: 3.938 kB / 1.437 GB, free: 14.09 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4827, allocations: 0 / 1.437 GB, free: 14.09 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4827, allocations: 0 / 1.437 GB, free: 14.09 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.4829, allocations: 195.7 kB / 1.437 GB, free: 13.89 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.4829, allocations: 19.88 kB / 1.438 GB, free: 13.87 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.4829, allocations: 7.938 kB / 1.438 GB, free: 13.86 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.422e-05/0.483, allocations: 8 kB / 1.438 GB, free: 13.85 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.483, allocations: 7.984 kB / 1.438 GB, free: 13.84 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.483, allocations: 4 kB / 1.438 GB, free: 13.84 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.859e-05/0.483, allocations: 87.27 kB / 1.438 GB, free: 13.75 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.483, allocations: 4 kB / 1.438 GB, free: 13.75 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003502/0.4834, allocations: 75.73 kB / 1.438 GB, free: 13.68 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.0007536/0.4841, allocations: 0.8136 MB / 1.438 GB, free: 12.84 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001757/0.4843, allocations: 79.78 kB / 1.439 GB, free: 12.76 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4843, allocations: 3.938 kB / 1.439 GB, free: 12.75 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 5.624e-05/0.4844, allocations: 44.83 kB / 1.439 GB, free: 12.71 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.4846, allocations: 12 kB / 1.439 GB, free: 12.7 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.4852, allocations: 244.5 kB / 1.439 GB, free: 12.42 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.4855, allocations: 0.6846 MB / 1.44 GB, free: 11.71 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000119/0.4856, allocations: 56.36 kB / 1.44 GB, free: 11.66 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.4857, allocations: 23.38 kB / 1.44 GB, free: 11.63 MB / 1.139 GB Notification: Performance of SimCode: time 3.01e-07/0.4857, allocations: 0 / 1.44 GB, free: 11.63 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.5084, allocations: 3.426 MB / 1.443 GB, free: 8.414 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11, allocations: 4.812 kB / 1.443 GB, free: 8.41 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: 17.144969613989815]