Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.001806/0.001806, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.837/2.837, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 68.22 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2676, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002649/0.2703, allocations: 1.372 MB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.272, allocations: 1.084 MB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.272, allocations: 4 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.2721, allocations: 3.938 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.981e-05/0.2721, allocations: 7.922 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.2727, allocations: 211.9 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.418e-05/0.2728, allocations: 39.78 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.2728, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.538e-05/0.2729, allocations: 11.98 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.273, allocations: 15.92 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.273, allocations: 4 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006225/0.2736, allocations: 427.4 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.2736, allocations: 7.938 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.2737, allocations: 15.92 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.274, allocations: 195.9 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.274, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.274, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.274, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000465/0.2745, allocations: 387.3 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2745, allocations: 8.031 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.035e-05/0.2746, allocations: 30.75 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.2746, allocations: 16.83 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.2747, allocations: 160.4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.2748, allocations: 8.312 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.2748, allocations: 384 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.2749, allocations: 45.81 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2749, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.2749, allocations: 3.938 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2749, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.78e-05/0.275, allocations: 12 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.2751, allocations: 169.6 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.689e-05/0.2752, allocations: 38.52 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.2753, allocations: 20.91 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.2763, allocations: 0.9895 MB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.2764, allocations: 34.5 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2764, allocations: 0 / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001632/0.2765, allocations: 57.59 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.2766, allocations: 51.41 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.2767, allocations: 109.8 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2767, allocations: 25.7 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.2767, allocations: 96.06 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.2768, allocations: 15.73 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.2768, allocations: 17.72 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2769, allocations: 314.8 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.277, allocations: 4 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.277, allocations: 7.984 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.789e-05/0.277, allocations: 20.86 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.277, allocations: 4 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.058e-05/0.2771, allocations: 53.62 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.2772, allocations: 5.406 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2772, allocations: 0 / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2772, allocations: 0 / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.2773, allocations: 19.94 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2773, allocations: 3.984 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.2773, allocations: 4 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.2773, allocations: 0 / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.36e-05/0.2774, allocations: 109.8 kB / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.2774, allocations: 11.84 kB / 1.07 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.2776, allocations: 63.42 kB / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2776, allocations: 0 / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2776, allocations: 0 / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2776, allocations: 3.984 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.2777, allocations: 157.7 kB / 1.07 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2777, allocations: 0 / 1.07 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.829e-05/0.2778, allocations: 23.88 kB / 1.07 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2779, allocations: 7.938 kB / 1.07 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2779, allocations: 3.984 kB / 1.07 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2779, allocations: 4 kB / 1.07 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2779, allocations: 0 / 1.07 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.278, allocations: 73.06 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.278, allocations: 85.38 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.2781, allocations: 4 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.349e-05/0.2781, allocations: 4 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.2781, allocations: 4 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.2781, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.803e-05/0.2782, allocations: 87.27 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2782, allocations: 0 / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002369/0.2784, allocations: 43.94 kB / 1.071 GB, free: 6.867 MB / 0.8262 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 (4): * Single equations (assignments): 4 * 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.0005165/0.2789, allocations: 0.6748 MB / 1.071 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.432e-05/0.279, allocations: 16 kB / 1.071 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2791, allocations: 4 kB / 1.071 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.67e-05/0.2791, allocations: 15.92 kB / 1.071 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.2793, allocations: 4 kB / 1.071 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.2797, allocations: 193.9 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.28, allocations: 0.6807 MB / 1.072 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.331e-05/0.2801, allocations: 11.83 kB / 1.072 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.2801, allocations: 11.44 kB / 1.072 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.2801, allocations: 0 / 1.072 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.3029, allocations: 2.165 MB / 1.074 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.624/7.927, allocations: 7.719 kB / 1.074 GB, free: 3.191 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches