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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 113.3 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 191.7 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.122/3.122, allocations: 489.3 MB / 0.7687 GB, free: 3.758 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001928/0.001928, allocations: 63.91 kB / 1.103 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325/1.327, allocations: 163.8 MB / 1.263 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002848/1.33, allocations: 1.455 MB / 1.264 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004586/1.335, allocations: 2.895 MB / 1.267 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/1.335, allocations: 0 / 1.267 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/1.335, allocations: 5.062 kB / 1.267 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.151e-05/1.335, allocations: 16.39 kB / 1.267 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00478/1.34, allocations: 1.586 MB / 1.268 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/1.34, allocations: 45.72 kB / 1.269 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/1.34, allocations: 7.875 kB / 1.269 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.665e-05/1.34, allocations: 16.31 kB / 1.269 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.754e-05/1.34, allocations: 17.97 kB / 1.269 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/1.34, allocations: 1.562 kB / 1.269 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/1.343, allocations: 1.53 MB / 1.27 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/1.343, allocations: 9.547 kB / 1.27 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/1.343, allocations: 21.19 kB / 1.27 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002006/1.345, allocations: 1.114 MB / 1.271 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.345, allocations: 0 / 1.271 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.615e-06/1.345, allocations: 1.078 kB / 1.271 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.345, allocations: 4 kB / 1.271 GB, free: 3.555 MB / 0.9981 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.0006082/1.346, allocations: 0.5331 MB / 1.272 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/1.346, allocations: 11 kB / 1.272 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/1.346, allocations: 78.72 kB / 1.272 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/1.346, allocations: 251.7 kB / 1.272 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/1.346, allocations: 152.4 kB / 1.272 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/1.346, allocations: 159.9 kB / 1.272 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.812e-05/1.346, allocations: 106.2 kB / 1.272 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/1.346, allocations: 79.94 kB / 1.272 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/1.346, allocations: 150.6 kB / 1.273 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/1.346, allocations: 151.9 kB / 1.273 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.583e-05/1.346, allocations: 155.4 kB / 1.273 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/1.346, allocations: 469.9 kB / 1.273 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.423e-05/1.346, allocations: 166.2 kB / 1.274 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/1.346, allocations: 80.92 kB / 1.274 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/1.347, allocations: 76.03 kB / 1.274 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/1.347, allocations: 114.4 kB / 1.274 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/1.347, allocations: 4.688 kB / 1.274 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.782e-05/1.347, allocations: 39.72 kB / 1.274 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/1.347, allocations: 126.7 kB / 1.274 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/1.347, allocations: 138.4 kB / 1.274 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.874e-06/1.347, allocations: 25.7 kB / 1.274 GB, free: 500 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/1.347, allocations: 92.91 kB / 1.274 GB, free: 408 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/1.347, allocations: 4 kB / 1.274 GB, free: 404 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/1.347, allocations: 19.38 kB / 1.274 GB, free: 384 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.014e-05/1.347, allocations: 318 kB / 1.275 GB, free: 60 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/1.347, allocations: 9.406 kB / 1.275 GB, free: 56 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/1.347, allocations: 3.375 kB / 1.275 GB, free: 56 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/1.347, allocations: 18.48 kB / 1.275 GB, free: 40 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.347, allocations: 0 / 1.275 GB, free: 40 kB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001743/1.347, allocations: 53.91 kB / 1.275 GB, free: 15.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.347, allocations: 6.234 kB / 1.275 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/1.347, allocations: 9.672 kB / 1.275 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/1.347, allocations: 0.6562 kB / 1.275 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.974e-06/1.347, allocations: 1.438 kB / 1.275 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/1.347, allocations: 64 / 1.275 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/1.347, allocations: 8.906 kB / 1.275 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/1.347, allocations: 0.6875 kB / 1.275 GB, free: 15.98 MB / 1.014 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.0001341/1.348, allocations: 183.2 kB / 1.275 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/1.348, allocations: 115.6 kB / 1.275 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.465e-05/1.348, allocations: 121.5 kB / 1.275 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.089e-05/1.348, allocations: 177.1 kB / 1.275 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.115e-05/1.348, allocations: 183.5 kB / 1.275 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001006/1.348, allocations: 177.1 kB / 1.276 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/1.348, allocations: 417.8 kB / 1.276 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.284e-05/1.348, allocations: 109.6 kB / 1.276 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/1.348, allocations: 103.9 kB / 1.276 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.284e-05/1.349, allocations: 185.5 kB / 1.276 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.16e-05/1.349, allocations: 181.7 kB / 1.277 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.743e-05/1.349, allocations: 181.6 kB / 1.277 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.525e-05/1.349, allocations: 179.5 kB / 1.277 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/1.349, allocations: 316.4 kB / 1.277 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/1.349, allocations: 184 kB / 1.277 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/1.349, allocations: 181.7 kB / 1.278 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/1.349, allocations: 110.2 kB / 1.278 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.35, allocations: 189.1 kB / 1.278 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/1.35, allocations: 102.5 kB / 1.278 GB, free: 12.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.252e-05/1.35, allocations: 99.36 kB / 1.278 GB, free: 12.41 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.35, allocations: 0 / 1.278 GB, free: 12.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001112/1.351, allocations: 286.8 kB / 1.278 GB, free: 12.34 MB / 1.014 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.001335/1.352, allocations: 0.5405 MB / 1.279 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001218/1.352, allocations: 38.64 kB / 1.279 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.352, allocations: 0 / 1.279 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.312e-06/1.352, allocations: 10.25 kB / 1.279 GB, free: 12.03 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/1.353, allocations: 470.6 kB / 1.279 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/1.353, allocations: 263.5 kB / 1.28 GB, free: 11.33 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/1.354, allocations: 0.6823 MB / 1.28 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/1.354, allocations: 10.03 kB / 1.28 GB, free: 10.62 MB / 1.014 GB Notification: Performance of SimCode: time 7.51e-07/1.354, allocations: 0 / 1.28 GB, free: 10.62 MB / 1.014 GB Notification: Performance of Templates: time 0.01226/1.366, allocations: 4.747 MB / 1.285 GB, free: 10.15 MB / 1.014 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.692626116098836]