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.001936/0.001936, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002458/0.002458, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 8.02 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.324/3.324, allocations: 0.49 GB / 0.7951 GB, free: 33.4 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.002278/0.002278, allocations: 74.53 kB / 1.154 GB, free: 25.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3606, allocations: 176.1 MB / 1.326 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002932/0.3635, allocations: 1.396 MB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.3656, allocations: 1.16 MB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.3656, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.3657, allocations: 7.922 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.289e-05/0.3657, allocations: 7.938 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008003/0.3665, allocations: 224.7 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.589e-05/0.3666, allocations: 39.78 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.3667, allocations: 7.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3668, allocations: 11.94 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.3668, allocations: 11.98 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.3668, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000716/0.3676, allocations: 443.4 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.3676, allocations: 7.984 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.3676, allocations: 11.92 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.368, allocations: 211.4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.368, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.412e-06/0.368, allocations: 4 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.368, allocations: 0 / 1.329 GB, free: 14.51 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.0005496/0.3686, allocations: 317.7 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.3686, allocations: 12.03 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.3687, allocations: 34.75 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.3687, allocations: 4.891 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3688, allocations: 114.4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.3688, allocations: 384 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.3689, allocations: 4.375 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.369, allocations: 45.81 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.369, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.369, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.369, allocations: 4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.468e-05/0.369, allocations: 15.98 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.3692, allocations: 132.6 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/0.3693, allocations: 42.55 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.3694, allocations: 20.89 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006395/0.37, allocations: 87.95 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.37, allocations: 42.5 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 2.986e-06/0.37, allocations: 3.984 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001862/0.3702, allocations: 53.69 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.3703, allocations: 51.41 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.3704, allocations: 109.8 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3704, allocations: 25.7 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.3704, allocations: 84.14 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.3705, allocations: 15.89 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.3705, allocations: 21.72 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3706, allocations: 310.8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.319e-05/0.3707, allocations: 8 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.832e-05/0.3707, allocations: 7.984 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.3707, allocations: 20.86 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3707, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.464e-05/0.3708, allocations: 57.58 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3708, allocations: 4 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.3708, allocations: 3.938 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3709, allocations: 4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.371, allocations: 15.94 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.371, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.802e-05/0.371, allocations: 7.984 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.371, allocations: 4 kB / 1.331 GB, free: 12.66 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.274e-05/0.3711, allocations: 106.4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.3711, allocations: 7.938 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.3712, allocations: 59.66 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3713, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3713, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3713, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.3714, allocations: 132.7 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3714, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.3715, allocations: 19.88 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3715, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.3715, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3715, allocations: 8 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3715, allocations: 3.984 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.3716, allocations: 81.11 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.3716, allocations: 7.875 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.3716, allocations: 4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.92e-05/0.3716, allocations: 7.938 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.3717, allocations: 432 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.3717, allocations: 0 / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.3717, allocations: 91.56 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3717, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002516/0.372, allocations: 47.88 kB / 1.332 GB, free: 12 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.000588/0.3726, allocations: 0.6824 MB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.3727, allocations: 19.98 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3727, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.368e-05/0.3727, allocations: 15.88 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.3729, allocations: 12.23 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.3734, allocations: 194.2 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.3737, allocations: 0.6807 MB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.205e-05/0.3737, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.3738, allocations: 23.38 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3738, allocations: 0 / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.4051, allocations: 2.36 MB / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.51, allocations: 3.984 kB / 1.335 GB, free: 8.109 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=400 --tolerance=1e-06 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.mat","/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.578571209218353]