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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007793/0.007793, allocations: 100.3 kB / 15.73 MB, free: 6.477 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.001237/0.001237, allocations: 192.5 kB / 16.67 MB, free: 6.391 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.766/2.766, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.88 kB / 1.054 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3166, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002524/0.3192, allocations: 1.342 MB / 1.209 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7831/1.102, allocations: 147.9 MB / 1.353 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/1.102, allocations: 1.344 kB / 1.353 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.246e-05/1.102, allocations: 1.359 kB / 1.353 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002076/1.103, allocations: 39.59 kB / 1.353 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/1.104, allocations: 356 kB / 1.353 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/1.104, allocations: 75.25 kB / 1.353 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/1.104, allocations: 3.016 kB / 1.353 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/1.104, allocations: 28 kB / 1.354 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/1.105, allocations: 59.8 kB / 1.354 GB, free: 13.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/1.105, allocations: 1.5 kB / 1.354 GB, free: 13.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009752/1.106, allocations: 407.1 kB / 1.354 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/1.106, allocations: 32.86 kB / 1.354 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/1.106, allocations: 18.41 kB / 1.354 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007307/1.106, allocations: 278.9 kB / 1.354 GB, free: 13.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.106, allocations: 5.062 kB / 1.354 GB, free: 13.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.352e-06/1.106, allocations: 0 / 1.354 GB, free: 13.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.106, allocations: 1.594 kB / 1.354 GB, free: 13.7 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.0005577/1.107, allocations: 401.1 kB / 1.355 GB, free: 13.3 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.107, allocations: 10.16 kB / 1.355 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/1.107, allocations: 38.08 kB / 1.355 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/1.107, allocations: 8.156 kB / 1.355 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/1.107, allocations: 163.5 kB / 1.355 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/1.107, allocations: 5.062 kB / 1.355 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/1.107, allocations: 10.44 kB / 1.355 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/1.108, allocations: 92.44 kB / 1.355 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/1.108, allocations: 0 / 1.355 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/1.108, allocations: 1.312 kB / 1.355 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/1.108, allocations: 16 kB / 1.355 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/1.108, allocations: 79.3 kB / 1.355 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/1.108, allocations: 334.4 kB / 1.355 GB, free: 12.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/1.108, allocations: 109.8 kB / 1.355 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.459e-05/1.109, allocations: 52.05 kB / 1.356 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009236/1.109, allocations: 471.6 kB / 1.356 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/1.11, allocations: 35.16 kB / 1.356 GB, free: 12.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/1.11, allocations: 4 kB / 1.356 GB, free: 12.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0002808/1.11, allocations: 117.9 kB / 1.356 GB, free: 12.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/1.11, allocations: 56.66 kB / 1.356 GB, free: 11.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.312e-05/1.11, allocations: 122.4 kB / 1.356 GB, free: 11.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/1.11, allocations: 27.52 kB / 1.356 GB, free: 11.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/1.11, allocations: 99.7 kB / 1.356 GB, free: 11.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/1.11, allocations: 40.02 kB / 1.356 GB, free: 11.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/1.11, allocations: 32.97 kB / 1.357 GB, free: 11.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.11, allocations: 322.7 kB / 1.357 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/1.11, allocations: 28.52 kB / 1.357 GB, free: 11.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/1.11, allocations: 75.81 kB / 1.357 GB, free: 11.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/1.111, allocations: 113.8 kB / 1.357 GB, free: 11.22 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.111, allocations: 1.25 kB / 1.357 GB, free: 11.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002134/1.111, allocations: 127.7 kB / 1.357 GB, free: 11.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.111, allocations: 7.406 kB / 1.357 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/1.111, allocations: 1.188 kB / 1.357 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.111, allocations: 2.438 kB / 1.357 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/1.111, allocations: 42.39 kB / 1.357 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.111, allocations: 1.812 kB / 1.357 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.499e-05/1.111, allocations: 17 kB / 1.357 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/1.111, allocations: 6.25 kB / 1.357 GB, free: 11.14 MB / 1.061 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.795e-05/1.111, allocations: 127.5 kB / 1.357 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/1.111, allocations: 8 kB / 1.357 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/1.111, allocations: 120.1 kB / 1.357 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.111, allocations: 4.969 kB / 1.357 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.112, allocations: 0.75 kB / 1.357 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.112, allocations: 0.6562 kB / 1.357 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/1.112, allocations: 184.8 kB / 1.358 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.112, allocations: 0.7969 kB / 1.358 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.85e-05/1.112, allocations: 20.53 kB / 1.358 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.112, allocations: 1.469 kB / 1.358 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/1.112, allocations: 4.75 kB / 1.358 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.112, allocations: 5.938 kB / 1.358 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.112, allocations: 0 / 1.358 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/1.112, allocations: 200.2 kB / 1.358 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/1.112, allocations: 94.89 kB / 1.358 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/1.112, allocations: 11.48 kB / 1.358 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.457e-05/1.112, allocations: 5.281 kB / 1.358 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/1.112, allocations: 4.594 kB / 1.358 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/1.112, allocations: 7.891 kB / 1.358 GB, free: 10.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.754e-05/1.112, allocations: 85.47 kB / 1.358 GB, free: 10.38 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.2e-07/1.112, allocations: 4 kB / 1.358 GB, free: 10.38 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004286/1.113, allocations: 79.03 kB / 1.358 GB, free: 10.36 MB / 1.061 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.0007775/1.114, allocations: 0.8143 MB / 1.359 GB, free: 9.648 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001956/1.114, allocations: 85.7 kB / 1.359 GB, free: 9.629 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.114, allocations: 1.125 kB / 1.359 GB, free: 9.629 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.272e-05/1.114, allocations: 37.61 kB / 1.359 GB, free: 9.621 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/1.114, allocations: 18.3 kB / 1.359 GB, free: 9.613 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/1.115, allocations: 238.3 kB / 1.359 GB, free: 9.434 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/1.115, allocations: 0.6943 MB / 1.36 GB, free: 8.734 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001326/1.115, allocations: 55.56 kB / 1.36 GB, free: 8.723 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/1.115, allocations: 17.94 kB / 1.36 GB, free: 8.711 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/1.115, allocations: 0 / 1.36 GB, free: 8.711 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/1.137, allocations: 3.222 MB / 1.363 GB, free: 8.238 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.963, allocations: 12.8 kB / 1.363 GB, free: 8.234 MB / 1.061 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) Reference file matches