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.001953/0.001953, allocations: 104.4 kB / 16.45 MB, free: 6.387 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.002448/0.002448, allocations: 218.3 kB / 19.43 MB, free: 3.727 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.534/1.534, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.257/3.257, allocations: 0.505 GB / 0.8066 GB, free: 23.12 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.002056/0.002056, allocations: 70.06 kB / 1.172 GB, free: 17.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4108, allocations: 180.2 MB / 1.348 GB, free: 9.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003001/0.4138, allocations: 1.398 MB / 1.349 GB, free: 8.52 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.4157, allocations: 1.149 MB / 1.35 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.4157, allocations: 0 / 1.35 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.4158, allocations: 7.938 kB / 1.35 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.012e-05/0.4158, allocations: 7.922 kB / 1.35 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006589/0.4165, allocations: 217.8 kB / 1.351 GB, free: 7.137 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.289e-05/0.4165, allocations: 35.8 kB / 1.351 GB, free: 7.102 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.4166, allocations: 7.938 kB / 1.351 GB, free: 7.094 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.4167, allocations: 19.98 kB / 1.351 GB, free: 7.074 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.418e-05/0.4168, allocations: 15.92 kB / 1.351 GB, free: 7.059 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.4168, allocations: 0 / 1.351 GB, free: 7.059 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007315/0.4175, allocations: 447.4 kB / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.4175, allocations: 7.938 kB / 1.351 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.4176, allocations: 7.938 kB / 1.351 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.4179, allocations: 207.4 kB / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.418, allocations: 0 / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.483e-06/0.418, allocations: 0 / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.418, allocations: 0 / 1.351 GB, free: 6.402 MB / 1.045 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.0005549/0.4185, allocations: 394.8 kB / 1.352 GB, free: 5.969 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.4186, allocations: 8.031 kB / 1.352 GB, free: 5.961 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.4186, allocations: 38.69 kB / 1.352 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.4186, allocations: 0.9375 kB / 1.352 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.4188, allocations: 180.3 kB / 1.352 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4188, allocations: 384 / 1.352 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.4189, allocations: 4.359 kB / 1.352 GB, free: 5.695 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.419, allocations: 41.81 kB / 1.352 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.419, allocations: 0 / 1.352 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.419, allocations: 8 kB / 1.352 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.419, allocations: 0 / 1.352 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.873e-05/0.4191, allocations: 8 kB / 1.352 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.4193, allocations: 165.6 kB / 1.352 GB, free: 5.422 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.4194, allocations: 38.52 kB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.4195, allocations: 16.92 kB / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.4207, allocations: 0.9856 MB / 1.353 GB, free: 4.148 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.4207, allocations: 38.5 kB / 1.353 GB, free: 4.102 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 3.537e-06/0.4207, allocations: 4 kB / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002101/0.4209, allocations: 53.69 kB / 1.353 GB, free: 4.039 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.421, allocations: 55.41 kB / 1.353 GB, free: 3.973 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.4212, allocations: 109.8 kB / 1.353 GB, free: 3.855 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.4212, allocations: 29.64 kB / 1.353 GB, free: 3.82 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.4213, allocations: 84.14 kB / 1.353 GB, free: 3.734 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.4213, allocations: 19.88 kB / 1.353 GB, free: 3.715 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.4213, allocations: 17.72 kB / 1.353 GB, free: 3.691 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002499/0.4216, allocations: 314.8 kB / 1.354 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.4216, allocations: 4 kB / 1.354 GB, free: 3.371 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/0.4216, allocations: 11.98 kB / 1.354 GB, free: 3.359 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.09e-05/0.4217, allocations: 20.86 kB / 1.354 GB, free: 3.336 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4217, allocations: 0 / 1.354 GB, free: 3.336 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.386e-05/0.4218, allocations: 57.58 kB / 1.354 GB, free: 3.273 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.4218, allocations: 4 kB / 1.354 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4218, allocations: 3.938 kB / 1.354 GB, free: 3.266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.4218, allocations: 4 kB / 1.354 GB, free: 3.262 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.422, allocations: 12 kB / 1.354 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.422, allocations: 4 kB / 1.354 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.567e-05/0.422, allocations: 3.984 kB / 1.354 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.422, allocations: 7.938 kB / 1.354 GB, free: 3.234 MB / 1.045 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 0.0001056/0.4221, allocations: 109.8 kB / 1.354 GB, free: 3.117 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.4221, allocations: 8.266 kB / 1.354 GB, free: 3.109 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.4223, allocations: 61.58 kB / 1.354 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4223, allocations: 0 / 1.354 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4223, allocations: 0 / 1.354 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4223, allocations: 0 / 1.354 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.4225, allocations: 173.5 kB / 1.354 GB, free: 2.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4225, allocations: 0 / 1.354 GB, free: 2.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.4226, allocations: 15.94 kB / 1.354 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.4226, allocations: 0 / 1.354 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.4226, allocations: 0 / 1.354 GB, free: 2.797 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4226, allocations: 3.984 kB / 1.354 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4226, allocations: 0 / 1.354 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.4227, allocations: 77.16 kB / 1.354 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.4228, allocations: 92.94 kB / 1.354 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.4228, allocations: 0 / 1.354 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/0.4228, allocations: 0 / 1.354 GB, free: 2.59 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.4228, allocations: 4 kB / 1.354 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.4228, allocations: 0 / 1.354 GB, free: 2.586 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.738e-05/0.4229, allocations: 87.27 kB / 1.355 GB, free: 2.5 MB / 1.045 GB Notification: Performance of sort global known variables: time 5e-08/0.4229, allocations: 0 / 1.355 GB, free: 2.5 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002614/0.4232, allocations: 43.81 kB / 1.355 GB, free: 2.457 MB / 1.045 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.0006711/0.4238, allocations: 0.6825 MB / 1.355 GB, free: 1.746 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.4239, allocations: 15.94 kB / 1.355 GB, free: 1.73 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4239, allocations: 0 / 1.355 GB, free: 1.73 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.661e-05/0.424, allocations: 19.92 kB / 1.355 GB, free: 1.711 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.4242, allocations: 4 kB / 1.355 GB, free: 1.707 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.4247, allocations: 209.5 kB / 1.355 GB, free: 1.465 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.4252, allocations: 0.6806 MB / 1.356 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.4252, allocations: 6.109 kB / 1.356 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.4252, allocations: 17.33 kB / 1.356 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.4252, allocations: 0 / 1.356 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.4542, allocations: 2.308 MB / 1.358 GB, free: 14.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.575, allocations: 10.23 kB / 1.358 GB, free: 14.62 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.761926996987313]