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.001631/0.001631, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001829/0.001829, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.91/2.91, allocations: 0.5003 GB / 0.8026 GB, free: 6.902 MB / 0.6387 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.002015/0.002015, allocations: 71.89 kB / 1.165 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9935/0.9955, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002437/0.9979, allocations: 1.358 MB / 1.342 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.212/1.21, allocations: 151.1 MB / 1.489 GB, free: 13.43 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/1.21, allocations: 0 / 1.489 GB, free: 13.43 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 4.934e-05/1.21, allocations: 5.062 kB / 1.489 GB, free: 13.43 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/1.21, allocations: 52.81 kB / 1.489 GB, free: 13.39 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/1.212, allocations: 357.8 kB / 1.489 GB, free: 13.14 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000165/1.212, allocations: 69.44 kB / 1.49 GB, free: 13.11 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/1.212, allocations: 2.375 kB / 1.49 GB, free: 13.11 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 7.579e-05/1.212, allocations: 35 kB / 1.49 GB, free: 13.1 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/1.212, allocations: 54.94 kB / 1.49 GB, free: 13.07 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/1.212, allocations: 1.156 kB / 1.49 GB, free: 13.07 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009885/1.213, allocations: 436.1 kB / 1.49 GB, free: 12.83 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/1.213, allocations: 31.39 kB / 1.49 GB, free: 12.81 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/1.213, allocations: 26.38 kB / 1.49 GB, free: 12.8 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006391/1.214, allocations: 269 kB / 1.49 GB, free: 12.67 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.214, allocations: 5.062 kB / 1.49 GB, free: 12.67 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.362e-06/1.214, allocations: 0 / 1.49 GB, free: 12.67 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.151e-06/1.214, allocations: 3.938 kB / 1.49 GB, free: 12.66 MB / 1.17 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.0006107/1.214, allocations: 410.3 kB / 1.491 GB, free: 12.25 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/1.215, allocations: 14.47 kB / 1.491 GB, free: 12.24 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.421e-05/1.215, allocations: 1.188 kB / 1.491 GB, free: 12.24 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/1.215, allocations: 37.62 kB / 1.491 GB, free: 12.2 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/1.215, allocations: 7.078 kB / 1.491 GB, free: 12.2 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/1.215, allocations: 169.3 kB / 1.491 GB, free: 11.99 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/1.215, allocations: 5.125 kB / 1.491 GB, free: 11.99 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/1.215, allocations: 6.172 kB / 1.491 GB, free: 11.98 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/1.215, allocations: 100.2 kB / 1.491 GB, free: 11.92 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.215, allocations: 0 / 1.491 GB, free: 11.92 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/1.215, allocations: 1.156 kB / 1.491 GB, free: 11.92 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/1.215, allocations: 10.06 kB / 1.491 GB, free: 11.92 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/1.215, allocations: 79.2 kB / 1.491 GB, free: 11.89 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/1.216, allocations: 333.4 kB / 1.492 GB, free: 11.57 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/1.216, allocations: 102.8 kB / 1.492 GB, free: 11.51 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.802e-05/1.216, allocations: 52.55 kB / 1.492 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/1.217, allocations: 469.2 kB / 1.492 GB, free: 10.98 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/1.217, allocations: 47.48 kB / 1.492 GB, free: 10.93 MB / 1.17 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/1.217, allocations: 0 / 1.492 GB, free: 10.93 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.0003027/1.217, allocations: 122.3 kB / 1.492 GB, free: 10.86 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/1.217, allocations: 52.84 kB / 1.492 GB, free: 10.8 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/1.217, allocations: 115.4 kB / 1.492 GB, free: 10.69 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/1.218, allocations: 25.8 kB / 1.492 GB, free: 10.66 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/1.218, allocations: 111.8 kB / 1.493 GB, free: 10.55 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/1.218, allocations: 39.31 kB / 1.493 GB, free: 10.51 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/1.218, allocations: 33.81 kB / 1.493 GB, free: 10.48 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.218, allocations: 320.8 kB / 1.493 GB, free: 10.16 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/1.218, allocations: 28.36 kB / 1.493 GB, free: 10.16 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-05/1.218, allocations: 72.31 kB / 1.493 GB, free: 10.09 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/1.218, allocations: 114.9 kB / 1.493 GB, free: 10.01 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.218, allocations: 0 / 1.493 GB, free: 10.01 MB / 1.17 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002369/1.218, allocations: 145.7 kB / 1.493 GB, free: 9.93 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.218, allocations: 5.906 kB / 1.493 GB, free: 9.93 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.218, allocations: 5.438 kB / 1.493 GB, free: 9.926 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.218, allocations: 1.906 kB / 1.493 GB, free: 9.926 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/1.219, allocations: 29.39 kB / 1.493 GB, free: 9.918 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/1.219, allocations: 2.625 kB / 1.493 GB, free: 9.918 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/1.219, allocations: 10.61 kB / 1.493 GB, free: 9.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/1.219, allocations: 9.25 kB / 1.493 GB, free: 9.906 MB / 1.17 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.0001089/1.219, allocations: 131.5 kB / 1.493 GB, free: 9.777 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/1.219, allocations: 11.17 kB / 1.493 GB, free: 9.77 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/1.219, allocations: 119.5 kB / 1.494 GB, free: 9.688 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.219, allocations: 1.094 kB / 1.494 GB, free: 9.688 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.219, allocations: 0 / 1.494 GB, free: 9.688 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.219, allocations: 1.125 kB / 1.494 GB, free: 9.688 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/1.219, allocations: 183.4 kB / 1.494 GB, free: 9.477 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.219, allocations: 1.125 kB / 1.494 GB, free: 9.477 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.909e-05/1.219, allocations: 30.23 kB / 1.494 GB, free: 9.461 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/1.219, allocations: 5.219 kB / 1.494 GB, free: 9.457 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/1.219, allocations: 0 / 1.494 GB, free: 9.457 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.219, allocations: 5.344 kB / 1.494 GB, free: 9.453 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.219, allocations: 0 / 1.494 GB, free: 9.453 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/1.22, allocations: 195.3 kB / 1.494 GB, free: 9.293 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.05e-05/1.22, allocations: 94.19 kB / 1.494 GB, free: 9.188 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/1.22, allocations: 5.328 kB / 1.494 GB, free: 9.184 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/1.22, allocations: 1.469 kB / 1.494 GB, free: 9.184 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/1.22, allocations: 6.625 kB / 1.494 GB, free: 9.18 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/1.22, allocations: 2.469 kB / 1.494 GB, free: 9.18 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.753e-05/1.22, allocations: 95.17 kB / 1.494 GB, free: 9.094 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.22, allocations: 1.25 kB / 1.494 GB, free: 9.094 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000424/1.22, allocations: 80.95 kB / 1.494 GB, free: 9.066 MB / 1.17 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.0009159/1.221, allocations: 0.8269 MB / 1.495 GB, free: 8.324 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002287/1.221, allocations: 80.03 kB / 1.495 GB, free: 8.297 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.221, allocations: 1.156 kB / 1.495 GB, free: 8.297 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 5.862e-05/1.221, allocations: 34.08 kB / 1.495 GB, free: 8.285 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/1.222, allocations: 16.05 kB / 1.495 GB, free: 8.277 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/1.222, allocations: 250.5 kB / 1.495 GB, free: 8.066 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/1.223, allocations: 0.6915 MB / 1.496 GB, free: 7.363 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001379/1.223, allocations: 61.22 kB / 1.496 GB, free: 7.332 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/1.223, allocations: 16.84 kB / 1.496 GB, free: 7.32 MB / 1.17 GB Notification: Performance of SimCode: time 3.81e-07/1.223, allocations: 1 kB / 1.496 GB, free: 7.32 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/1.244, allocations: 3.299 MB / 1.499 GB, free: 4.832 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.47/9.715, allocations: 13.38 kB / 1.499 GB, free: 4.824 MB / 1.17 GB " [Timeout remaining time 290] (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: 16.22742372500943]