Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00213/0.00213, allocations: 216.4 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.357/3.357, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 70.52 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3632, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002595/0.3658, allocations: 1.379 MB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.3677, allocations: 1.033 MB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.3677, allocations: 4 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.3677, allocations: 7.922 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.72e-05/0.3678, allocations: 3.938 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.3684, allocations: 227.5 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.468e-05/0.3685, allocations: 35.78 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/0.3686, allocations: 12 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3687, allocations: 11.94 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.3687, allocations: 15.92 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.3687, allocations: 4 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006033/0.3693, allocations: 403.5 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.3694, allocations: 7.938 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.3694, allocations: 7.938 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.3697, allocations: 207.4 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3697, allocations: 0 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3697, allocations: 0 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.3697, allocations: 4 kB / 1.367 GB, free: 10.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004616/0.3702, allocations: 311.3 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3702, allocations: 12.03 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.3703, allocations: 30.75 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.3703, allocations: 0.9375 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3704, allocations: 118.5 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.3704, allocations: 8.312 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.3704, allocations: 384 / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.3705, allocations: 37.81 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3705, allocations: 4 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3706, allocations: 8 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3706, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.947e-05/0.3706, allocations: 15.92 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.3708, allocations: 140.7 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.3709, allocations: 38.52 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.3709, allocations: 16.92 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.3714, allocations: 91.92 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.3715, allocations: 42.48 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3715, allocations: 0 / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001857/0.3717, allocations: 53.83 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3717, allocations: 59.41 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.869e-05/0.3718, allocations: 101.8 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3718, allocations: 33.64 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.3719, allocations: 84.14 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.3719, allocations: 15.91 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.3719, allocations: 13.72 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.372, allocations: 318.8 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.102e-05/0.3721, allocations: 4 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.3721, allocations: 7.984 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.022e-05/0.3721, allocations: 20.86 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3721, allocations: 0 / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.598e-05/0.3722, allocations: 57.62 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3722, allocations: 4 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3722, allocations: 4 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3723, allocations: 0 / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3724, allocations: 19.92 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3724, allocations: 0 / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.3724, allocations: 4 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.3724, allocations: 0 / 1.368 GB, free: 8.895 MB / 1.061 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.845e-05/0.3725, allocations: 105.8 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.3725, allocations: 11.89 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.3726, allocations: 65.67 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3726, allocations: 0 / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3726, allocations: 4 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3726, allocations: 0 / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.3728, allocations: 128.8 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3728, allocations: 0 / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.3728, allocations: 23.81 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3728, allocations: 0 / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3729, allocations: 4 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3729, allocations: 3.984 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3729, allocations: 0 / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.373, allocations: 73.12 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.373, allocations: 15.83 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.373, allocations: 4 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.373, allocations: 3.938 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.373, allocations: 4 kB / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.373, allocations: 4 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.204e-05/0.3731, allocations: 87.27 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3731, allocations: 0 / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002378/0.3733, allocations: 39.88 kB / 1.369 GB, free: 8.238 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 (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.0005593/0.3739, allocations: 0.6747 MB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.374, allocations: 24.27 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.374, allocations: 4 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.374, allocations: 11.94 kB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.3743, allocations: 5.875 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.3747, allocations: 206.4 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.543e-05/0.3748, allocations: 67.33 kB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.404e-05/0.3748, allocations: 11.84 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.3749, allocations: 11.44 kB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3749, allocations: 0 / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.4046, allocations: 2.793 MB / 1.373 GB, free: 4.535 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.61, allocations: 7.875 kB / 1.373 GB, free: 4.527 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.915514840744436]