Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001443/0.001443, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001705/0.001705, allocations: 212.7 kB / 22.24 MB, free: 5.258 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.365/3.365, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002107/0.002107, allocations: 68.31 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4133, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003067/0.4163, allocations: 1.38 MB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.4183, allocations: 1.045 MB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/0.4183, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.4184, allocations: 3.938 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.914e-05/0.4184, allocations: 3.938 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.4191, allocations: 225.6 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.853e-05/0.4191, allocations: 27.86 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.4192, allocations: 12 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.4193, allocations: 23.91 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.4194, allocations: 11.92 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.4194, allocations: 7.938 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000626/0.42, allocations: 403.5 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.42, allocations: 0 / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.4201, allocations: 11.92 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.4204, allocations: 205.4 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4204, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4204, allocations: 4 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.4204, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 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.0004667/0.4209, allocations: 313.7 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4209, allocations: 12.03 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.421, allocations: 34.75 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.421, allocations: 8.859 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.4211, allocations: 110.5 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.4211, allocations: 4.375 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.4211, allocations: 4.312 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.4212, allocations: 45.8 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.4213, allocations: 4 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.4213, allocations: 4 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4213, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.679e-05/0.4213, allocations: 8 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.4215, allocations: 136.7 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.4216, allocations: 38.55 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.4216, allocations: 16.89 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005246/0.4221, allocations: 91.95 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.4222, allocations: 38.5 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4222, allocations: 0 / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001851/0.4224, allocations: 57.64 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.4224, allocations: 55.41 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.4225, allocations: 109.8 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.4225, allocations: 29.7 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.4226, allocations: 80.14 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.4226, allocations: 19.84 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.4226, allocations: 21.7 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4228, allocations: 310.8 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.4228, allocations: 4 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.4228, allocations: 15.94 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.33e-05/0.4229, allocations: 24.84 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4229, allocations: 0 / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.527e-05/0.4229, allocations: 53.62 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.423, allocations: 4 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.423, allocations: 4 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.423, allocations: 0 / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4231, allocations: 15.94 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4231, allocations: 0 / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.4231, allocations: 4 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.4231, allocations: 0 / 1.368 GB, free: 8.852 MB / 1.061 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.507e-05/0.4232, allocations: 113.8 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.4232, allocations: 11.89 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.4234, allocations: 58.02 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4234, allocations: 0 / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4234, allocations: 4 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4234, allocations: 48 / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.4235, allocations: 132.7 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4235, allocations: 3.938 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.253e-05/0.4236, allocations: 23.86 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4236, allocations: 0 / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.4236, allocations: 4 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4236, allocations: 0 / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4236, allocations: 0 / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.4237, allocations: 73.16 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.4237, allocations: 15.83 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.4237, allocations: 4 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.257e-05/0.4237, allocations: 0 / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.4238, allocations: 7.984 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.4238, allocations: 0 / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5e-05/0.4238, allocations: 83.28 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4238, allocations: 0 / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002374/0.4241, allocations: 43.86 kB / 1.369 GB, free: 8.195 MB / 1.061 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.0005697/0.4246, allocations: 0.6785 MB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.4247, allocations: 19.98 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4247, allocations: 4 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.542e-05/0.4248, allocations: 15.94 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.425, allocations: 7.984 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.4255, allocations: 200.6 kB / 1.37 GB, free: 7.207 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.419e-05/0.4255, allocations: 63.34 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.357e-05/0.4255, allocations: 7.906 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.4256, allocations: 19.42 kB / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4256, allocations: 3.938 kB / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.4562, allocations: 2.794 MB / 1.373 GB, free: 4.488 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.54, allocations: 3.938 kB / 1.373 GB, free: 4.484 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.746202850248665]