Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001796/0.001796, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002218/0.002218, allocations: 212.7 kB / 22.99 MB, free: 4.957 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.144/3.144, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_12_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_12_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.00204/0.00204, allocations: 67.81 kB / 1.155 GB, free: 25.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2784, allocations: 176.1 MB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.00271/0.2812, allocations: 1.481 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2826, allocations: 0.8612 MB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.2827, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.2829, allocations: 43.77 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.254e-05/0.2829, allocations: 15.86 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.2834, allocations: 192.1 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.543e-05/0.2835, allocations: 43.73 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.2835, allocations: 11.97 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.611e-05/0.2836, allocations: 19.88 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.012e-05/0.2836, allocations: 23.86 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.2836, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.284, allocations: 179.8 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.2841, allocations: 7.984 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.2841, allocations: 15.86 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.2843, allocations: 127.5 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2843, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2843, allocations: 4 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2843, allocations: 3.938 kB / 1.33 GB, free: 13.82 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003672/0.2847, allocations: 303.1 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2847, allocations: 8.031 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.879e-05/0.2848, allocations: 84.17 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.285, allocations: 201.7 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.2851, allocations: 154.9 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.2852, allocations: 154.9 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.078e-05/0.2852, allocations: 109.3 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.2853, allocations: 75.28 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/0.2853, allocations: 154.6 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/0.2854, allocations: 150.6 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.2855, allocations: 162.5 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.2858, allocations: 417.5 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.156e-05/0.2859, allocations: 165.1 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.2859, allocations: 88.14 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.286, allocations: 75.28 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/0.286, allocations: 113.8 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.286, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.271e-05/0.2861, allocations: 37.59 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.2862, allocations: 126.7 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.2863, allocations: 139.5 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2863, allocations: 25.7 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.2864, allocations: 84.14 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-06/0.2864, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.2864, allocations: 21.72 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2866, allocations: 318.8 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.319e-05/0.2866, allocations: 8 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.552e-05/0.2866, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.696e-05/0.2866, allocations: 20.8 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2866, allocations: 3.938 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001161/0.2868, allocations: 49.67 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2868, allocations: 7.938 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.2868, allocations: 8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2868, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.2868, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.2868, allocations: 64 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.2868, allocations: 4 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.2868, allocations: 0 / 1.333 GB, free: 10.44 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 (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 0.0001142/0.2869, allocations: 189.1 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.371e-05/0.287, allocations: 116.8 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.867e-05/0.2871, allocations: 104.8 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.962e-05/0.2872, allocations: 184.3 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.499e-05/0.2873, allocations: 184.2 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.463e-05/0.2873, allocations: 180.3 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.2876, allocations: 360.8 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-05/0.2876, allocations: 109 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.993e-05/0.2877, allocations: 105 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.079e-05/0.2877, allocations: 184.2 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/0.2878, allocations: 188.2 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.134e-05/0.2879, allocations: 180.2 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-05/0.288, allocations: 176.3 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.2881, allocations: 315.7 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.2882, allocations: 108.9 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.2883, allocations: 184.1 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.2884, allocations: 108.9 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.2885, allocations: 188.2 kB / 1.336 GB, free: 7.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/0.2885, allocations: 109 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.412e-05/0.2886, allocations: 101.1 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2886, allocations: 0 / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002804/0.2889, allocations: 31.88 kB / 1.336 GB, free: 6.914 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 (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.0002901/0.2892, allocations: 226.3 kB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.903e-05/0.2892, allocations: 33.7 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2892, allocations: 0 / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-06/0.2892, allocations: 7.875 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.2897, allocations: 471.7 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.29, allocations: 223.4 kB / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.071e-05/0.2901, allocations: 67.33 kB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.2901, allocations: 4 kB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.2901, allocations: 7.438 kB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.2901, allocations: 0 / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of Templates: time 0.004306/0.2944, allocations: 1.656 MB / 1.339 GB, free: 4.199 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.389133025004412]