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.InternalResistancesTwoUTubeNegative.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.0009873/0.0009873, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009498/0.0009498, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.9081/0.9081, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.804/1.804, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.458e-05, allocations: 2.281 kB / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001744/0.001768, allocations: 1.438 MB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003017/0.004785, allocations: 2.681 MB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.004819, allocations: 0 / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.004841, allocations: 11.86 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.004896, allocations: 11.86 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.007588, allocations: 1.64 MB / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.105e-05/0.007669, allocations: 51.61 kB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.007711, allocations: 7.906 kB / 1.007 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.041e-05/0.007751, allocations: 19.92 kB / 1.007 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.244e-05/0.007774, allocations: 15.98 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.007788, allocations: 4 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.009171, allocations: 1.482 MB / 1.008 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.009187, allocations: 15.92 kB / 1.008 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.009209, allocations: 12 kB / 1.008 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.01029, allocations: 1.274 MB / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01029, allocations: 0 / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.453e-06/0.01029, allocations: 0 / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.0103, allocations: 0 / 1.009 GB, free: 4.238 MB / 0.9636 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.0004339/0.01073, allocations: 476 kB / 1.01 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.01077, allocations: 12.03 kB / 1.01 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.01082, allocations: 80.17 kB / 1.01 GB, free: 3.652 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.01093, allocations: 200.9 kB / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.01097, allocations: 150.9 kB / 1.01 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.01102, allocations: 150.9 kB / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.649e-05/0.01107, allocations: 109.5 kB / 1.011 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.01109, allocations: 79.47 kB / 1.011 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.01113, allocations: 154.7 kB / 1.011 GB, free: 2.789 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.622e-05/0.01117, allocations: 150.6 kB / 1.011 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.986e-05/0.01121, allocations: 150.6 kB / 1.011 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.01142, allocations: 421.5 kB / 1.011 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.132e-05/0.01149, allocations: 169.2 kB / 1.012 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.01152, allocations: 80.14 kB / 1.012 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.01154, allocations: 75.28 kB / 1.012 GB, free: 1.719 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.01158, allocations: 113.8 kB / 1.012 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.01158, allocations: 0 / 1.012 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.237e-05/0.01164, allocations: 37.59 kB / 1.012 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.01169, allocations: 134.6 kB / 1.012 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.01181, allocations: 127.5 kB / 1.012 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.01182, allocations: 25.7 kB / 1.012 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.01187, allocations: 96.14 kB / 1.012 GB, free: 1.148 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.01187, allocations: 0 / 1.012 GB, free: 1.148 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.0119, allocations: 17.7 kB / 1.012 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.033e-05/0.01198, allocations: 318.8 kB / 1.013 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.012, allocations: 4 kB / 1.013 GB, free: 0.8008 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.462e-05/0.01202, allocations: 11.98 kB / 1.013 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.369e-05/0.01205, allocations: 12.86 kB / 1.013 GB, free: 0.7734 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.01205, allocations: 0 / 1.013 GB, free: 0.7734 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004141/0.01247, allocations: 57.53 kB / 1.013 GB, free: 0.7109 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.01248, allocations: 7.938 kB / 1.013 GB, free: 0.7031 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.0125, allocations: 4 kB / 1.013 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01251, allocations: 8 kB / 1.013 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.853e-06/0.01251, allocations: 3.984 kB / 1.013 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.01252, allocations: 0 / 1.013 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.01253, allocations: 11.89 kB / 1.013 GB, free: 0.6758 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.01254, allocations: 0 / 1.013 GB, free: 0.6758 MB / 0.9636 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 7.234e-05/0.01261, allocations: 185.1 kB / 1.013 GB, free: 496 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.01265, allocations: 101 kB / 1.013 GB, free: 388 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.01269, allocations: 116.7 kB / 1.013 GB, free: 264 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.219e-05/0.01273, allocations: 184.2 kB / 1.013 GB, free: 72 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.331e-05/0.01278, allocations: 184.2 kB / 1.013 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.083e-05/0.01282, allocations: 180.3 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.01296, allocations: 364.9 kB / 1.014 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.61e-05/0.01299, allocations: 108.9 kB / 1.014 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.01301, allocations: 105 kB / 1.014 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.01e-05/0.01305, allocations: 184.2 kB / 1.014 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.0131, allocations: 176.3 kB / 1.015 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-05/0.01314, allocations: 180.3 kB / 1.015 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-05/0.01318, allocations: 188.2 kB / 1.015 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.862e-05/0.01328, allocations: 315.7 kB / 1.015 GB, free: 14.01 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.01331, allocations: 104.9 kB / 1.015 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.01337, allocations: 188.2 kB / 1.015 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.664e-05/0.01341, allocations: 101.3 kB / 1.016 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.01346, allocations: 184.2 kB / 1.016 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.01349, allocations: 117 kB / 1.016 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.01353, allocations: 96.83 kB / 1.016 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01353, allocations: 0 / 1.016 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004226/0.01396, allocations: 295 kB / 1.016 GB, free: 12.91 MB / 0.9792 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.000745/0.0147, allocations: 0.5938 MB / 1.017 GB, free: 12.31 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 8.878e-05/0.01479, allocations: 37.7 kB / 1.017 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01479, allocations: 4 kB / 1.017 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.01479, allocations: 0 / 1.017 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.01507, allocations: 467.6 kB / 1.017 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.01534, allocations: 245.9 kB / 1.018 GB, free: 11.53 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.301e-05/0.01538, allocations: 71.33 kB / 1.018 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.418e-05/0.0154, allocations: 12.5 kB / 1.018 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of SimCode: time 3.7e-07/0.0154, allocations: 0 / 1.018 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of Templates: time 0.005353/0.02075, allocations: 4.989 MB / 1.022 GB, free: 6.438 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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: 7.731606844812632]