Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001452/0.001452, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001634/0.001634, allocations: 169 kB / 23.82 MB, free: 0.7422 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.9526/0.9526, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.767/1.767, allocations: 359 MB / 0.6052 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.113e-05, allocations: 5.5 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006214/0.006245, allocations: 4.276 MB / 0.7913 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006983/0.01323, allocations: 2.423 MB / 0.7937 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/0.01361, allocations: 12 kB / 0.7937 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.01544, allocations: 0.5034 MB / 0.7942 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005379/0.01598, allocations: 264.7 kB / 0.7945 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.01625, allocations: 140.8 kB / 0.7946 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009345/0.01718, allocations: 0.8483 MB / 0.7954 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004145/0.0176, allocations: 215.9 kB / 0.7956 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006807/0.01828, allocations: 455.1 kB / 0.7961 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.01869, allocations: 252.3 kB / 0.7963 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.0188, allocations: 76 kB / 0.7964 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.01893, allocations: 76 kB / 0.7964 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.01914, allocations: 180.5 kB / 0.7966 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.01945, allocations: 267.4 kB / 0.7969 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007355/0.02018, allocations: 0.5022 MB / 0.7974 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.02019, allocations: 0.8438 kB / 0.7974 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.343e-06/0.02019, allocations: 0 / 0.7974 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.551e-05/0.02022, allocations: 2.219 kB / 0.7974 GB, free: 1.926 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001063/0.02128, allocations: 1.008 MB / 0.7984 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.02132, allocations: 9.531 kB / 0.7984 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.02144, allocations: 116.5 kB / 0.7985 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.02187, allocations: 386.9 kB / 0.7988 GB, free: 364 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.02189, allocations: 37.38 kB / 0.7989 GB, free: 328 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.952e-05/0.02195, allocations: 48.94 kB / 0.7989 GB, free: 280 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.0224, allocations: 312.3 kB / 0.7992 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.02241, allocations: 192 / 0.7992 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.02244, allocations: 21.09 kB / 0.7992 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.02245, allocations: 15.94 kB / 0.7993 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.02274, allocations: 187 kB / 0.7994 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.02401, allocations: 1.206 MB / 0.8006 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.02427, allocations: 219.7 kB / 0.8008 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.0245, allocations: 188.1 kB / 0.801 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.02452, allocations: 7.984 kB / 0.801 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.02454, allocations: 45.17 kB / 0.8011 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=42): time 1.343e-06/0.02455, allocations: 0 / 0.8011 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.0004472/0.02499, allocations: 332.8 kB / 0.8014 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.02502, allocations: 59.34 kB / 0.8014 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.02536, allocations: 478.7 kB / 0.8019 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.02538, allocations: 33.7 kB / 0.8019 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.02553, allocations: 347.2 kB / 0.8022 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.462e-05/0.02562, allocations: 151.6 kB / 0.8024 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.02569, allocations: 67.73 kB / 0.8025 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.02583, allocations: 0.544 MB / 0.803 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.473e-05/0.02593, allocations: 56.72 kB / 0.803 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.762e-05/0.02602, allocations: 65.2 kB / 0.8031 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.02623, allocations: 170.3 kB / 0.8033 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.02623, allocations: 0 / 0.8033 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003033/0.02653, allocations: 276.6 kB / 0.8035 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.02655, allocations: 9.094 kB / 0.8035 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.02656, allocations: 4.766 kB / 0.8035 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.02657, allocations: 0 / 0.8035 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.02687, allocations: 128.8 kB / 0.8037 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.02688, allocations: 4.5 kB / 0.8037 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.153e-05/0.02697, allocations: 28.36 kB / 0.8037 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.02698, allocations: 12 kB / 0.8037 GB, free: 11.24 MB / 0.7605 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0001053/0.02709, allocations: 173.9 kB / 0.8039 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.02714, allocations: 63.66 kB / 0.8039 GB, free: 11 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.0272, allocations: 52.88 kB / 0.804 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.02721, allocations: 13.11 kB / 0.804 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.02722, allocations: 7.875 kB / 0.804 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.02722, allocations: 3.984 kB / 0.804 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.02758, allocations: 433.3 kB / 0.8044 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.02759, allocations: 0 / 0.8044 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.02786, allocations: 127.9 kB / 0.8045 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.02786, allocations: 4 kB / 0.8045 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.02788, allocations: 4 kB / 0.8046 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.02788, allocations: 4 kB / 0.8046 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02788, allocations: 0 / 0.8046 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.02835, allocations: 0.5041 MB / 0.805 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.0284, allocations: 55.59 kB / 0.8051 GB, free: 9.746 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.02843, allocations: 8 kB / 0.8051 GB, free: 9.738 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.02853, allocations: 8 kB / 0.8051 GB, free: 9.73 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.02858, allocations: 31.89 kB / 0.8051 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.02859, allocations: 8 kB / 0.8052 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002131/0.02881, allocations: 319 kB / 0.8055 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.51e-07/0.02881, allocations: 0 / 0.8055 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002626/0.02907, allocations: 147.7 kB / 0.8056 GB, free: 9.238 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001153/0.02918, allocations: 116.9 kB / 0.8057 GB, free: 9.117 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.02945, allocations: 199.4 kB / 0.8059 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.02946, allocations: 0 / 0.8059 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.02958, allocations: 123.3 kB / 0.806 GB, free: 8.793 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.02997, allocations: 107.1 kB / 0.8061 GB, free: 8.695 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.0313, allocations: 1.043 MB / 0.8071 GB, free: 7.617 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.574e-05/0.03138, allocations: 125.8 kB / 0.8073 GB, free: 7.473 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001/0.03148, allocations: 43.38 kB / 0.8073 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.205e-05/0.03155, allocations: 40.5 kB / 0.8073 GB, free: 7.391 MB / 0.7605 GB Notification: Performance of SimCode: time 5.61e-07/0.03155, allocations: 0 / 0.8073 GB, free: 7.391 MB / 0.7605 GB Notification: Performance of Templates: time 0.007344/0.03889, allocations: 4.988 MB / 0.8122 GB, free: 2.555 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.099338927771896]