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.001951/0.001951, allocations: 109.4 kB / 16.45 MB, free: 6.453 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.002359/0.002359, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.451/3.451, allocations: 0.49 GB / 0.7916 GB, free: 33.47 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.002069/0.002069, allocations: 77.8 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3943, allocations: 176.1 MB / 1.321 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002935/0.3973, allocations: 1.391 MB / 1.322 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.3993, allocations: 1.153 MB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.3993, allocations: 0 / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.3993, allocations: 0 / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.406e-05/0.3994, allocations: 15.84 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000727/0.4001, allocations: 219.5 kB / 1.324 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.864e-05/0.4002, allocations: 43.8 kB / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.4002, allocations: 3.938 kB / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.4004, allocations: 11.94 kB / 1.324 GB, free: 464 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.4004, allocations: 15.98 kB / 1.324 GB, free: 448 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.4004, allocations: 0 / 1.324 GB, free: 448 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007112/0.4011, allocations: 443.3 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.4012, allocations: 8.078 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.4013, allocations: 11.94 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.4016, allocations: 203.4 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.4016, allocations: 8 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4016, allocations: 4 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4016, allocations: 0 / 1.324 GB, free: 15.77 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.0005713/0.4022, allocations: 390.8 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4023, allocations: 8.031 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.4023, allocations: 34.73 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.4023, allocations: 8.891 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.4025, allocations: 164.3 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.4025, allocations: 8.359 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.4025, allocations: 384 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.4027, allocations: 49.66 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.4027, allocations: 4 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.4027, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4027, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.442e-05/0.4027, allocations: 15.98 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.4029, allocations: 161.7 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.403, allocations: 34.56 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.4031, allocations: 24.83 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/0.4042, allocations: 0.9817 MB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.4043, allocations: 38.5 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.4043, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001944/0.4045, allocations: 53.69 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.4045, allocations: 55.41 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.021e-05/0.4046, allocations: 105.8 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.4046, allocations: 29.7 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.4047, allocations: 84.12 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.4047, allocations: 15.84 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.4047, allocations: 17.72 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4049, allocations: 318.8 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.4049, allocations: 11.92 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/0.405, allocations: 4 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.261e-05/0.405, allocations: 20.86 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.405, allocations: 0 / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.465e-05/0.4051, allocations: 57.58 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4051, allocations: 10.34 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4051, allocations: 3.938 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4051, allocations: 4 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.4053, allocations: 15.98 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4053, allocations: 3.938 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.4053, allocations: 0 / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.4053, allocations: 0 / 1.327 GB, free: 12.62 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 9.866e-05/0.4054, allocations: 109.8 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.4054, allocations: 4.266 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.4056, allocations: 69.56 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4056, allocations: 8 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4056, allocations: 0 / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4056, allocations: 0 / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.4057, allocations: 165.7 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-06/0.4057, allocations: 0 / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.978e-05/0.4058, allocations: 19.92 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4058, allocations: 0 / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.4058, allocations: 3.938 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4058, allocations: 0 / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4058, allocations: 0 / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.406, allocations: 81.08 kB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.406, allocations: 88.98 kB / 1.327 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.406, allocations: 0 / 1.327 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.262e-05/0.4061, allocations: 0 / 1.327 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.4061, allocations: 3.984 kB / 1.327 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.4061, allocations: 4 kB / 1.327 GB, free: 11.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.152e-05/0.4061, allocations: 83.28 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4061, allocations: 0 / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002541/0.4064, allocations: 43.86 kB / 1.328 GB, free: 11.84 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.0006455/0.407, allocations: 0.6824 MB / 1.328 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.4071, allocations: 19.98 kB / 1.328 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4071, allocations: 0 / 1.328 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-05/0.4072, allocations: 19.81 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.4074, allocations: 14.69 kB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.4079, allocations: 201.6 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.4083, allocations: 0.6806 MB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.406e-05/0.4084, allocations: 4 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.4084, allocations: 11.44 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.4084, allocations: 4 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.4413, allocations: 2.312 MB / 1.331 GB, free: 8.016 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.493, allocations: 5.375 kB / 1.331 GB, free: 8.008 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.643623762996867]