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.0009027/0.0009027, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008722/0.0008722, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.9016/0.9016, allocations: 177.2 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.71/1.71, allocations: 377.8 MB / 0.6221 GB, free: 8.621 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.9811 GB, free: 2.469 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.932e-05, allocations: 2.281 kB / 0.9811 GB, free: 2.465 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001812/0.001831, allocations: 1.387 MB / 0.9824 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.003067, allocations: 1.047 MB / 0.9834 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.003104, allocations: 0 / 0.9834 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.003127, allocations: 7.922 kB / 0.9834 GB, free: 8 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.409e-05/0.003181, allocations: 3.938 kB / 0.9834 GB, free: 4 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.003739, allocations: 226.3 kB / 0.9837 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.935e-05/0.003809, allocations: 43.78 kB / 0.9837 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.003852, allocations: 0 / 0.9837 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.003978, allocations: 19.98 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.39e-05/0.004032, allocations: 7.984 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.004044, allocations: 0 / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.004491, allocations: 411.3 kB / 0.9841 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.004505, allocations: 11.98 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.004528, allocations: 4 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.004818, allocations: 247.3 kB / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00482, allocations: 0 / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004821, allocations: 4 kB / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.004825, allocations: 0 / 0.9844 GB, free: 15.05 MB / 0.948 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.0003621/0.005187, allocations: 321.6 kB / 0.9847 GB, free: 14.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.005228, allocations: 12.03 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.154e-05/0.005259, allocations: 34.73 kB / 0.9847 GB, free: 14.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.163e-05/0.005281, allocations: 0.9375 kB / 0.9847 GB, free: 14.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.656e-05/0.005357, allocations: 109.8 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.005368, allocations: 384 / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.005377, allocations: 4.375 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.004e-05/0.005467, allocations: 38.25 kB / 0.9849 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.005474, allocations: 4.188 kB / 0.9849 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.005483, allocations: 8.062 kB / 0.9849 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.005488, allocations: 4 kB / 0.9849 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/0.005533, allocations: 19.92 kB / 0.9849 GB, free: 14.44 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.00566, allocations: 124.8 kB / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.625e-05/0.005736, allocations: 34.61 kB / 0.9851 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.005763, allocations: 16.89 kB / 0.9851 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003388/0.006102, allocations: 95.95 kB / 0.9852 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.00612, allocations: 34.5 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.006121, allocations: 0 / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001514/0.006272, allocations: 69.52 kB / 0.9853 GB, free: 14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.006301, allocations: 51.41 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.006525, allocations: 109.8 kB / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.006534, allocations: 29.7 kB / 0.9855 GB, free: 13.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.006563, allocations: 84.14 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.006592, allocations: 19.83 kB / 0.9855 GB, free: 13.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.006617, allocations: 13.72 kB / 0.9856 GB, free: 13.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.006693, allocations: 314.8 kB / 0.9859 GB, free: 13.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.006709, allocations: 4 kB / 0.9859 GB, free: 13.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/0.006724, allocations: 11.98 kB / 0.9859 GB, free: 13.33 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.006761, allocations: 25.08 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006763, allocations: 0 / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.921e-05/0.006822, allocations: 57.67 kB / 0.986 GB, free: 13.24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.006835, allocations: 8 kB / 0.986 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006839, allocations: 0 / 0.986 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.006852, allocations: 3.938 kB / 0.986 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.171e-05/0.006934, allocations: 12 kB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.006941, allocations: 3.984 kB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.263e-05/0.006954, allocations: 0 / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.006961, allocations: 4 kB / 0.986 GB, free: 13.21 MB / 0.948 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 6.168e-05/0.007023, allocations: 109.8 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.00703, allocations: 7.953 kB / 0.9861 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.244e-05/0.007123, allocations: 61.62 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.007125, allocations: 7.938 kB / 0.9862 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.00713, allocations: 0 / 0.9862 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007133, allocations: 0 / 0.9862 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.451e-05/0.007207, allocations: 132.7 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.007208, allocations: 0 / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.007242, allocations: 15.98 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.007244, allocations: 0 / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.007252, allocations: 4 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.007255, allocations: 3.938 kB / 0.9863 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007256, allocations: 0 / 0.9863 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.316e-05/0.00732, allocations: 77.06 kB / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.007326, allocations: 11.95 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.007336, allocations: 0 / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.032e-05/0.007346, allocations: 3.938 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.00736, allocations: 3.984 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.007362, allocations: 4 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.851e-05/0.007391, allocations: 91.56 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007391, allocations: 3.938 kB / 0.9865 GB, free: 12.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001696/0.00756, allocations: 47.8 kB / 0.9865 GB, free: 12.55 MB / 0.948 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.0003372/0.007898, allocations: 0.6709 MB / 0.9872 GB, free: 11.85 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.00798, allocations: 27.92 kB / 0.9872 GB, free: 11.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.007981, allocations: 0 / 0.9872 GB, free: 11.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-05/0.007994, allocations: 8 kB / 0.9872 GB, free: 11.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.008152, allocations: 17.09 kB / 0.9873 GB, free: 11.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.008485, allocations: 182.3 kB / 0.9874 GB, free: 11.58 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.372e-05/0.008528, allocations: 63.34 kB / 0.9875 GB, free: 11.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.008555, allocations: 12.36 kB / 0.9875 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.008586, allocations: 12.48 kB / 0.9875 GB, free: 11.48 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.008586, allocations: 4 kB / 0.9875 GB, free: 11.47 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.0268, allocations: 2.941 MB / 0.9904 GB, free: 8.773 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.093, allocations: 1.172 kB / 0.9904 GB, free: 8.773 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.405607282184064]