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.001327/0.001327, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001457/0.001457, allocations: 217.3 kB / 23.04 MB, free: 5.074 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.213/3.213, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_latest_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_latest_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.001922/0.001922, allocations: 72.83 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3217, allocations: 179 MB / 1.345 GB, free: 412 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002412/0.3241, allocations: 1.358 MB / 1.347 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1754/0.4995, allocations: 151.2 MB / 1.494 GB, free: 7.277 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.4996, allocations: 3.938 kB / 1.494 GB, free: 7.273 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.4996, allocations: 0 / 1.494 GB, free: 7.273 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.4998, allocations: 47.73 kB / 1.494 GB, free: 7.23 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.501, allocations: 366.5 kB / 1.495 GB, free: 6.871 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.5011, allocations: 71.75 kB / 1.495 GB, free: 6.801 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.5012, allocations: 8.266 kB / 1.495 GB, free: 6.793 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 5.34e-05/0.5012, allocations: 23.98 kB / 1.495 GB, free: 6.77 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.5013, allocations: 59.86 kB / 1.495 GB, free: 6.711 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.5014, allocations: 0 / 1.495 GB, free: 6.711 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008945/0.5022, allocations: 447 kB / 1.495 GB, free: 6.273 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.5023, allocations: 27.91 kB / 1.495 GB, free: 6.246 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.5024, allocations: 23.88 kB / 1.495 GB, free: 6.223 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.5029, allocations: 283.1 kB / 1.496 GB, free: 5.945 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.5029, allocations: 0 / 1.496 GB, free: 5.945 MB / 1.186 GB Notification: Performance of FrontEnd: time 4.86e-06/0.5029, allocations: 4 kB / 1.496 GB, free: 5.941 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.5029, allocations: 0 / 1.496 GB, free: 5.941 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.0004483/0.5033, allocations: 329.6 kB / 1.496 GB, free: 5.59 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.5034, allocations: 8.031 kB / 1.496 GB, free: 5.582 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.624e-05/0.5034, allocations: 192 / 1.496 GB, free: 5.582 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.5034, allocations: 38.75 kB / 1.496 GB, free: 5.535 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.5035, allocations: 8.891 kB / 1.496 GB, free: 5.527 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.947e-05/0.5036, allocations: 121.2 kB / 1.496 GB, free: 5.383 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.5036, allocations: 4 kB / 1.496 GB, free: 5.379 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.5036, allocations: 0 / 1.496 GB, free: 5.379 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.5038, allocations: 101.6 kB / 1.496 GB, free: 5.273 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5038, allocations: 0 / 1.496 GB, free: 5.273 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.5038, allocations: 0 / 1.496 GB, free: 5.273 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.805e-05/0.5038, allocations: 8 kB / 1.496 GB, free: 5.266 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.504, allocations: 79.95 kB / 1.496 GB, free: 5.188 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.5044, allocations: 315.7 kB / 1.497 GB, free: 4.836 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.5046, allocations: 98.52 kB / 1.497 GB, free: 4.73 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.5047, allocations: 48.89 kB / 1.497 GB, free: 4.68 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007084/0.5054, allocations: 91.81 kB / 1.497 GB, free: 4.59 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.5055, allocations: 46.5 kB / 1.497 GB, free: 4.535 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.5055, allocations: 0 / 1.497 GB, free: 4.535 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0002798/0.5057, allocations: 121.6 kB / 1.497 GB, free: 4.41 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.5058, allocations: 51.41 kB / 1.497 GB, free: 4.348 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.5059, allocations: 113.8 kB / 1.497 GB, free: 4.227 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.5059, allocations: 33.7 kB / 1.497 GB, free: 4.188 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.506, allocations: 96.31 kB / 1.497 GB, free: 4.09 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.506, allocations: 43.69 kB / 1.497 GB, free: 4.047 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.5061, allocations: 33.7 kB / 1.497 GB, free: 4.008 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5062, allocations: 314.8 kB / 1.498 GB, free: 3.691 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.515e-05/0.5062, allocations: 27.98 kB / 1.498 GB, free: 3.664 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.37e-05/0.5063, allocations: 79.73 kB / 1.498 GB, free: 3.57 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.5065, allocations: 117 kB / 1.498 GB, free: 3.438 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5065, allocations: 0 / 1.498 GB, free: 3.438 MB / 1.186 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000216/0.5067, allocations: 141.4 kB / 1.498 GB, free: 3.293 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5067, allocations: 8.094 kB / 1.498 GB, free: 3.285 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5067, allocations: 8 kB / 1.498 GB, free: 3.277 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.5067, allocations: 0 / 1.498 GB, free: 3.277 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.5069, allocations: 27.98 kB / 1.498 GB, free: 3.25 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5069, allocations: 3.938 kB / 1.498 GB, free: 3.246 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.5069, allocations: 19.83 kB / 1.498 GB, free: 3.227 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.5069, allocations: 7.984 kB / 1.498 GB, free: 3.219 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 8.901e-05/0.507, allocations: 117.8 kB / 1.498 GB, free: 3.094 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.507, allocations: 11.89 kB / 1.498 GB, free: 3.082 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.5073, allocations: 134.4 kB / 1.498 GB, free: 2.941 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.5073, allocations: 4 kB / 1.498 GB, free: 2.938 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5073, allocations: 0 / 1.498 GB, free: 2.938 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5073, allocations: 0 / 1.498 GB, free: 2.938 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.5075, allocations: 152.7 kB / 1.498 GB, free: 2.746 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5075, allocations: 0 / 1.498 GB, free: 2.746 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.5076, allocations: 15.94 kB / 1.498 GB, free: 2.73 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5076, allocations: 0 / 1.498 GB, free: 2.73 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.5076, allocations: 7.984 kB / 1.498 GB, free: 2.723 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5076, allocations: 4 kB / 1.498 GB, free: 2.719 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5076, allocations: 0 / 1.498 GB, free: 2.719 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.5078, allocations: 203.4 kB / 1.499 GB, free: 2.504 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.5078, allocations: 19.81 kB / 1.499 GB, free: 2.484 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.5078, allocations: 8 kB / 1.499 GB, free: 2.477 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.5079, allocations: 256 / 1.499 GB, free: 2.477 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.5079, allocations: 7.984 kB / 1.499 GB, free: 2.469 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.5079, allocations: 4 kB / 1.499 GB, free: 2.465 MB / 1.186 GB Notification: Performance of sorting global known variables: time 5.762e-05/0.508, allocations: 95.27 kB / 1.499 GB, free: 2.371 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.508, allocations: 0 / 1.499 GB, free: 2.371 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003564/0.5083, allocations: 79.75 kB / 1.499 GB, free: 2.293 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.0007428/0.5091, allocations: 0.8176 MB / 1.5 GB, free: 1.449 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.5092, allocations: 83.83 kB / 1.5 GB, free: 1.367 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5093, allocations: 0 / 1.5 GB, free: 1.367 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 5.267e-05/0.5093, allocations: 35.92 kB / 1.5 GB, free: 1.332 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.5096, allocations: 23.48 kB / 1.5 GB, free: 1.312 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.5102, allocations: 240.3 kB / 1.5 GB, free: 1.039 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.5105, allocations: 0.6924 MB / 1.501 GB, free: 328 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.5106, allocations: 52.92 kB / 1.501 GB, free: 272 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.5106, allocations: 19.42 kB / 1.501 GB, free: 252 kB / 1.186 GB Notification: Performance of SimCode: time 5.41e-07/0.5106, allocations: 0 / 1.501 GB, free: 252 kB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.5345, allocations: 3.435 MB / 1.504 GB, free: 13.01 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.27, allocations: 5.734 kB / 1.504 GB, free: 13 MB / 1.201 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 840.0] 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: 17.9496163239819]