Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001864/0.001864, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002252/0.002252, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.497/1.497, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.316/3.316, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.8777 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.37e-05/3.621e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003237/0.003273, allocations: 1.451 MB / 0.8791 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005929/0.009202, allocations: 2.687 MB / 0.8817 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.009251, allocations: 0 / 0.8817 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.009287, allocations: 7.922 kB / 0.8817 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.855e-05/0.009366, allocations: 7.922 kB / 0.8818 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.005152/0.01452, allocations: 1.644 MB / 0.8834 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.01463, allocations: 39.69 kB / 0.8834 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.01467, allocations: 7.984 kB / 0.8834 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.351e-05/0.01472, allocations: 23.92 kB / 0.8834 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.913e-05/0.01475, allocations: 8 kB / 0.8834 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.01476, allocations: 3.938 kB / 0.8834 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.01782, allocations: 1.489 MB / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.01784, allocations: 3.938 kB / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.01789, allocations: 8 kB / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002923/0.02081, allocations: 1.293 MB / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.02082, allocations: 0 / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.373e-06/0.02082, allocations: 0 / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.02083, allocations: 0 / 0.8862 GB, free: 13.71 MB / 0.8542 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.001025/0.02185, allocations: 472.1 kB / 0.8866 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.02189, allocations: 8.031 kB / 0.8866 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.02201, allocations: 88.17 kB / 0.8867 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.02222, allocations: 193 kB / 0.8869 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.501e-05/0.02231, allocations: 150.9 kB / 0.887 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.403e-05/0.02241, allocations: 158.9 kB / 0.8872 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.02251, allocations: 105.5 kB / 0.8873 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/0.02255, allocations: 79.47 kB / 0.8874 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-05/0.02264, allocations: 154.7 kB / 0.8875 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.522e-05/0.02273, allocations: 154.5 kB / 0.8877 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.173e-05/0.02281, allocations: 154.6 kB / 0.8878 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.02333, allocations: 413.6 kB / 0.8882 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.02345, allocations: 173.1 kB / 0.8884 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.0235, allocations: 84.14 kB / 0.8884 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.02355, allocations: 75.28 kB / 0.8885 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.876e-05/0.02362, allocations: 105.8 kB / 0.8886 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.02362, allocations: 0 / 0.8886 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001026/0.02372, allocations: 41.66 kB / 0.8887 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/0.02381, allocations: 138.5 kB / 0.8888 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.02399, allocations: 132.2 kB / 0.8889 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.02401, allocations: 25.7 kB / 0.8889 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.0241, allocations: 92.09 kB / 0.889 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.0241, allocations: 0 / 0.889 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.02415, allocations: 25.7 kB / 0.8891 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.02432, allocations: 314.8 kB / 0.8894 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.129e-05/0.02435, allocations: 8 kB / 0.8894 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.776e-05/0.02437, allocations: 4 kB / 0.8894 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.949e-05/0.02442, allocations: 20.84 kB / 0.8894 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02442, allocations: 4.031 kB / 0.8894 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001616/0.02458, allocations: 45.64 kB / 0.8894 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.0246, allocations: 8 kB / 0.8894 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.02462, allocations: 0 / 0.8894 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.02464, allocations: 7.938 kB / 0.8894 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.02464, allocations: 0 / 0.8894 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.02465, allocations: 0 / 0.8894 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.02468, allocations: 7.891 kB / 0.8895 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.02468, allocations: 0 / 0.8895 GB, free: 10.16 MB / 0.8542 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.000152/0.02484, allocations: 189.1 kB / 0.8896 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.406e-05/0.02493, allocations: 113 kB / 0.8897 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.384e-05/0.02501, allocations: 112.7 kB / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/0.02513, allocations: 184.2 kB / 0.89 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001111/0.02524, allocations: 180.2 kB / 0.8902 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001081/0.02535, allocations: 180.2 kB / 0.8904 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.02567, allocations: 368.9 kB / 0.8907 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.763e-05/0.02576, allocations: 108.9 kB / 0.8908 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-05/0.02583, allocations: 101 kB / 0.8909 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.02593, allocations: 180.2 kB / 0.8911 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.02604, allocations: 184.2 kB / 0.8913 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000105/0.02614, allocations: 180.3 kB / 0.8914 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001141/0.02626, allocations: 192.2 kB / 0.8916 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.02648, allocations: 307.8 kB / 0.8919 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.691e-05/0.02655, allocations: 108.9 kB / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.02666, allocations: 176.3 kB / 0.8922 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.02678, allocations: 105.2 kB / 0.8923 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.02689, allocations: 188.2 kB / 0.8925 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.507e-05/0.02695, allocations: 112.9 kB / 0.8926 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.243e-05/0.02705, allocations: 97.77 kB / 0.8927 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02705, allocations: 0 / 0.8927 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001053/0.0281, allocations: 302.9 kB / 0.893 GB, free: 6.383 MB / 0.8542 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.001863/0.02996, allocations: 0.5862 MB / 0.8935 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.03009, allocations: 33.7 kB / 0.8936 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.03009, allocations: 0 / 0.8936 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.03009, allocations: 0 / 0.8936 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.03067, allocations: 467.7 kB / 0.894 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.03113, allocations: 239.4 kB / 0.8942 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.071e-05/0.03122, allocations: 67.33 kB / 0.8943 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.849e-05/0.03124, allocations: 0 / 0.8943 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.03127, allocations: 12.5 kB / 0.8943 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/0.03127, allocations: 0 / 0.8943 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of Templates: time 0.01369/0.04496, allocations: 5.953 MB / 0.9001 GB, free: 15.03 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.937988518970087]