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.002042/0.002042, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.002653/0.002653, allocations: 156.5 kB / 23 MB, free: 4.949 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.482/1.482, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.903/2.903, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 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: 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: 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.002189/0.002189, allocations: 63.89 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9682/0.9704, allocations: 176.1 MB / 1.154 GB, free: 33.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002216/0.9726, allocations: 1.379 MB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.9741, allocations: 1.033 MB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.9741, allocations: 0 / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.9742, allocations: 3.938 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.399e-05/0.9742, allocations: 10.55 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005907/0.9748, allocations: 231.9 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.66e-05/0.9748, allocations: 32.61 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.9749, allocations: 2.562 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.975, allocations: 11.91 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.9751, allocations: 16.89 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.9751, allocations: 0 / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005085/0.9756, allocations: 406.8 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.9756, allocations: 11.92 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.9756, allocations: 9.75 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.9759, allocations: 209.4 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9759, allocations: 0 / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9759, allocations: 0 / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.9759, allocations: 0 / 1.157 GB, free: 31.27 MB / 1.076 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.0003957/0.9763, allocations: 311.3 kB / 1.158 GB, free: 30.96 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.9764, allocations: 8.344 kB / 1.158 GB, free: 30.96 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.9764, allocations: 11.14 kB / 1.158 GB, free: 30.96 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.527e-05/0.9765, allocations: 109.4 kB / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.9765, allocations: 384 / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.9765, allocations: 3.156 kB / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.336e-05/0.9766, allocations: 50.91 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.9766, allocations: 0 / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.9766, allocations: 3.938 kB / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.9766, allocations: 3.984 kB / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.388e-05/0.9767, allocations: 15.72 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.9768, allocations: 109.8 kB / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.973e-05/0.9769, allocations: 35.66 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.9769, allocations: 25.39 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005086/0.9774, allocations: 103.7 kB / 1.158 GB, free: 30.58 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.9774, allocations: 33.5 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.9774, allocations: 0 / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0001567/0.9776, allocations: 58.39 kB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.9776, allocations: 54.38 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.165e-05/0.9776, allocations: 109.5 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.9776, allocations: 25.7 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.259e-05/0.9777, allocations: 87.14 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.9777, allocations: 10.56 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.9777, allocations: 16.44 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.9778, allocations: 316.9 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.9778, allocations: 2.75 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.9778, allocations: 13.78 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.154e-05/0.9778, allocations: 23.03 kB / 1.159 GB, free: 29.85 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9778, allocations: 0 / 1.159 GB, free: 29.85 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.847e-05/0.9779, allocations: 52.55 kB / 1.159 GB, free: 29.81 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.9779, allocations: 10.97 kB / 1.159 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.9779, allocations: 3.938 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.9779, allocations: 0 / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.978, allocations: 16.62 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.9781, allocations: 0 / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.9781, allocations: 3.938 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.9781, allocations: 6.438 kB / 1.159 GB, free: 29.8 MB / 1.076 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 4.373e-05/0.9781, allocations: 109.8 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.9781, allocations: 2.875 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.9782, allocations: 64.38 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.9782, allocations: 4 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.9782, allocations: 0 / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.9782, allocations: 2.531 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.552e-05/0.9783, allocations: 113.5 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9783, allocations: 2.844 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-05/0.9784, allocations: 14.48 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.9784, allocations: 0 / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.9784, allocations: 0 / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.9784, allocations: 7.875 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.9784, allocations: 2.812 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.176e-05/0.9785, allocations: 85.72 kB / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.9785, allocations: 0 / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.9785, allocations: 6.203 kB / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.401e-05/0.9785, allocations: 3.938 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.9785, allocations: 0 / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.9785, allocations: 6.75 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.554e-05/0.9786, allocations: 88.7 kB / 1.159 GB, free: 29.31 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9786, allocations: 0 / 1.159 GB, free: 29.31 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002301/0.9788, allocations: 43 kB / 1.159 GB, free: 29.3 MB / 1.076 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.0001977/0.979, allocations: 161 kB / 1.159 GB, free: 29.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.104e-05/0.9791, allocations: 20.55 kB / 1.16 GB, free: 29.19 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.9791, allocations: 0 / 1.16 GB, free: 29.19 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.937e-05/0.9791, allocations: 12 kB / 1.16 GB, free: 29.19 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.9793, allocations: 11.05 kB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.9796, allocations: 160.4 kB / 1.16 GB, free: 29.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.553e-05/0.9796, allocations: 66.16 kB / 1.16 GB, free: 28.97 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.9797, allocations: 2.75 kB / 1.16 GB, free: 28.97 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.9797, allocations: 11.09 kB / 1.16 GB, free: 28.96 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.9797, allocations: 0 / 1.16 GB, free: 28.96 MB / 1.076 GB Notification: Performance of Templates: time 0.00372/0.9834, allocations: 1.245 MB / 1.161 GB, free: 28.84 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/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: 9.109946985030547]