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.001686/0.001686, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002099/0.002099, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.379/3.379, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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="cs",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="cs",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.002134/0.002134, allocations: 65.92 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3832, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003058/0.3863, allocations: 1.38 MB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002122/0.3884, allocations: 1.044 MB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.3885, allocations: 4 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.3885, allocations: 0 / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.466e-05/0.3885, allocations: 15.84 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008658/0.3894, allocations: 223.5 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.4e-05/0.3895, allocations: 31.8 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.613e-05/0.3895, allocations: 7.984 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.3897, allocations: 12 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.521e-05/0.3897, allocations: 15.86 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.3898, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007561/0.3905, allocations: 435.4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.3905, allocations: 19.92 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.3906, allocations: 7.938 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.391, allocations: 207.4 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.391, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.391, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.391, allocations: 0 / 1.33 GB, free: 14.05 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.0005296/0.3916, allocations: 313.7 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3916, allocations: 12.03 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.329e-05/0.3916, allocations: 192 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.3917, allocations: 30.75 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.3917, allocations: 4.891 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3918, allocations: 114.5 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3918, allocations: 4.375 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.3918, allocations: 384 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.3919, allocations: 45.56 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.392, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.392, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.392, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.303e-05/0.392, allocations: 11.98 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.3922, allocations: 136.7 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.3923, allocations: 38.52 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.3924, allocations: 20.92 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006033/0.393, allocations: 95.8 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.393, allocations: 34.56 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.393, allocations: 4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001899/0.3932, allocations: 53.69 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.3932, allocations: 59.39 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/0.3933, allocations: 101.9 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3933, allocations: 25.7 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.3934, allocations: 84.12 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.3934, allocations: 15.91 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.3935, allocations: 13.72 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3936, allocations: 314.8 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.3936, allocations: 7.984 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.3936, allocations: 11.94 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.473e-05/0.3937, allocations: 29.12 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3937, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.685e-05/0.3938, allocations: 57.58 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3938, allocations: 4 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3938, allocations: 3.938 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3938, allocations: 0 / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3939, allocations: 15.98 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3939, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.394, allocations: 8 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.394, allocations: 3.938 kB / 1.332 GB, free: 12.21 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.035e-05/0.3941, allocations: 110.4 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.3941, allocations: 7.938 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.3943, allocations: 65.67 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3943, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3943, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3943, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.3944, allocations: 132.7 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3944, allocations: 3.938 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.3945, allocations: 12 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3945, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.3945, allocations: 11.94 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.3945, allocations: 3.938 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3945, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.3946, allocations: 77.11 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.3947, allocations: 15.86 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.3947, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.387e-05/0.3947, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.3947, allocations: 4 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.3947, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.3948, allocations: 87.58 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3948, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002601/0.395, allocations: 43.88 kB / 1.332 GB, free: 11.56 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.0006391/0.3957, allocations: 0.6824 MB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.3958, allocations: 16 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3958, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.922e-05/0.3958, allocations: 19.92 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.3961, allocations: 5.953 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005171/0.3966, allocations: 202.6 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.795e-05/0.3966, allocations: 67.28 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.3967, allocations: 10.23 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.3967, allocations: 15.44 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3967, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.421, allocations: 2.451 MB / 1.336 GB, free: 8.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.68, allocations: 16.19 kB / 1.336 GB, free: 8.219 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.843150182976387]