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.001192/0.001192, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001344/0.001344, allocations: 219.7 kB / 23.03 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.371/1.371, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.611/2.611, allocations: 476.8 MB / 0.7715 GB, free: 4.086 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.001931/0.001931, allocations: 64.36 kB / 1.118 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.297, allocations: 169.9 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002671/0.2997, allocations: 1.354 MB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.158/0.4576, allocations: 129.7 MB / 1.412 GB, free: 7.098 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.4577, allocations: 0 / 1.412 GB, free: 7.098 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 4.778e-05/0.4577, allocations: 7.938 kB / 1.412 GB, free: 7.09 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.4579, allocations: 43.8 kB / 1.412 GB, free: 7.047 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.4591, allocations: 362.5 kB / 1.413 GB, free: 6.691 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.4592, allocations: 63.77 kB / 1.413 GB, free: 6.629 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.4593, allocations: 11.98 kB / 1.413 GB, free: 6.617 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.358e-05/0.4593, allocations: 23.97 kB / 1.413 GB, free: 6.594 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.4595, allocations: 59.86 kB / 1.413 GB, free: 6.535 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.4595, allocations: 8 kB / 1.413 GB, free: 6.527 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008097/0.4603, allocations: 367.1 kB / 1.413 GB, free: 6.168 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 7.532e-05/0.4604, allocations: 35.88 kB / 1.413 GB, free: 6.133 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.4604, allocations: 19.94 kB / 1.413 GB, free: 6.113 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0005846/0.461, allocations: 268.6 kB / 1.413 GB, free: 5.852 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.461, allocations: 0 / 1.413 GB, free: 5.852 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.543e-06/0.461, allocations: 0 / 1.413 GB, free: 5.852 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.461, allocations: 0 / 1.413 GB, free: 5.852 MB / 1.107 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.0004662/0.4615, allocations: 329.7 kB / 1.414 GB, free: 5.5 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4615, allocations: 11.97 kB / 1.414 GB, free: 5.488 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.59e-05/0.4616, allocations: 8.188 kB / 1.414 GB, free: 5.48 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.4616, allocations: 34.75 kB / 1.414 GB, free: 5.438 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.4616, allocations: 8.891 kB / 1.414 GB, free: 5.43 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.4617, allocations: 110 kB / 1.414 GB, free: 5.297 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.4617, allocations: 8 kB / 1.414 GB, free: 5.289 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.4618, allocations: 0 / 1.414 GB, free: 5.289 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.4619, allocations: 97.59 kB / 1.414 GB, free: 5.188 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.462, allocations: 0 / 1.414 GB, free: 5.188 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.462, allocations: 3.984 kB / 1.414 GB, free: 5.184 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/0.462, allocations: 16 kB / 1.414 GB, free: 5.168 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.4621, allocations: 71.95 kB / 1.414 GB, free: 5.098 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.4626, allocations: 315.8 kB / 1.414 GB, free: 4.746 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.4628, allocations: 94.47 kB / 1.414 GB, free: 4.645 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/0.4629, allocations: 52.89 kB / 1.414 GB, free: 4.59 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007054/0.4636, allocations: 83.89 kB / 1.415 GB, free: 4.508 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.4636, allocations: 30.56 kB / 1.415 GB, free: 4.469 MB / 1.107 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.4636, allocations: 0 / 1.415 GB, free: 4.469 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.0002838/0.4639, allocations: 133.6 kB / 1.415 GB, free: 4.332 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.4639, allocations: 59.34 kB / 1.415 GB, free: 4.262 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.331e-05/0.464, allocations: 109.8 kB / 1.415 GB, free: 4.145 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.464, allocations: 25.7 kB / 1.415 GB, free: 4.113 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.4641, allocations: 100.4 kB / 1.415 GB, free: 4.012 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.4641, allocations: 43.58 kB / 1.415 GB, free: 3.969 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.4642, allocations: 37.7 kB / 1.415 GB, free: 3.926 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4643, allocations: 318.8 kB / 1.415 GB, free: 3.605 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.4644, allocations: 27.98 kB / 1.415 GB, free: 3.578 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.042e-05/0.4645, allocations: 69.12 kB / 1.415 GB, free: 3.492 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.4646, allocations: 125.4 kB / 1.416 GB, free: 3.352 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4646, allocations: 0 / 1.416 GB, free: 3.352 MB / 1.107 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002177/0.4648, allocations: 137.5 kB / 1.416 GB, free: 3.211 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4648, allocations: 8 kB / 1.416 GB, free: 3.203 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4648, allocations: 160 / 1.416 GB, free: 3.203 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4649, allocations: 11.94 kB / 1.416 GB, free: 3.191 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.465, allocations: 27.92 kB / 1.416 GB, free: 3.164 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.465, allocations: 0 / 1.416 GB, free: 3.164 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.465, allocations: 11.89 kB / 1.416 GB, free: 3.152 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.465, allocations: 15.98 kB / 1.416 GB, free: 3.137 MB / 1.107 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.0001024/0.4651, allocations: 121.8 kB / 1.416 GB, free: 3.008 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.4652, allocations: 4 kB / 1.416 GB, free: 3.004 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.4654, allocations: 137.8 kB / 1.416 GB, free: 2.859 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4654, allocations: 0 / 1.416 GB, free: 2.859 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4654, allocations: 3.984 kB / 1.416 GB, free: 2.855 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4654, allocations: 0 / 1.416 GB, free: 2.855 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.4656, allocations: 148.7 kB / 1.416 GB, free: 2.668 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4656, allocations: 256 / 1.416 GB, free: 2.668 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.4657, allocations: 27.92 kB / 1.416 GB, free: 2.641 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.4657, allocations: 4 kB / 1.416 GB, free: 2.637 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.4657, allocations: 3.938 kB / 1.416 GB, free: 2.633 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4657, allocations: 0 / 1.416 GB, free: 2.633 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4657, allocations: 0 / 1.416 GB, free: 2.633 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.4659, allocations: 203.4 kB / 1.416 GB, free: 2.418 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.4659, allocations: 15.92 kB / 1.416 GB, free: 2.402 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.466, allocations: 3.938 kB / 1.416 GB, free: 2.398 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.405e-05/0.466, allocations: 4 kB / 1.416 GB, free: 2.395 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.466, allocations: 7.984 kB / 1.416 GB, free: 2.387 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.466, allocations: 4 kB / 1.416 GB, free: 2.383 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.4661, allocations: 91.2 kB / 1.417 GB, free: 2.293 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/0.4661, allocations: 0 / 1.417 GB, free: 2.293 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000356/0.4664, allocations: 79.73 kB / 1.417 GB, free: 2.215 MB / 1.107 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.000753/0.4672, allocations: 0.8175 MB / 1.417 GB, free: 1.371 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.4674, allocations: 83.78 kB / 1.417 GB, free: 1.289 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4674, allocations: 0 / 1.417 GB, free: 1.289 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/0.4674, allocations: 39.91 kB / 1.418 GB, free: 1.25 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.4677, allocations: 20.56 kB / 1.418 GB, free: 1.234 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.4683, allocations: 248.2 kB / 1.418 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.284e-05/0.4684, allocations: 71.34 kB / 1.418 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.4685, allocations: 57.12 kB / 1.418 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.4685, allocations: 15.44 kB / 1.418 GB, free: 0.793 MB / 1.107 GB Notification: Performance of SimCode: time 4.01e-07/0.4685, allocations: 0 / 1.418 GB, free: 0.793 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.4928, allocations: 3.452 MB / 1.421 GB, free: 13.55 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.04, allocations: 19.12 kB / 1.421 GB, free: 13.53 MB / 1.123 GB " [Timeout remaining time 289] (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.338700038031675]