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.0009975/0.0009975, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0009879/0.0009879, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9282/0.9282, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.753/1.753, allocations: 377.8 MB / 0.6228 GB, free: 8.621 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.9823 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.881e-05, allocations: 5.234 kB / 0.9823 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001875/0.001903, allocations: 1.363 MB / 0.9836 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.003224, allocations: 1.055 MB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.084e-05/0.003254, allocations: 0 / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.003276, allocations: 0 / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 5.056e-05/0.003326, allocations: 11.86 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.003859, allocations: 227.1 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.003929, allocations: 31.86 kB / 0.9849 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.003978, allocations: 0 / 0.9849 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.004121, allocations: 31.89 kB / 0.985 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.824e-05/0.004179, allocations: 4 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.004193, allocations: 0 / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.004608, allocations: 403.4 kB / 0.9853 GB, free: 14.81 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.004621, allocations: 11.92 kB / 0.9854 GB, free: 14.8 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.004643, allocations: 11.98 kB / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.005027, allocations: 247.3 kB / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005029, allocations: 4 kB / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.00503, allocations: 0 / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.005034, allocations: 0 / 0.9856 GB, free: 14.54 MB / 0.948 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.0004032/0.005438, allocations: 313.7 kB / 0.9859 GB, free: 14.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.005479, allocations: 15.97 kB / 0.9859 GB, free: 14.19 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.005513, allocations: 0.9375 kB / 0.9859 GB, free: 14.19 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.037e-05/0.005603, allocations: 117.7 kB / 0.986 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.005615, allocations: 4.312 kB / 0.986 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.005626, allocations: 4.375 kB / 0.986 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.618e-05/0.005722, allocations: 34.27 kB / 0.9861 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.005732, allocations: 8.188 kB / 0.9861 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.005744, allocations: 4.359 kB / 0.9861 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.00575, allocations: 3.938 kB / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.354e-05/0.005793, allocations: 12 kB / 0.9861 GB, free: 13.97 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.005921, allocations: 113.3 kB / 0.9862 GB, free: 13.83 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.182e-05/0.006003, allocations: 38.52 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.00603, allocations: 16.92 kB / 0.9863 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/0.006387, allocations: 99.91 kB / 0.9864 GB, free: 13.67 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.006409, allocations: 38.55 kB / 0.9864 GB, free: 13.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.00641, allocations: 0 / 0.9864 GB, free: 13.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0001558/0.006566, allocations: 57.64 kB / 0.9864 GB, free: 13.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.006598, allocations: 59.28 kB / 0.9865 GB, free: 13.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.745e-05/0.006656, allocations: 102.1 kB / 0.9866 GB, free: 13.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.006665, allocations: 29.7 kB / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.006698, allocations: 96.06 kB / 0.9867 GB, free: 13.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.006726, allocations: 3.953 kB / 0.9867 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.006752, allocations: 17.72 kB / 0.9867 GB, free: 13.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.852e-05/0.006831, allocations: 314.8 kB / 0.987 GB, free: 12.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.006846, allocations: 8 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.387e-05/0.00686, allocations: 8 kB / 0.9871 GB, free: 12.89 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.006897, allocations: 16.86 kB / 0.9871 GB, free: 12.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006899, allocations: 0 / 0.9871 GB, free: 12.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.554e-05/0.006954, allocations: 53.64 kB / 0.9871 GB, free: 12.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.006967, allocations: 12 kB / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.006972, allocations: 0 / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.006985, allocations: 0 / 0.9871 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.00707, allocations: 19.92 kB / 0.9872 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.007079, allocations: 8 kB / 0.9872 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.289e-05/0.007092, allocations: 0 / 0.9872 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.007097, allocations: 0 / 0.9872 GB, free: 12.77 MB / 0.948 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 5.863e-05/0.007155, allocations: 113.8 kB / 0.9873 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-06/0.00716, allocations: 3.953 kB / 0.9873 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.007264, allocations: 61.67 kB / 0.9873 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.007266, allocations: 8 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.007272, allocations: 3.938 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.007275, allocations: 0 / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.782e-05/0.007342, allocations: 113.2 kB / 0.9875 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.007345, allocations: 3.984 kB / 0.9875 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.007379, allocations: 15.94 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.007381, allocations: 0 / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.007387, allocations: 0 / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.007387, allocations: 0 / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.007389, allocations: 0 / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.948e-05/0.007458, allocations: 81.06 kB / 0.9875 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-06/0.007465, allocations: 8.375 kB / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.007476, allocations: 3.984 kB / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-06/0.007486, allocations: 4 kB / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.007501, allocations: 7.938 kB / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.007504, allocations: 3.938 kB / 0.9876 GB, free: 12.28 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.007538, allocations: 91.27 kB / 0.9877 GB, free: 12.19 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007538, allocations: 0 / 0.9877 GB, free: 12.19 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001617/0.0077, allocations: 35.88 kB / 0.9877 GB, free: 12.16 MB / 0.948 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.0001994/0.007899, allocations: 171 kB / 0.9879 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.393e-05/0.007983, allocations: 23.92 kB / 0.9879 GB, free: 11.95 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.007985, allocations: 0 / 0.9879 GB, free: 11.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-05/0.007999, allocations: 12 kB / 0.9879 GB, free: 11.94 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.008166, allocations: 11.98 kB / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.00844, allocations: 162.5 kB / 0.9881 GB, free: 11.74 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.234e-05/0.008483, allocations: 67.28 kB / 0.9881 GB, free: 11.65 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.008505, allocations: 12.5 kB / 0.9881 GB, free: 11.64 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/0.008506, allocations: 0 / 0.9881 GB, free: 11.64 MB / 0.948 GB Notification: Performance of Templates: time 0.00208/0.01059, allocations: 1.142 MB / 0.9893 GB, free: 10.51 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 400] 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/jenkins/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: 6.852425782009959]