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.001304/0.001304, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001464/0.001464, allocations: 216.3 kB / 22.25 MB, free: 5.125 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.977 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.12/3.12, allocations: 0.49 GB / 0.7951 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 177] 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.001987/0.001987, allocations: 69.2 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3509, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002619/0.3535, allocations: 1.399 MB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3553, allocations: 1.16 MB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.973e-05/0.3554, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.3554, allocations: 3.938 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.943e-05/0.3555, allocations: 19.84 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.3562, allocations: 227.5 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.664e-05/0.3563, allocations: 27.86 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.3563, allocations: 11.92 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.3564, allocations: 11.94 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.3565, allocations: 15.92 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3565, allocations: 0 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006829/0.3572, allocations: 447.4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.3572, allocations: 3.984 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.3572, allocations: 7.938 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.3576, allocations: 211.4 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3576, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3576, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.3576, allocations: 0 / 1.329 GB, free: 14.37 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.0005248/0.3581, allocations: 321.6 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3582, allocations: 12.03 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.3582, allocations: 30.75 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.3582, allocations: 4.891 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.3584, allocations: 110.5 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3584, allocations: 4.375 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.3584, allocations: 4.375 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3585, allocations: 41.81 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3585, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.3585, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3585, allocations: 4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.932e-05/0.3586, allocations: 15.98 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.3587, allocations: 132.7 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.3589, allocations: 46.5 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.3589, allocations: 16.89 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005325/0.3594, allocations: 95.95 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3594, allocations: 34.5 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3594, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001776/0.3596, allocations: 57.86 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.3597, allocations: 51.41 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.3597, allocations: 109.8 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.3598, allocations: 25.7 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.3598, allocations: 88.14 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.3599, allocations: 11.91 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.3599, allocations: 21.7 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.36, allocations: 310.8 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.36, allocations: 8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.493e-05/0.3601, allocations: 4 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.066e-05/0.3601, allocations: 24.84 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3601, allocations: 3.938 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.883e-05/0.3602, allocations: 53.59 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3602, allocations: 15.92 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3602, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3602, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3603, allocations: 15.94 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3603, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.556e-05/0.3604, allocations: 8 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3604, allocations: 0 / 1.331 GB, free: 12.53 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 8.263e-05/0.3605, allocations: 110.4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.3605, allocations: 7.938 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.3606, allocations: 61.69 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3606, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3606, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3606, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.3607, allocations: 132.7 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.3607, allocations: 3.984 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.3608, allocations: 19.88 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3608, allocations: 0 / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3608, allocations: 8 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3608, allocations: 4 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3608, allocations: 4 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.3609, allocations: 73.11 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.3609, allocations: 7.875 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.3609, allocations: 11.98 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.268e-05/0.361, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.361, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-06/0.361, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.361, allocations: 87.27 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.361, allocations: 4 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002379/0.3613, allocations: 43.88 kB / 1.332 GB, free: 11.87 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.0005784/0.3619, allocations: 0.6823 MB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.362, allocations: 16.28 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.362, allocations: 4 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.845e-05/0.362, allocations: 20 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.3622, allocations: 8 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.3627, allocations: 190.2 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.363, allocations: 0.6807 MB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.184e-05/0.363, allocations: 7.984 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.3631, allocations: 19.38 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3631, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.3914, allocations: 2.36 MB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.69, allocations: 15.91 kB / 1.335 GB, free: 7.969 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: 17.551318202000402]