Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001625/0.001625, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001979/0.001979, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.461/1.461, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.678/2.678, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [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.002164/0.002164, allocations: 63.89 kB / 0.9515 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2808, allocations: 169.9 MB / 1.117 GB, free: 2.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002606/0.2834, allocations: 1.481 MB / 1.119 GB, free: 1.012 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.2847, allocations: 0.8568 MB / 1.12 GB, free: 152 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.2848, allocations: 11.94 kB / 1.12 GB, free: 140 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.285, allocations: 39.78 kB / 1.12 GB, free: 100 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.865e-05/0.285, allocations: 15.86 kB / 1.12 GB, free: 84 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.2855, allocations: 201.2 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.956e-05/0.2856, allocations: 51.67 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.2857, allocations: 7.922 kB / 1.12 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.2857, allocations: 23.88 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.383e-05/0.2858, allocations: 19.91 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.2858, allocations: 0 / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.2862, allocations: 167.8 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.2862, allocations: 3.938 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.2862, allocations: 11.94 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.2864, allocations: 131.5 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2864, allocations: 4 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2864, allocations: 0 / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2865, allocations: 3.938 kB / 1.12 GB, free: 15.47 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003532/0.2868, allocations: 301.8 kB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2868, allocations: 12.03 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.2869, allocations: 80.17 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.2871, allocations: 209.7 kB / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.62e-05/0.2872, allocations: 150.9 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/0.2873, allocations: 150.9 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.919e-05/0.2873, allocations: 109.3 kB / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.2874, allocations: 79.28 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/0.2874, allocations: 154.6 kB / 1.122 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.947e-05/0.2875, allocations: 150.6 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.288e-05/0.2876, allocations: 154.5 kB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.2878, allocations: 409.6 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.364e-05/0.2879, allocations: 173.1 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.288, allocations: 80.14 kB / 1.123 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.288, allocations: 75.28 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.575e-05/0.2881, allocations: 113.8 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2881, allocations: 3.938 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.216e-05/0.2881, allocations: 41.58 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.2882, allocations: 130.7 kB / 1.123 GB, free: 12.81 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.2883, allocations: 133 kB / 1.123 GB, free: 12.67 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.2883, allocations: 25.7 kB / 1.123 GB, free: 12.64 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.2884, allocations: 88.14 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.2884, allocations: 0 / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.2884, allocations: 21.7 kB / 1.123 GB, free: 12.52 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2886, allocations: 314.8 kB / 1.123 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.2886, allocations: 4 kB / 1.123 GB, free: 12.2 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.2886, allocations: 4 kB / 1.123 GB, free: 12.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.641e-05/0.2886, allocations: 20.81 kB / 1.123 GB, free: 12.18 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.2886, allocations: 4 kB / 1.123 GB, free: 12.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001132/0.2888, allocations: 45.66 kB / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2888, allocations: 11.94 kB / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.2888, allocations: 0 / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2888, allocations: 0 / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.906e-06/0.2888, allocations: 3.984 kB / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.2888, allocations: 0 / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.2888, allocations: 4 kB / 1.124 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.2888, allocations: 0 / 1.124 GB, free: 12.1 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.728e-05/0.2889, allocations: 181.1 kB / 1.124 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.289, allocations: 120.8 kB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.2891, allocations: 112.8 kB / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.402e-05/0.2891, allocations: 180.2 kB / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-05/0.2892, allocations: 192.1 kB / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.411e-05/0.2893, allocations: 180.3 kB / 1.124 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.2895, allocations: 368.8 kB / 1.125 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.315e-05/0.2896, allocations: 101 kB / 1.125 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.2896, allocations: 105 kB / 1.125 GB, free: 10.49 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-05/0.2897, allocations: 184.2 kB / 1.125 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/0.2898, allocations: 180.2 kB / 1.125 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.36e-05/0.2898, allocations: 184.2 kB / 1.126 GB, free: 9.934 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-05/0.2899, allocations: 184.2 kB / 1.126 GB, free: 9.746 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.2901, allocations: 311.7 kB / 1.126 GB, free: 9.418 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.2901, allocations: 112.9 kB / 1.126 GB, free: 9.301 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/0.2902, allocations: 192.1 kB / 1.126 GB, free: 9.105 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.2903, allocations: 101 kB / 1.126 GB, free: 9 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.2904, allocations: 184.2 kB / 1.127 GB, free: 8.812 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.2904, allocations: 105 kB / 1.127 GB, free: 8.703 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.745e-05/0.2905, allocations: 103.2 kB / 1.127 GB, free: 8.602 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.2905, allocations: 0 / 1.127 GB, free: 8.602 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002692/0.2907, allocations: 35.88 kB / 1.127 GB, free: 8.566 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 (0): * Single equations (assignments): 0 * 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.0002656/0.291, allocations: 222.3 kB / 1.127 GB, free: 8.336 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.39e-05/0.2911, allocations: 38.03 kB / 1.127 GB, free: 8.293 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2911, allocations: 0 / 1.127 GB, free: 8.293 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.2911, allocations: 3.938 kB / 1.127 GB, free: 8.289 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.2915, allocations: 463.7 kB / 1.127 GB, free: 7.832 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.2918, allocations: 227.2 kB / 1.128 GB, free: 7.582 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.33e-05/0.2919, allocations: 75.39 kB / 1.128 GB, free: 7.488 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.594e-05/0.2919, allocations: 0 / 1.128 GB, free: 7.488 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.2919, allocations: 12.5 kB / 1.128 GB, free: 7.477 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.2919, allocations: 0 / 1.128 GB, free: 7.477 MB / 1.076 GB Notification: Performance of Templates: time 0.004086/0.296, allocations: 1.583 MB / 1.129 GB, free: 5.922 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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: 8.062844009022228]