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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004839/0.004839, allocations: 99.02 kB / 15.73 MB, free: 6.047 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.001298/0.001299, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 67.84 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3204, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002315/0.3227, allocations: 1.331 MB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8077/1.13, allocations: 147.9 MB / 1.366 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/1.131, allocations: 1.281 kB / 1.366 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.789e-05/1.131, allocations: 1.031 kB / 1.366 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001826/1.131, allocations: 42.72 kB / 1.366 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/1.132, allocations: 358.8 kB / 1.366 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/1.132, allocations: 68.06 kB / 1.366 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/1.132, allocations: 3.594 kB / 1.366 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/1.132, allocations: 31.16 kB / 1.366 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/1.132, allocations: 56.45 kB / 1.366 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/1.133, allocations: 1.344 kB / 1.366 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009373/1.133, allocations: 415.2 kB / 1.367 GB, free: 15.39 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.825e-05/1.134, allocations: 28.08 kB / 1.367 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/1.134, allocations: 27.22 kB / 1.367 GB, free: 15.37 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006752/1.134, allocations: 271.6 kB / 1.367 GB, free: 15.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/1.134, allocations: 0 / 1.367 GB, free: 15.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.302e-06/1.134, allocations: 0 / 1.367 GB, free: 15.3 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.061e-06/1.134, allocations: 0 / 1.367 GB, free: 15.3 MB / 1.076 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.0005535/1.135, allocations: 408.2 kB / 1.368 GB, free: 14.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.135, allocations: 11.44 kB / 1.368 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/1.135, allocations: 48.22 kB / 1.368 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/1.135, allocations: 3.156 kB / 1.368 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/1.135, allocations: 162.6 kB / 1.368 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/1.135, allocations: 7.438 kB / 1.368 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/1.135, allocations: 2.594 kB / 1.368 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/1.135, allocations: 100.1 kB / 1.368 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/1.135, allocations: 0 / 1.368 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/1.135, allocations: 0 / 1.368 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/1.135, allocations: 11.72 kB / 1.368 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/1.136, allocations: 82.58 kB / 1.368 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/1.136, allocations: 342.5 kB / 1.368 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/1.136, allocations: 99.61 kB / 1.368 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.304e-05/1.136, allocations: 54.84 kB / 1.368 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009058/1.137, allocations: 479.7 kB / 1.369 GB, free: 13.72 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/1.137, allocations: 31.88 kB / 1.369 GB, free: 13.68 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/1.137, allocations: 0 / 1.369 GB, free: 13.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0002672/1.138, allocations: 113.6 kB / 1.369 GB, free: 13.63 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/1.138, allocations: 59.91 kB / 1.369 GB, free: 13.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.84e-05/1.138, allocations: 117.3 kB / 1.369 GB, free: 13.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/1.138, allocations: 30.77 kB / 1.369 GB, free: 13.42 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/1.138, allocations: 102.8 kB / 1.369 GB, free: 13.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/1.138, allocations: 39.5 kB / 1.369 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/1.138, allocations: 35.39 kB / 1.369 GB, free: 13.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.138, allocations: 319.7 kB / 1.37 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.767e-05/1.138, allocations: 31.27 kB / 1.37 GB, free: 12.94 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-05/1.138, allocations: 70.8 kB / 1.37 GB, free: 12.89 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/1.138, allocations: 111.4 kB / 1.37 GB, free: 12.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/1.138, allocations: 1.062 kB / 1.37 GB, free: 12.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002098/1.139, allocations: 140.5 kB / 1.37 GB, free: 12.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.139, allocations: 6.312 kB / 1.37 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.139, allocations: 3.125 kB / 1.37 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/1.139, allocations: 6.219 kB / 1.37 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/1.139, allocations: 35.12 kB / 1.37 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/1.139, allocations: 1.375 kB / 1.37 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/1.139, allocations: 12.52 kB / 1.37 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/1.139, allocations: 6.188 kB / 1.37 GB, free: 12.73 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 9.917e-05/1.139, allocations: 131.1 kB / 1.37 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/1.139, allocations: 7.016 kB / 1.37 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/1.139, allocations: 125.1 kB / 1.37 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/1.139, allocations: 5.094 kB / 1.37 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.139, allocations: 0 / 1.37 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.139, allocations: 1.188 kB / 1.37 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/1.139, allocations: 179.5 kB / 1.371 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.139, allocations: 0 / 1.371 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.478e-05/1.14, allocations: 29.38 kB / 1.371 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/1.14, allocations: 1.188 kB / 1.371 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/1.14, allocations: 1.219 kB / 1.371 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.14, allocations: 3.938 kB / 1.371 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.14, allocations: 5.062 kB / 1.371 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/1.14, allocations: 196.3 kB / 1.371 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/1.14, allocations: 94.06 kB / 1.371 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/1.14, allocations: 5.281 kB / 1.371 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/1.14, allocations: 9.156 kB / 1.371 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/1.14, allocations: 9.469 kB / 1.371 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/1.14, allocations: 2.781 kB / 1.371 GB, free: 12.05 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.744e-05/1.14, allocations: 90.44 kB / 1.371 GB, free: 11.97 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.14, allocations: 0 / 1.371 GB, free: 11.97 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004071/1.14, allocations: 76.56 kB / 1.371 GB, free: 11.95 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.0007429/1.141, allocations: 0.8225 MB / 1.372 GB, free: 11.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001749/1.141, allocations: 82.02 kB / 1.372 GB, free: 11.22 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.141, allocations: 0 / 1.372 GB, free: 11.22 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.868e-05/1.141, allocations: 40.8 kB / 1.372 GB, free: 11.21 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/1.142, allocations: 24.7 kB / 1.372 GB, free: 11.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/1.142, allocations: 246.9 kB / 1.372 GB, free: 11.01 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/1.143, allocations: 0.6923 MB / 1.373 GB, free: 10.31 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000109/1.143, allocations: 57.59 kB / 1.373 GB, free: 10.3 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/1.143, allocations: 17.06 kB / 1.373 GB, free: 10.29 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.143, allocations: 0 / 1.373 GB, free: 10.29 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/1.168, allocations: 3.21 MB / 1.376 GB, free: 9.723 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/9.27, allocations: 12.91 kB / 1.376 GB, free: 9.715 MB / 1.076 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.csv --start-time 10 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.csv","/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) Reference file matches