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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001398/0.001398, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001621/0.001621, allocations: 193.5 kB / 16.14 MB, free: 6.719 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.267/1.267, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.45/2.45, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 69.56 kB / 0.8985 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.221, allocations: 157.4 MB / 1.052 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002133/0.2232, allocations: 1.388 MB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1242/0.3474, allocations: 145.6 MB / 1.196 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.3474, allocations: 0 / 1.196 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.3475, allocations: 0 / 1.196 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.3477, allocations: 39.86 kB / 1.196 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008866/0.3486, allocations: 326.8 kB / 1.196 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.3487, allocations: 187.7 kB / 1.196 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.021e-05/0.3488, allocations: 7.938 kB / 1.196 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.3488, allocations: 23.97 kB / 1.196 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.3489, allocations: 63.88 kB / 1.196 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.3489, allocations: 0 / 1.196 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006754/0.3496, allocations: 439 kB / 1.197 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.3497, allocations: 19.97 kB / 1.197 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.3497, allocations: 27.86 kB / 1.197 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.3501, allocations: 291.6 kB / 1.197 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3502, allocations: 3.984 kB / 1.197 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.21e-07/0.3502, allocations: 0 / 1.197 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.3502, allocations: 4 kB / 1.197 GB, free: 3.191 MB / 0.9512 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.0003785/0.3505, allocations: 399.2 kB / 1.198 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3506, allocations: 15.97 kB / 1.198 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.3506, allocations: 34.75 kB / 1.198 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.3507, allocations: 4.938 kB / 1.198 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.133e-05/0.3508, allocations: 172.1 kB / 1.198 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.3508, allocations: 11.94 kB / 1.198 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.3508, allocations: 0 / 1.198 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3509, allocations: 93.66 kB / 1.198 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.351, allocations: 0 / 1.198 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.351, allocations: 0 / 1.198 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.351, allocations: 12 kB / 1.198 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3511, allocations: 83.94 kB / 1.198 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.3515, allocations: 336.6 kB / 1.198 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.3517, allocations: 102.5 kB / 1.198 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.3517, allocations: 60.89 kB / 1.198 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008176/0.3526, allocations: 465.4 kB / 1.199 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3526, allocations: 42.48 kB / 1.199 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.3526, allocations: 0 / 1.199 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0002216/0.3528, allocations: 121.5 kB / 1.199 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.3529, allocations: 59.34 kB / 1.199 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/0.3529, allocations: 113.8 kB / 1.199 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.353, allocations: 25.7 kB / 1.199 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.353, allocations: 104.2 kB / 1.199 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.353, allocations: 39.45 kB / 1.199 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.3531, allocations: 33.62 kB / 1.199 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.3532, allocations: 322.8 kB / 1.2 GB, free: 284 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.3532, allocations: 27.98 kB / 1.2 GB, free: 256 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.934e-05/0.3533, allocations: 71.38 kB / 1.2 GB, free: 168 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.3534, allocations: 121 kB / 1.2 GB, free: 28 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3534, allocations: 0 / 1.2 GB, free: 28 kB / 0.9512 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001768/0.3536, allocations: 133.5 kB / 1.2 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3536, allocations: 4.938 kB / 1.2 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3536, allocations: 4.156 kB / 1.2 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.3536, allocations: 7.938 kB / 1.2 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.3537, allocations: 31.98 kB / 1.2 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3537, allocations: 0 / 1.2 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/0.3538, allocations: 11.84 kB / 1.2 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3538, allocations: 7.938 kB / 1.2 GB, free: 15.82 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 7.033e-05/0.3539, allocations: 129.8 kB / 1.2 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.3539, allocations: 7.906 kB / 1.2 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.3541, allocations: 122.5 kB / 1.2 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3541, allocations: 11.92 kB / 1.2 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3541, allocations: 0 / 1.2 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3541, allocations: 3.984 kB / 1.2 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.3543, allocations: 169.7 kB / 1.201 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3543, allocations: 7.938 kB / 1.201 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/0.3544, allocations: 15.98 kB / 1.201 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3544, allocations: 0 / 1.201 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.3544, allocations: 8 kB / 1.201 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.3544, allocations: 8.188 kB / 1.201 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3544, allocations: 0 / 1.201 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.3546, allocations: 199.4 kB / 1.201 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.3546, allocations: 93 kB / 1.201 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.3546, allocations: 8 kB / 1.201 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.162e-05/0.3547, allocations: 3.938 kB / 1.201 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.3547, allocations: 7.938 kB / 1.201 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.3547, allocations: 7.984 kB / 1.201 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.309e-05/0.3548, allocations: 87.28 kB / 1.201 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3548, allocations: 0 / 1.201 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002967/0.3551, allocations: 75.92 kB / 1.201 GB, free: 14.77 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.0005404/0.3556, allocations: 0.8273 MB / 1.202 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.3558, allocations: 83.78 kB / 1.202 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3558, allocations: 0 / 1.202 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.67e-05/0.3558, allocations: 39.97 kB / 1.202 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.3561, allocations: 12.25 kB / 1.202 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.3565, allocations: 273.9 kB / 1.202 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.3567, allocations: 0.6888 MB / 1.203 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.3568, allocations: 52.97 kB / 1.203 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.3569, allocations: 19.44 kB / 1.203 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.3569, allocations: 0 / 1.203 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2758/0.6327, allocations: 3.02 MB / 1.206 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.6329, allocations: 271.3 kB / 1.206 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.466, allocations: 0 / 1.206 GB, free: 9.523 MB / 0.9669 GB (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 --timeout=50 --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) 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) "" Variables in the reference:time,cpe10,cpe15,cpe20,cpe25,cpe30 Variables in the result:TIn[1,1],TIn[1,2],TIn[1,3],TIn[1,4],TIn[1,5],TOut[1,1],TOut[1,2],TOut[1,3],TOut[1,4],TOut[1,5],cpe10,cpe15,cpe20,cpe25,cpe30,deltaT,time