Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005784/0.005784, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 197.6 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.75/0.7514, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002201/0.7536, allocations: 1.327 MB / 1.089 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1719/0.9256, allocations: 147.9 MB / 1.233 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.9257, allocations: 0 / 1.233 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.184e-05/0.9257, allocations: 9.016 kB / 1.233 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.926, allocations: 36.06 kB / 1.233 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.9275, allocations: 363 kB / 1.234 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.9277, allocations: 72.78 kB / 1.234 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.9278, allocations: 2.344 kB / 1.234 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.834e-05/0.9278, allocations: 26.94 kB / 1.234 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.928, allocations: 61.75 kB / 1.234 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.928, allocations: 2.062 kB / 1.234 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.9291, allocations: 409.4 kB / 1.234 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.9292, allocations: 23.66 kB / 1.234 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.9292, allocations: 29.61 kB / 1.234 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007768/0.93, allocations: 272.9 kB / 1.234 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.93, allocations: 1.125 kB / 1.234 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.657e-06/0.93, allocations: 0 / 1.234 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.9301, allocations: 3.938 kB / 1.234 GB, free: 4.633 MB / 0.9669 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.0005532/0.9306, allocations: 398.9 kB / 1.235 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.9307, allocations: 9.719 kB / 1.235 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.9307, allocations: 44.61 kB / 1.235 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.9308, allocations: 4.375 kB / 1.235 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.9309, allocations: 164.5 kB / 1.235 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.9309, allocations: 1.094 kB / 1.235 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.9309, allocations: 2.562 kB / 1.235 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.9311, allocations: 104.3 kB / 1.235 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.9312, allocations: 0 / 1.235 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.9312, allocations: 1.25 kB / 1.235 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/0.9312, allocations: 13.42 kB / 1.235 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.9314, allocations: 86.27 kB / 1.235 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.9319, allocations: 329.2 kB / 1.236 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.9321, allocations: 102.6 kB / 1.236 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.717e-05/0.9322, allocations: 52.06 kB / 1.236 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009104/0.9331, allocations: 480.9 kB / 1.236 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.9331, allocations: 35.66 kB / 1.236 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.9331, allocations: 0 / 1.236 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0003042/0.9335, allocations: 122.4 kB / 1.236 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.9335, allocations: 53.38 kB / 1.236 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.589e-05/0.9336, allocations: 121.9 kB / 1.236 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.9336, allocations: 27.08 kB / 1.237 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.9337, allocations: 101.6 kB / 1.237 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.9337, allocations: 37.3 kB / 1.237 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.9338, allocations: 41.2 kB / 1.237 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/0.9339, allocations: 321.6 kB / 1.237 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/0.9339, allocations: 27.67 kB / 1.237 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-05/0.934, allocations: 73.91 kB / 1.237 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.9342, allocations: 115.9 kB / 1.237 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9342, allocations: 0 / 1.237 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002179/0.9344, allocations: 136.9 kB / 1.237 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.9344, allocations: 9.344 kB / 1.237 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.9344, allocations: 5.922 kB / 1.237 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.9345, allocations: 6.031 kB / 1.237 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.9346, allocations: 33.98 kB / 1.237 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.9346, allocations: 2.25 kB / 1.237 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.9347, allocations: 10.78 kB / 1.237 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.9347, allocations: 4.812 kB / 1.237 GB, free: 1.891 MB / 0.9669 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 9.073e-05/0.9348, allocations: 129.8 kB / 1.238 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.9348, allocations: 16.31 kB / 1.238 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.935, allocations: 114.2 kB / 1.238 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.9351, allocations: 5.234 kB / 1.238 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.9351, allocations: 0 / 1.238 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.9351, allocations: 1.312 kB / 1.238 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.9353, allocations: 179.9 kB / 1.238 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9353, allocations: 0 / 1.238 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.815e-05/0.9354, allocations: 22 kB / 1.238 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.9354, allocations: 5.094 kB / 1.238 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.9354, allocations: 5.219 kB / 1.238 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.9354, allocations: 5.141 kB / 1.238 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9354, allocations: 3.938 kB / 1.238 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.9356, allocations: 199.5 kB / 1.238 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.9357, allocations: 94.84 kB / 1.238 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.9357, allocations: 4 kB / 1.238 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.257e-05/0.9358, allocations: 5.219 kB / 1.238 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.9358, allocations: 7.734 kB / 1.238 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.9358, allocations: 2.312 kB / 1.238 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.25e-05/0.9358, allocations: 91.19 kB / 1.238 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9358, allocations: 0 / 1.238 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004368/0.9363, allocations: 81.2 kB / 1.238 GB, free: 1.051 MB / 0.9669 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.0007544/0.937, allocations: 0.8143 MB / 1.239 GB, free: 328 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.9372, allocations: 88.2 kB / 1.239 GB, free: 296 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9373, allocations: 0 / 1.239 GB, free: 296 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.063e-05/0.9373, allocations: 36.98 kB / 1.239 GB, free: 284 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.9376, allocations: 15.66 kB / 1.239 GB, free: 276 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006394/0.9382, allocations: 253.1 kB / 1.239 GB, free: 56 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.9385, allocations: 0.6863 MB / 1.24 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.9386, allocations: 56.58 kB / 1.24 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.9387, allocations: 18.22 kB / 1.24 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.9387, allocations: 3.938 kB / 1.24 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.9607, allocations: 3.217 MB / 1.243 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/8.837, allocations: 17.61 kB / 1.243 GB, free: 13.68 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches