Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001516/0.001516, 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.002038/0.002038, 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.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.71/2.71, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 59.91 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.766/0.7675, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002801/0.7704, allocations: 1.37 MB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.7721, allocations: 1.095 MB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.7722, allocations: 0 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.7722, allocations: 3.938 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.7723, allocations: 11.86 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006356/0.7729, allocations: 215.1 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.404e-05/0.773, allocations: 31.86 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.773, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.112e-05/0.7731, allocations: 23.91 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.731e-05/0.7732, allocations: 19.92 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.7732, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005745/0.7738, allocations: 423.5 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.7738, allocations: 0 / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.7738, allocations: 19.86 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.7741, allocations: 197.9 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7742, allocations: 4 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7742, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.7742, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.7794 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.0004652/0.7746, allocations: 383.3 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.7747, allocations: 11.98 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.993e-05/0.7747, allocations: 38.75 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.7748, allocations: 4.922 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.7749, allocations: 172.2 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.7749, allocations: 384 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.7749, allocations: 384 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.775, allocations: 49.81 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.775, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.7751, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.7751, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.7751, allocations: 15.92 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.7753, allocations: 165.7 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.652e-05/0.7754, allocations: 34.58 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.7754, allocations: 16.92 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009124/0.7763, allocations: 0.9856 MB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.7764, allocations: 46.44 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.7764, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001703/0.7766, allocations: 57.62 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.7766, allocations: 51.41 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.7767, allocations: 105.8 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.7767, allocations: 25.7 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.7768, allocations: 88.14 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.7768, allocations: 11.8 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.7768, allocations: 21.72 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.7769, allocations: 310.8 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.777, allocations: 8 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.844e-05/0.777, allocations: 15.92 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.777, allocations: 16.86 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.777, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.944e-05/0.7771, allocations: 61.47 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.7771, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7772, allocations: 4 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.7772, allocations: 4 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.7773, allocations: 8 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.7773, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.7773, allocations: 3.984 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.7773, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 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.676e-05/0.7774, allocations: 113.8 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.7774, allocations: 3.938 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.7776, allocations: 61.53 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.7776, allocations: 4 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7776, allocations: 4 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.7776, allocations: 4 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.7777, allocations: 165.6 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.7777, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-05/0.7778, allocations: 15.94 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7778, allocations: 384 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.7778, allocations: 4 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.7778, allocations: 3.984 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7778, allocations: 0 / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.853e-05/0.7779, allocations: 88.95 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.778, allocations: 84.98 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.778, allocations: 4 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.778, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.778, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.7781, allocations: 8 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.7781, allocations: 87.56 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7781, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002505/0.7784, allocations: 44 kB / 1.024 GB, free: 11.16 MB / 0.7794 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.000488/0.7789, allocations: 0.6669 MB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.779, allocations: 23.94 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.779, allocations: 0 / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.145e-05/0.779, allocations: 15.98 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.7793, allocations: 9.172 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.7797, allocations: 189.9 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.78, allocations: 0.6845 MB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.649e-05/0.78, allocations: 11.98 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.7801, allocations: 11.44 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.7801, allocations: 0 / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.8017, allocations: 2.158 MB / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.607, allocations: 7.312 kB / 1.028 GB, free: 7.488 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches