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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.493/2.493, allocations: 476.7 MB / 0.7628 GB, free: 15.34 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 71.89 kB / 1.107 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7337, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001956/0.7357, allocations: 1.347 MB / 1.273 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1607/0.8963, allocations: 148.3 MB / 1.418 GB, free: 8.926 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.8964, allocations: 0 / 1.418 GB, free: 8.926 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.8964, allocations: 5 kB / 1.418 GB, free: 8.922 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.8966, allocations: 43.83 kB / 1.418 GB, free: 8.895 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.8977, allocations: 362.2 kB / 1.418 GB, free: 8.645 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.8978, allocations: 66.02 kB / 1.418 GB, free: 8.617 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.8978, allocations: 5.141 kB / 1.418 GB, free: 8.613 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.472e-05/0.8979, allocations: 31.47 kB / 1.418 GB, free: 8.602 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.898, allocations: 58.75 kB / 1.418 GB, free: 8.574 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.898, allocations: 1.438 kB / 1.418 GB, free: 8.574 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007495/0.8987, allocations: 430.1 kB / 1.419 GB, free: 8.336 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.8988, allocations: 28 kB / 1.419 GB, free: 8.32 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.8988, allocations: 28.61 kB / 1.419 GB, free: 8.305 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.8993, allocations: 280.9 kB / 1.419 GB, free: 8.164 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.8993, allocations: 0 / 1.419 GB, free: 8.164 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8993, allocations: 1.312 kB / 1.419 GB, free: 8.164 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.8993, allocations: 0 / 1.419 GB, free: 8.164 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.0004285/0.8997, allocations: 405.6 kB / 1.419 GB, free: 7.75 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.8997, allocations: 9.5 kB / 1.419 GB, free: 7.75 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.8998, allocations: 37.39 kB / 1.419 GB, free: 7.707 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.8998, allocations: 11.05 kB / 1.419 GB, free: 7.699 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.8999, allocations: 174.3 kB / 1.419 GB, free: 7.492 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.8999, allocations: 1.125 kB / 1.419 GB, free: 7.492 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.8999, allocations: 2.656 kB / 1.419 GB, free: 7.492 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.9001, allocations: 95.14 kB / 1.42 GB, free: 7.434 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.9001, allocations: 3.938 kB / 1.42 GB, free: 7.43 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.9001, allocations: 8 kB / 1.42 GB, free: 7.422 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.9002, allocations: 13.2 kB / 1.42 GB, free: 7.418 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.9003, allocations: 76.2 kB / 1.42 GB, free: 7.395 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.9007, allocations: 338.5 kB / 1.42 GB, free: 7.07 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.9008, allocations: 93.91 kB / 1.42 GB, free: 7.02 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.9009, allocations: 52.81 kB / 1.42 GB, free: 6.992 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008202/0.9017, allocations: 477 kB / 1.421 GB, free: 6.48 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.9018, allocations: 31.81 kB / 1.421 GB, free: 6.441 MB / 1.107 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.9018, allocations: 0 / 1.421 GB, free: 6.441 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.0002492/0.902, allocations: 130.5 kB / 1.421 GB, free: 6.367 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.9021, allocations: 52.84 kB / 1.421 GB, free: 6.305 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.336e-05/0.9021, allocations: 118 kB / 1.421 GB, free: 6.191 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.9022, allocations: 26.8 kB / 1.421 GB, free: 6.16 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.9022, allocations: 94.17 kB / 1.421 GB, free: 6.066 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.9022, allocations: 41.72 kB / 1.421 GB, free: 6.031 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.9023, allocations: 40.56 kB / 1.421 GB, free: 5.996 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.9024, allocations: 317.8 kB / 1.421 GB, free: 5.68 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.917e-05/0.9025, allocations: 32.06 kB / 1.421 GB, free: 5.668 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.853e-05/0.9025, allocations: 69.77 kB / 1.422 GB, free: 5.605 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.9027, allocations: 115 kB / 1.422 GB, free: 5.523 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.9027, allocations: 5.219 kB / 1.422 GB, free: 5.52 MB / 1.107 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001935/0.9029, allocations: 133.2 kB / 1.422 GB, free: 5.449 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.9029, allocations: 4.656 kB / 1.422 GB, free: 5.449 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9029, allocations: 2.406 kB / 1.422 GB, free: 5.449 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.9029, allocations: 5.094 kB / 1.422 GB, free: 5.445 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.903, allocations: 30.3 kB / 1.422 GB, free: 5.438 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.903, allocations: 2.312 kB / 1.422 GB, free: 5.438 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.903, allocations: 7.422 kB / 1.422 GB, free: 5.434 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.9031, allocations: 12.55 kB / 1.422 GB, free: 5.426 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 8.587e-05/0.9031, allocations: 126.7 kB / 1.422 GB, free: 5.301 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.9032, allocations: 6.328 kB / 1.422 GB, free: 5.297 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.9034, allocations: 127.9 kB / 1.422 GB, free: 5.215 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9034, allocations: 9.469 kB / 1.422 GB, free: 5.207 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.9034, allocations: 3.938 kB / 1.422 GB, free: 5.203 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9034, allocations: 3.984 kB / 1.422 GB, free: 5.199 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.9036, allocations: 187.8 kB / 1.422 GB, free: 4.984 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9036, allocations: 1.25 kB / 1.422 GB, free: 4.984 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/0.9036, allocations: 13.91 kB / 1.422 GB, free: 4.984 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.9036, allocations: 1.219 kB / 1.422 GB, free: 4.984 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.9036, allocations: 9.328 kB / 1.422 GB, free: 4.977 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.9036, allocations: 3.938 kB / 1.422 GB, free: 4.973 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.9036, allocations: 0 / 1.422 GB, free: 4.973 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.9038, allocations: 190.9 kB / 1.422 GB, free: 4.816 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.9039, allocations: 98.83 kB / 1.423 GB, free: 4.707 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.9039, allocations: 9.562 kB / 1.423 GB, free: 4.699 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.835e-05/0.904, allocations: 9.469 kB / 1.423 GB, free: 4.691 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.904, allocations: 6.797 kB / 1.423 GB, free: 4.688 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.904, allocations: 2.406 kB / 1.423 GB, free: 4.688 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.709e-05/0.904, allocations: 91.23 kB / 1.423 GB, free: 4.605 MB / 1.107 GB Notification: Performance of sort global known variables: time 6e-08/0.904, allocations: 0 / 1.423 GB, free: 4.605 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003209/0.9043, allocations: 76.72 kB / 1.423 GB, free: 4.582 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.0006549/0.905, allocations: 0.812 MB / 1.424 GB, free: 3.855 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.9052, allocations: 84.94 kB / 1.424 GB, free: 3.824 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9052, allocations: 4.125 kB / 1.424 GB, free: 3.82 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/0.9052, allocations: 35.77 kB / 1.424 GB, free: 3.809 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.9055, allocations: 18.42 kB / 1.424 GB, free: 3.797 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.906, allocations: 249.6 kB / 1.424 GB, free: 3.59 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.9062, allocations: 0.6897 MB / 1.425 GB, free: 2.887 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.9064, allocations: 57.08 kB / 1.425 GB, free: 2.859 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.9064, allocations: 17.03 kB / 1.425 GB, free: 2.848 MB / 1.107 GB Notification: Performance of SimCode: time 2.91e-07/0.9064, allocations: 1.125 kB / 1.425 GB, free: 2.848 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.9308, allocations: 3.17 MB / 1.428 GB, free: 1.219 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.98/7.911, allocations: 5.656 kB / 1.428 GB, free: 1.219 MB / 1.107 GB " [Timeout remaining time 292] (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 --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: 13.13465577200077]