Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001672/0.001672, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002094/0.002094, allocations: 215.9 kB / 22.24 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.243/3.243, allocations: 0.49 GB / 0.7951 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002783/0.002783, allocations: 67.89 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4091, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002911/0.412, allocations: 1.388 MB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.4142, allocations: 1.04 MB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.4142, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.4142, allocations: 3.984 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.4143, allocations: 7.938 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007488/0.415, allocations: 223.4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.802e-05/0.4151, allocations: 35.8 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.4152, allocations: 0 / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.4153, allocations: 15.98 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.56e-05/0.4154, allocations: 19.92 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.4154, allocations: 4 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006647/0.416, allocations: 435.4 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.4161, allocations: 3.938 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.4161, allocations: 11.94 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.4164, allocations: 211.3 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.4165, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4165, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.4165, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 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.0005249/0.417, allocations: 309.7 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.417, allocations: 8.031 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.4171, allocations: 42.75 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.4171, allocations: 4.891 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.4172, allocations: 106.5 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.4172, allocations: 4.359 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.4173, allocations: 384 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.4174, allocations: 41.83 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.4174, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.4174, allocations: 3.938 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4174, allocations: 3.984 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.4175, allocations: 11.94 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.4177, allocations: 144.7 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.4178, allocations: 34.58 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.4178, allocations: 16.91 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005336/0.4183, allocations: 99.91 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.4184, allocations: 34.5 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4184, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001968/0.4186, allocations: 61.62 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.4186, allocations: 51.41 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/0.4187, allocations: 109.8 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.4187, allocations: 25.7 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.4188, allocations: 84.14 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.4188, allocations: 11.91 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.4188, allocations: 13.72 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.419, allocations: 326.8 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.419, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.857e-05/0.419, allocations: 8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.795e-05/0.4191, allocations: 20.8 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.4191, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9e-05/0.4192, allocations: 57.58 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4192, allocations: 10.19 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4192, allocations: 0 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4192, allocations: 0 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.4193, allocations: 15.98 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4193, allocations: 4.25 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.4194, allocations: 4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.4194, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 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 9.225e-05/0.4195, allocations: 114.4 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.4195, allocations: 3.938 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.4196, allocations: 69.61 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4196, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.4196, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.4196, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.4198, allocations: 132.7 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.4198, allocations: 4 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-05/0.4198, allocations: 19.94 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.4198, allocations: 0 / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.4199, allocations: 3.984 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4199, allocations: 3.984 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4199, allocations: 0 / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.42, allocations: 85.05 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.42, allocations: 8.297 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.42, allocations: 4 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.42, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.42, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.4201, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.573e-05/0.4201, allocations: 95.27 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4201, allocations: 0 / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002551/0.4204, allocations: 39.88 kB / 1.331 GB, free: 11.57 MB / 1.029 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.0006436/0.421, allocations: 0.6863 MB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.4211, allocations: 15.98 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4211, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.229e-05/0.4211, allocations: 12 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.4214, allocations: 4 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.422, allocations: 206.9 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.339e-05/0.422, allocations: 63.34 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.178e-05/0.4221, allocations: 4 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.4221, allocations: 15.44 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4221, allocations: 0 / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.4572, allocations: 2.815 MB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.34, allocations: 8.641 kB / 1.335 GB, free: 7.852 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.429495291988133]