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.007804/0.007804, allocations: 99.19 kB / 15.73 MB, free: 6.031 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.002102/0.002102, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.344/1.344, 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.71/2.71, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 68.11 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.278, allocations: 159.1 MB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002306/0.2804, allocations: 1.366 MB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.2819, allocations: 1.086 MB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.282, allocations: 0 / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.282, allocations: 3.938 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.2821, allocations: 11.91 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.2827, allocations: 215.3 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.2e-05/0.2827, allocations: 31.8 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.2828, allocations: 7.984 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.743e-05/0.2828, allocations: 7.938 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.779e-05/0.2829, allocations: 19.92 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.2829, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006133/0.2835, allocations: 427.4 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.2836, allocations: 7.984 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.2836, allocations: 19.88 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.2839, allocations: 191.4 kB / 1.224 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2839, allocations: 4 kB / 1.224 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2839, allocations: 0 / 1.224 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.2839, allocations: 0 / 1.224 GB, free: 10.83 MB / 0.9825 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.0004516/0.2844, allocations: 394.8 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.2844, allocations: 12.03 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.2845, allocations: 34.75 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.042e-05/0.2845, allocations: 0.9375 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2846, allocations: 176.3 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.2846, allocations: 384 / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.2846, allocations: 4.375 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.731e-05/0.2847, allocations: 45.75 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2847, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.2848, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2848, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.947e-05/0.2848, allocations: 15.98 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.285, allocations: 157.7 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/0.2851, allocations: 42.56 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.2851, allocations: 20.83 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009552/0.2861, allocations: 0.9856 MB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.2861, allocations: 34.5 kB / 1.225 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2861, allocations: 3.938 kB / 1.225 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001554/0.2863, allocations: 57.83 kB / 1.225 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.2863, allocations: 55.39 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.425e-05/0.2864, allocations: 109.8 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2864, allocations: 29.7 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.2865, allocations: 88.12 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.2865, allocations: 11.91 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.2866, allocations: 13.72 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2867, allocations: 318.8 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.2867, allocations: 11.92 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.714e-05/0.2867, allocations: 7.984 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.518e-05/0.2868, allocations: 16.86 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2868, allocations: 0 / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.398e-05/0.2869, allocations: 65.56 kB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2869, allocations: 8 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.2869, allocations: 0 / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.2869, allocations: 0 / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.287, allocations: 15.98 kB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.2871, allocations: 3.938 kB / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.2871, allocations: 0 / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.2871, allocations: 0 / 1.226 GB, free: 7.668 MB / 0.9825 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.245e-05/0.2872, allocations: 109.8 kB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.2872, allocations: 11.89 kB / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.2873, allocations: 63.41 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2873, allocations: 4 kB / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2873, allocations: 0 / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2873, allocations: 0 / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.2875, allocations: 161.7 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2875, allocations: 0 / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.2876, allocations: 19.92 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2876, allocations: 3.938 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.2876, allocations: 0 / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2876, allocations: 8 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2876, allocations: 0 / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.2877, allocations: 73.12 kB / 1.227 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.2877, allocations: 89 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.2878, allocations: 3.938 kB / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.125e-05/0.2878, allocations: 0 / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.2878, allocations: 7.984 kB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.2878, allocations: 0 / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.376e-05/0.2879, allocations: 87.28 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2879, allocations: 0 / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002217/0.2881, allocations: 43.8 kB / 1.227 GB, free: 6.887 MB / 0.9825 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.0005061/0.2886, allocations: 0.6674 MB / 1.227 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.108e-05/0.2887, allocations: 28.27 kB / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2887, allocations: 0 / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-05/0.2887, allocations: 11.94 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.289, allocations: 12.12 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.2894, allocations: 203.8 kB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.2897, allocations: 0.6846 MB / 1.228 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.982e-05/0.2897, allocations: 4.25 kB / 1.228 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.2897, allocations: 11.44 kB / 1.228 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2897, allocations: 3.938 kB / 1.228 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.3112, allocations: 2.189 MB / 1.231 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/7.643, allocations: 13.08 kB / 1.231 GB, free: 3.188 MB / 0.9825 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