Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001767/0.001767, allocations: 113.2 kB / 16.46 MB, free: 6.504 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.00157/0.00157, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.36/1.36, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00213/0.00213, allocations: 67.89 kB / 1.056 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8059/0.808, allocations: 160.7 MB / 1.213 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002715/0.8108, allocations: 1.351 MB / 1.214 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1774/0.9881, allocations: 148.3 MB / 1.359 GB, free: 2.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.498e-05/0.9882, allocations: 0 / 1.359 GB, free: 2.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.542e-05/0.9883, allocations: 8 kB / 1.359 GB, free: 2.152 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.9885, allocations: 47.86 kB / 1.359 GB, free: 2.105 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.99, allocations: 362.5 kB / 1.359 GB, free: 1.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.9901, allocations: 63.77 kB / 1.36 GB, free: 1.688 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.9902, allocations: 8 kB / 1.36 GB, free: 1.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.9902, allocations: 35.89 kB / 1.36 GB, free: 1.645 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.9904, allocations: 55.88 kB / 1.36 GB, free: 1.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.9904, allocations: 0 / 1.36 GB, free: 1.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.9914, allocations: 431.1 kB / 1.36 GB, free: 1.168 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.9915, allocations: 23.91 kB / 1.36 GB, free: 1.145 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.9915, allocations: 27.86 kB / 1.36 GB, free: 1.117 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007697/0.9923, allocations: 277.3 kB / 1.36 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9923, allocations: 0 / 1.36 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9923, allocations: 0 / 1.36 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.9923, allocations: 4 kB / 1.36 GB, free: 0.8438 MB / 1.061 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.0006572/0.993, allocations: 398.8 kB / 1.361 GB, free: 416 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.993, allocations: 12.03 kB / 1.361 GB, free: 404 kB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.9931, allocations: 38.73 kB / 1.361 GB, free: 356 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.9931, allocations: 8.875 kB / 1.361 GB, free: 348 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.9933, allocations: 172.1 kB / 1.361 GB, free: 136 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.9933, allocations: 4 kB / 1.361 GB, free: 132 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.9933, allocations: 0 / 1.361 GB, free: 132 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.9935, allocations: 97.64 kB / 1.361 GB, free: 28 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.9935, allocations: 4 kB / 1.361 GB, free: 24 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.9936, allocations: 3.984 kB / 1.361 GB, free: 20 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.9936, allocations: 19.92 kB / 1.361 GB, free: 0 / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.9938, allocations: 83.89 kB / 1.361 GB, free: 15.92 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.9944, allocations: 336.7 kB / 1.361 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.9946, allocations: 94.53 kB / 1.362 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.9946, allocations: 44.91 kB / 1.362 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009792/0.9956, allocations: 477.4 kB / 1.362 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.9957, allocations: 34.59 kB / 1.362 GB, free: 14.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.9957, allocations: 0 / 1.362 GB, free: 14.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0002998/0.996, allocations: 125.5 kB / 1.362 GB, free: 14.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.996, allocations: 59.41 kB / 1.362 GB, free: 14.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.9961, allocations: 113.8 kB / 1.362 GB, free: 14.47 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.9961, allocations: 25.7 kB / 1.362 GB, free: 14.44 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.9962, allocations: 100.4 kB / 1.363 GB, free: 14.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.9963, allocations: 35.69 kB / 1.363 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.9963, allocations: 33.7 kB / 1.363 GB, free: 14.26 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.9965, allocations: 314.8 kB / 1.363 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-05/0.9966, allocations: 39.84 kB / 1.363 GB, free: 13.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.686e-05/0.9967, allocations: 79.05 kB / 1.363 GB, free: 13.81 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.9968, allocations: 117.1 kB / 1.363 GB, free: 13.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9968, allocations: 0 / 1.363 GB, free: 13.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002231/0.997, allocations: 145.8 kB / 1.363 GB, free: 13.53 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.9971, allocations: 10.66 kB / 1.363 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.9971, allocations: 0 / 1.363 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.9971, allocations: 7.938 kB / 1.363 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.9972, allocations: 27.92 kB / 1.363 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.9972, allocations: 0 / 1.363 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.9973, allocations: 16.11 kB / 1.363 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.9973, allocations: 11.98 kB / 1.363 GB, free: 13.46 MB / 1.076 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.0001047/0.9974, allocations: 123.3 kB / 1.363 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.9974, allocations: 3.953 kB / 1.363 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.9977, allocations: 129.9 kB / 1.364 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.9977, allocations: 3.938 kB / 1.364 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9977, allocations: 0 / 1.364 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.9977, allocations: 4 kB / 1.364 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.9979, allocations: 181.9 kB / 1.364 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.9979, allocations: 4 kB / 1.364 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/0.998, allocations: 12 kB / 1.364 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.998, allocations: 7.984 kB / 1.364 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.998, allocations: 0 / 1.364 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.998, allocations: 3.938 kB / 1.364 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.998, allocations: 0 / 1.364 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.9982, allocations: 203.6 kB / 1.364 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.9983, allocations: 101 kB / 1.364 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.9983, allocations: 3.938 kB / 1.364 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.307e-05/0.9984, allocations: 3.938 kB / 1.364 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.9984, allocations: 11.98 kB / 1.364 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.9984, allocations: 0 / 1.364 GB, free: 12.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.9985, allocations: 87.27 kB / 1.364 GB, free: 12.49 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9985, allocations: 4 kB / 1.364 GB, free: 12.48 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003792/0.9989, allocations: 75.75 kB / 1.364 GB, free: 12.41 MB / 1.076 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.0009071/0.9998, allocations: 0.8136 MB / 1.365 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002434/1, allocations: 84.02 kB / 1.365 GB, free: 11.49 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1, allocations: 0 / 1.365 GB, free: 11.49 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.294e-05/1, allocations: 35.92 kB / 1.365 GB, free: 11.45 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/1, allocations: 26.09 kB / 1.365 GB, free: 11.43 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/1.001, allocations: 244 kB / 1.365 GB, free: 11.15 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/1.001, allocations: 0.6924 MB / 1.366 GB, free: 10.43 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001237/1.002, allocations: 53.28 kB / 1.366 GB, free: 10.38 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/1.002, allocations: 15.44 kB / 1.366 GB, free: 10.36 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/1.002, allocations: 0 / 1.366 GB, free: 10.36 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/1.032, allocations: 3.225 MB / 1.369 GB, free: 7.344 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.902, allocations: 12.7 kB / 1.369 GB, free: 7.336 MB / 1.076 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.496754785068333]