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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007177/0.007177, allocations: 102.8 kB / 15.74 MB, free: 6.039 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.001681/0.001681, allocations: 201.3 kB / 16.68 MB, free: 5.965 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.521/2.521, allocations: 469.4 MB / 0.7422 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 60.14 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2865, allocations: 159.1 MB / 1.22 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002473/0.289, allocations: 1.323 MB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7832/1.072, allocations: 147.9 MB / 1.365 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/1.072, allocations: 0 / 1.365 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/1.072, allocations: 2.531 kB / 1.365 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/1.073, allocations: 42.84 kB / 1.366 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/1.074, allocations: 367.4 kB / 1.366 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000112/1.074, allocations: 67.55 kB / 1.366 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/1.074, allocations: 3.531 kB / 1.366 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/1.074, allocations: 27.03 kB / 1.366 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/1.074, allocations: 57.36 kB / 1.366 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/1.074, allocations: 1.438 kB / 1.366 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007547/1.075, allocations: 414.3 kB / 1.366 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/1.075, allocations: 29.67 kB / 1.366 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/1.075, allocations: 30.97 kB / 1.366 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004727/1.075, allocations: 266.7 kB / 1.367 GB, free: 15.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.075, allocations: 0 / 1.367 GB, free: 15.52 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.333e-06/1.075, allocations: 0 / 1.367 GB, free: 15.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.26e-06/1.075, allocations: 0 / 1.367 GB, free: 15.52 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.0004085/1.076, allocations: 409.6 kB / 1.367 GB, free: 15.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/1.076, allocations: 9.531 kB / 1.367 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/1.076, allocations: 43.39 kB / 1.367 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/1.076, allocations: 7.406 kB / 1.367 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.523e-05/1.076, allocations: 166.9 kB / 1.367 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/1.076, allocations: 5.094 kB / 1.367 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/1.076, allocations: 2.469 kB / 1.367 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/1.076, allocations: 88.95 kB / 1.367 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/1.076, allocations: 0 / 1.367 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/1.076, allocations: 5.125 kB / 1.367 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/1.076, allocations: 15.53 kB / 1.367 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/1.076, allocations: 76 kB / 1.368 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/1.077, allocations: 351.5 kB / 1.368 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/1.077, allocations: 99.09 kB / 1.368 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.062e-05/1.077, allocations: 53.33 kB / 1.368 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007812/1.078, allocations: 470.4 kB / 1.368 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/1.078, allocations: 37.25 kB / 1.369 GB, free: 13.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/1.078, allocations: 1.312 kB / 1.369 GB, free: 13.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0002469/1.078, allocations: 115.8 kB / 1.369 GB, free: 13.86 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/1.078, allocations: 56.72 kB / 1.369 GB, free: 13.79 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/1.078, allocations: 117.6 kB / 1.369 GB, free: 13.68 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/1.078, allocations: 29.7 kB / 1.369 GB, free: 13.65 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/1.078, allocations: 97.23 kB / 1.369 GB, free: 13.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/1.078, allocations: 44.73 kB / 1.369 GB, free: 13.52 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/1.078, allocations: 40.92 kB / 1.369 GB, free: 13.49 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/1.079, allocations: 312.1 kB / 1.369 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/1.079, allocations: 34.8 kB / 1.369 GB, free: 13.17 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/1.079, allocations: 69.39 kB / 1.369 GB, free: 13.11 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/1.079, allocations: 115.1 kB / 1.369 GB, free: 13.04 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.079, allocations: 0.8125 kB / 1.369 GB, free: 13.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001876/1.079, allocations: 143.8 kB / 1.37 GB, free: 12.97 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.079, allocations: 12.41 kB / 1.37 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/1.079, allocations: 1.219 kB / 1.37 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/1.079, allocations: 2.562 kB / 1.37 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/1.079, allocations: 31.36 kB / 1.37 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/1.079, allocations: 2.688 kB / 1.37 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/1.079, allocations: 11.42 kB / 1.37 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/1.079, allocations: 6.031 kB / 1.37 GB, free: 12.95 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 7.971e-05/1.079, allocations: 124.6 kB / 1.37 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/1.079, allocations: 17.27 kB / 1.37 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/1.08, allocations: 122.9 kB / 1.37 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.08, allocations: 6.406 kB / 1.37 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.08, allocations: 0 / 1.37 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.08, allocations: 0 / 1.37 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/1.08, allocations: 175.5 kB / 1.37 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.08, allocations: 3.422 kB / 1.37 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/1.08, allocations: 15.34 kB / 1.37 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/1.08, allocations: 9.047 kB / 1.37 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/1.08, allocations: 1.594 kB / 1.37 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-06/1.08, allocations: 11.44 kB / 1.37 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.08, allocations: 0 / 1.37 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/1.08, allocations: 201.8 kB / 1.37 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/1.08, allocations: 98.5 kB / 1.37 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/1.08, allocations: 0 / 1.37 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.725e-05/1.08, allocations: 11.72 kB / 1.37 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/1.08, allocations: 10.7 kB / 1.37 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/1.08, allocations: 1.5 kB / 1.37 GB, free: 12.27 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.967e-05/1.08, allocations: 89.77 kB / 1.371 GB, free: 12.19 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.08, allocations: 0 / 1.371 GB, free: 12.19 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003482/1.081, allocations: 76 kB / 1.371 GB, free: 12.17 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.0006207/1.081, allocations: 0.8164 MB / 1.371 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001592/1.082, allocations: 82.42 kB / 1.371 GB, free: 11.45 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.082, allocations: 0 / 1.371 GB, free: 11.45 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/1.082, allocations: 41.47 kB / 1.372 GB, free: 11.43 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/1.082, allocations: 27.73 kB / 1.372 GB, free: 11.42 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/1.082, allocations: 244.7 kB / 1.372 GB, free: 11.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/1.083, allocations: 0.6882 MB / 1.372 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001067/1.083, allocations: 56.97 kB / 1.373 GB, free: 10.53 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/1.083, allocations: 16.53 kB / 1.373 GB, free: 10.52 MB / 1.076 GB Notification: Performance of SimCode: time 2.21e-07/1.083, allocations: 1.531 kB / 1.373 GB, free: 10.52 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/1.1, allocations: 3.222 MB / 1.376 GB, free: 9.977 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.358/8.458, allocations: 11.08 kB / 1.376 GB, free: 9.969 MB / 1.076 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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