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.001818/0.001818, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002088/0.002088, allocations: 221.4 kB / 22.25 MB, free: 5.102 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.809 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.251/3.251, allocations: 0.49 GB / 0.7951 GB, free: 35.35 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.002046/0.002046, allocations: 62.69 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3998, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002788/0.4026, allocations: 1.385 MB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.4045, allocations: 1.04 MB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/0.4045, allocations: 0 / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.4046, allocations: 3.938 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.05e-05/0.4046, allocations: 11.92 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.4053, allocations: 219.5 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.223e-05/0.4054, allocations: 35.84 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.4054, allocations: 3.984 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.4055, allocations: 15.94 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.99e-05/0.4056, allocations: 15.92 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.4056, allocations: 3.938 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000697/0.4063, allocations: 431.5 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.4063, allocations: 0 / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.4063, allocations: 15.94 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.4067, allocations: 203.4 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.4067, allocations: 11.98 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4067, allocations: 0 / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.4067, allocations: 4 kB / 1.329 GB, free: 14.1 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.000457/0.4071, allocations: 313.7 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.4072, allocations: 8.031 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.4073, allocations: 30.75 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.4073, allocations: 8.891 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.933e-05/0.4074, allocations: 114.5 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.4075, allocations: 4.375 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.4075, allocations: 4.312 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.4076, allocations: 53.8 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.4076, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.4076, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.4076, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.4076, allocations: 15.98 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.4078, allocations: 136.7 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.4079, allocations: 38.52 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.4079, allocations: 16.92 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005517/0.4085, allocations: 95.92 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.4085, allocations: 38.48 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.4085, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001703/0.4087, allocations: 53.69 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.4087, allocations: 51.41 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.4088, allocations: 105.9 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.4088, allocations: 25.7 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.4089, allocations: 92.12 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.4089, allocations: 11.84 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.409, allocations: 17.72 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.4091, allocations: 314.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/0.4091, allocations: 8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.4091, allocations: 8 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.804e-05/0.4092, allocations: 16.86 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4092, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001087/0.4093, allocations: 57.58 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4093, allocations: 11.94 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.4093, allocations: 4 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.4093, allocations: 0 / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4094, allocations: 19.92 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4094, allocations: 0 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.4095, allocations: 4 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.4095, allocations: 0 / 1.331 GB, free: 12.26 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.313e-05/0.4095, allocations: 114.3 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.4096, allocations: 3.938 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.4097, allocations: 64.53 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.4097, allocations: 8 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4097, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4097, allocations: 4.031 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.4098, allocations: 128.8 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4098, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.4099, allocations: 19.88 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.4099, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.4099, allocations: 4 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.4099, allocations: 0 / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4099, allocations: 3.984 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.4101, allocations: 81.11 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.4101, allocations: 7.875 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.4101, allocations: 4 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.022e-05/0.4101, allocations: 8 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.4101, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.4101, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.665e-05/0.4102, allocations: 87.27 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4102, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002413/0.4104, allocations: 39.88 kB / 1.331 GB, free: 11.61 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.0006909/0.4111, allocations: 0.6863 MB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.123e-05/0.4112, allocations: 16 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4112, allocations: 3.938 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.4112, allocations: 15.92 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.4115, allocations: 8 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/0.4119, allocations: 199.5 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.539e-05/0.412, allocations: 63.34 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.412, allocations: 8 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.4121, allocations: 15.44 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4121, allocations: 3.938 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.4439, allocations: 2.812 MB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.3, allocations: 4.641 kB / 1.335 GB, free: 7.879 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 & /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.21994657997857]