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.InternalResistancesOneUTube.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.001579/0.001579, allocations: 84.73 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.001863/0.001863, 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.547/1.547, allocations: 177.1 MB / 203.1 MB, free: 5.449 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.231/3.231, allocations: 429.6 MB / 0.673 GB, free: 3.875 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.8777 GB, free: 6.395 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.486e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003423/0.003458, allocations: 1.448 MB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005854/0.009312, allocations: 2.649 MB / 0.8817 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.00936, allocations: 0 / 0.8817 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.009391, allocations: 3.938 kB / 0.8817 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.634e-05/0.009487, allocations: 22.22 kB / 0.8817 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.005134/0.01462, allocations: 1.617 MB / 0.8833 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.01474, allocations: 47.67 kB / 0.8833 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.01478, allocations: 0 / 0.8833 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.463e-05/0.01483, allocations: 19.92 kB / 0.8834 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.222e-05/0.01486, allocations: 12 kB / 0.8834 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.01488, allocations: 0 / 0.8834 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.01797, allocations: 1.458 MB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.01799, allocations: 7.938 kB / 0.8848 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.01803, allocations: 11.98 kB / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.02052, allocations: 1.247 MB / 0.886 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.02052, allocations: 0 / 0.886 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.803e-06/0.02052, allocations: 0 / 0.886 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.02053, allocations: 0 / 0.886 GB, free: 13.87 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.0008901/0.02142, allocations: 468.1 kB / 0.8865 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.02146, allocations: 12.03 kB / 0.8865 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.863e-05/0.02156, allocations: 80.17 kB / 0.8866 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.02177, allocations: 201 kB / 0.8868 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.026e-05/0.02186, allocations: 150.9 kB / 0.8869 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.281e-05/0.02195, allocations: 154.9 kB / 0.8871 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.02233, allocations: 101.5 kB / 0.8871 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.625e-05/0.02238, allocations: 83.47 kB / 0.8872 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.511e-05/0.02247, allocations: 154.7 kB / 0.8874 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.411e-05/0.02256, allocations: 154.5 kB / 0.8875 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.858e-05/0.02265, allocations: 150.6 kB / 0.8877 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.02305, allocations: 413.6 kB / 0.8881 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.02318, allocations: 169.1 kB / 0.8882 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.155e-05/0.02324, allocations: 84.14 kB / 0.8883 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.02329, allocations: 75.28 kB / 0.8884 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8e-05/0.02337, allocations: 113.8 kB / 0.8885 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 4.919e-06/0.02338, allocations: 3.984 kB / 0.8885 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001009/0.02348, allocations: 37.59 kB / 0.8885 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.02359, allocations: 138.6 kB / 0.8887 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.02377, allocations: 125.8 kB / 0.8888 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.02379, allocations: 25.7 kB / 0.8888 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.02387, allocations: 92.14 kB / 0.8889 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.02388, allocations: 0 / 0.8889 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.02392, allocations: 13.72 kB / 0.8889 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.02411, allocations: 318.8 kB / 0.8892 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.02414, allocations: 4 kB / 0.8892 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.02416, allocations: 8 kB / 0.8892 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.416e-05/0.0242, allocations: 8.859 kB / 0.8892 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.02421, allocations: 4.031 kB / 0.8892 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001728/0.02438, allocations: 57.58 kB / 0.8893 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.0244, allocations: 6.344 kB / 0.8893 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.02442, allocations: 7.938 kB / 0.8893 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.02444, allocations: 3.938 kB / 0.8893 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.02444, allocations: 0 / 0.8893 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.02445, allocations: 0 / 0.8893 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.45e-05/0.02447, allocations: 0 / 0.8893 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.02448, allocations: 4 kB / 0.8893 GB, free: 10.33 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.0001493/0.02463, allocations: 189 kB / 0.8895 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.02473, allocations: 113 kB / 0.8896 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.893e-05/0.02481, allocations: 116.7 kB / 0.8897 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000101/0.02491, allocations: 180.2 kB / 0.8899 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001076/0.02502, allocations: 184.2 kB / 0.8901 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001022/0.02512, allocations: 180.3 kB / 0.8902 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.02543, allocations: 360.9 kB / 0.8906 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.031e-05/0.0255, allocations: 108.9 kB / 0.8907 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/0.02556, allocations: 101 kB / 0.8908 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.02567, allocations: 180.2 kB / 0.8909 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.02578, allocations: 188.2 kB / 0.8911 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001007/0.02588, allocations: 180.3 kB / 0.8913 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001014/0.02598, allocations: 188.1 kB / 0.8915 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.0262, allocations: 311.7 kB / 0.8918 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.02627, allocations: 112.9 kB / 0.8919 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.02639, allocations: 176.3 kB / 0.892 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.0265, allocations: 105.2 kB / 0.8921 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.02661, allocations: 188.2 kB / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.076e-05/0.02667, allocations: 104.9 kB / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.406e-05/0.02676, allocations: 99.25 kB / 0.8925 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02676, allocations: 0 / 0.8925 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009609/0.02772, allocations: 287 kB / 0.8928 GB, free: 6.57 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.00161/0.02933, allocations: 0.58 MB / 0.8934 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.02945, allocations: 37.69 kB / 0.8934 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.02945, allocations: 0 / 0.8934 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.02946, allocations: 0 / 0.8934 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.03003, allocations: 463.6 kB / 0.8938 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.03046, allocations: 227.7 kB / 0.8941 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.021e-05/0.03054, allocations: 71.23 kB / 0.8941 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.727e-05/0.03056, allocations: 0 / 0.8941 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.03059, allocations: 12.5 kB / 0.8941 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.03059, allocations: 0 / 0.8941 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of Templates: time 0.01399/0.04458, allocations: 5.788 MB / 0.8998 GB, free: 15.4 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.903189411968924]