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.001568/0.001568, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001706/0.001706, allocations: 159.6 kB / 23.01 MB, free: 4.594 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.411/1.411, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.1 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 2.855/2.855, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.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.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: 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.002097/0.002097, allocations: 75.83 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8335/0.8356, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002276/0.8379, allocations: 1.455 MB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003789/0.8417, allocations: 2.671 MB / 1.191 GB, free: 13.51 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.8417, allocations: 0 / 1.191 GB, free: 13.51 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.8418, allocations: 5.859 kB / 1.191 GB, free: 13.51 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.655e-05/0.8418, allocations: 16.09 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003944/0.8458, allocations: 1.636 MB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.164e-05/0.8458, allocations: 41.66 kB / 1.192 GB, free: 12.71 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.8459, allocations: 11.72 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.77e-05/0.8459, allocations: 17.7 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.085e-05/0.8459, allocations: 18.31 kB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.846, allocations: 1.031 kB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.8484, allocations: 1.479 MB / 1.194 GB, free: 12.3 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.8484, allocations: 2.969 kB / 1.194 GB, free: 12.3 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.8484, allocations: 20.84 kB / 1.194 GB, free: 12.29 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.85, allocations: 1.102 MB / 1.195 GB, free: 12 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.85, allocations: 1.406 kB / 1.195 GB, free: 12 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.943e-06/0.85, allocations: 0 / 1.195 GB, free: 12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.85, allocations: 0 / 1.195 GB, free: 12 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.0004969/0.8505, allocations: 475.2 kB / 1.195 GB, free: 11.59 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.8506, allocations: 9.688 kB / 1.195 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.8506, allocations: 87.25 kB / 1.196 GB, free: 11.51 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.918e-05/0.8507, allocations: 202.5 kB / 1.196 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.8507, allocations: 152.1 kB / 1.196 GB, free: 11.14 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.8507, allocations: 151.9 kB / 1.196 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.507e-05/0.8508, allocations: 111.4 kB / 1.196 GB, free: 10.88 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.8508, allocations: 79.22 kB / 1.196 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.8508, allocations: 151.6 kB / 1.196 GB, free: 10.66 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.8508, allocations: 152.3 kB / 1.196 GB, free: 10.51 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.8509, allocations: 155.7 kB / 1.197 GB, free: 10.36 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.851, allocations: 413.2 kB / 1.197 GB, free: 9.938 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.828e-05/0.8511, allocations: 170.3 kB / 1.197 GB, free: 9.762 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.8511, allocations: 90.03 kB / 1.197 GB, free: 9.672 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.8511, allocations: 75.28 kB / 1.197 GB, free: 9.598 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.8511, allocations: 108.2 kB / 1.197 GB, free: 9.484 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.8511, allocations: 4 kB / 1.197 GB, free: 9.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.423e-05/0.8512, allocations: 37.17 kB / 1.197 GB, free: 9.441 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.8512, allocations: 131.9 kB / 1.198 GB, free: 9.301 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.8513, allocations: 131.8 kB / 1.198 GB, free: 9.191 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.8513, allocations: 26.83 kB / 1.198 GB, free: 9.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.8514, allocations: 91.97 kB / 1.198 GB, free: 9.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.8514, allocations: 0 / 1.198 GB, free: 9.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.8514, allocations: 16.84 kB / 1.198 GB, free: 9.055 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.8514, allocations: 319.5 kB / 1.198 GB, free: 8.738 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.8515, allocations: 7.312 kB / 1.198 GB, free: 8.734 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.569e-05/0.8515, allocations: 8.219 kB / 1.198 GB, free: 8.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.8515, allocations: 15.53 kB / 1.198 GB, free: 8.719 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8515, allocations: 1.094 kB / 1.198 GB, free: 8.719 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001079/0.8516, allocations: 54.09 kB / 1.198 GB, free: 8.676 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.8516, allocations: 11.38 kB / 1.198 GB, free: 8.672 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.8516, allocations: 4.203 kB / 1.198 GB, free: 8.672 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.8517, allocations: 0 / 1.198 GB, free: 8.672 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.8517, allocations: 1.953 kB / 1.198 GB, free: 8.672 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.8517, allocations: 0 / 1.198 GB, free: 8.672 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.8517, allocations: 1 kB / 1.198 GB, free: 8.672 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.8517, allocations: 1.609 kB / 1.198 GB, free: 8.672 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 5.183e-05/0.8517, allocations: 192 kB / 1.198 GB, free: 8.477 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.8518, allocations: 116.5 kB / 1.199 GB, free: 8.359 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.8518, allocations: 109.8 kB / 1.199 GB, free: 8.246 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.8518, allocations: 186 kB / 1.199 GB, free: 8.059 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/0.8519, allocations: 182.2 kB / 1.199 GB, free: 7.875 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.8519, allocations: 186.8 kB / 1.199 GB, free: 7.688 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.852, allocations: 361.4 kB / 1.2 GB, free: 7.309 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.852, allocations: 102.5 kB / 1.2 GB, free: 7.203 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/0.852, allocations: 110.8 kB / 1.2 GB, free: 7.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.207e-05/0.852, allocations: 178 kB / 1.2 GB, free: 6.91 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.8521, allocations: 186 kB / 1.2 GB, free: 6.723 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-05/0.8521, allocations: 182.8 kB / 1.2 GB, free: 6.539 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.229e-05/0.8521, allocations: 181.9 kB / 1.2 GB, free: 6.355 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.238e-05/0.8522, allocations: 313.1 kB / 1.201 GB, free: 6.035 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.8522, allocations: 112.8 kB / 1.201 GB, free: 5.922 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.8522, allocations: 182.2 kB / 1.201 GB, free: 5.738 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.996e-05/0.8523, allocations: 103.5 kB / 1.201 GB, free: 5.633 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.8523, allocations: 185.7 kB / 1.201 GB, free: 5.445 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.8524, allocations: 107.1 kB / 1.201 GB, free: 5.336 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.219e-05/0.8524, allocations: 97.86 kB / 1.201 GB, free: 5.258 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8524, allocations: 0 / 1.201 GB, free: 5.258 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009004/0.8533, allocations: 298.5 kB / 1.202 GB, free: 5.18 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.001019/0.8543, allocations: 0.555 MB / 1.202 GB, free: 4.898 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.853e-05/0.8544, allocations: 42.81 kB / 1.202 GB, free: 4.859 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8544, allocations: 0 / 1.202 GB, free: 4.859 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.8544, allocations: 1.375 kB / 1.202 GB, free: 4.859 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.8547, allocations: 466.3 kB / 1.203 GB, free: 4.406 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.855, allocations: 235.3 kB / 1.203 GB, free: 4.195 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.099e-05/0.855, allocations: 66.58 kB / 1.203 GB, free: 4.125 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.147e-05/0.855, allocations: 0 / 1.203 GB, free: 4.125 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.232e-05/0.855, allocations: 11.55 kB / 1.203 GB, free: 4.117 MB / 1.076 GB Notification: Performance of SimCode: time 3.61e-07/0.855, allocations: 0 / 1.203 GB, free: 4.117 MB / 1.076 GB Notification: Performance of Templates: time 0.01117/0.8662, allocations: 5.877 MB / 1.209 GB, free: 3.645 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.87665792403277]