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.00119/0.00119, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001414/0.001414, allocations: 161 kB / 23.81 MB, free: 0.7539 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.8852/0.8852, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.696/1.696, allocations: 359 MB / 0.6052 GB, free: 11.01 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.062e-06/1.062e-06, allocations: 0 / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.669e-05, allocations: 2.875 kB / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003754/0.003771, allocations: 4.273 MB / 0.7913 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.006383, allocations: 2.425 MB / 0.7937 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.006583, allocations: 12 kB / 0.7937 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.007658, allocations: 0.5016 MB / 0.7942 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.007957, allocations: 265.6 kB / 0.7945 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.008108, allocations: 135.8 kB / 0.7946 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005888/0.008697, allocations: 0.8491 MB / 0.7954 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/0.008949, allocations: 215 kB / 0.7956 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004476/0.009397, allocations: 464.3 kB / 0.7961 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.009637, allocations: 251.3 kB / 0.7963 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.849e-05/0.009696, allocations: 76 kB / 0.7964 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.11e-05/0.009767, allocations: 72.84 kB / 0.7965 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.00988, allocations: 183.3 kB / 0.7966 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.01005, allocations: 260.7 kB / 0.7969 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.01045, allocations: 0.5122 MB / 0.7974 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.01045, allocations: 0 / 0.7974 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.01045, allocations: 0 / 0.7974 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.01046, allocations: 1.312 kB / 0.7974 GB, free: 1.961 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.0009155/0.01138, allocations: 1.006 MB / 0.7984 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.01141, allocations: 12.03 kB / 0.7984 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.01153, allocations: 117 kB / 0.7985 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.0119, allocations: 387.4 kB / 0.7989 GB, free: 400 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.01193, allocations: 37.38 kB / 0.7989 GB, free: 364 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.01198, allocations: 45.69 kB / 0.7989 GB, free: 320 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.0125, allocations: 315.7 kB / 0.7992 GB, free: 16 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.01252, allocations: 192 / 0.7992 GB, free: 16 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.01255, allocations: 22.28 kB / 0.7993 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.01256, allocations: 19.94 kB / 0.7993 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.01284, allocations: 193.8 kB / 0.7995 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.01401, allocations: 1.198 MB / 0.8006 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.01426, allocations: 215.9 kB / 0.8008 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.01448, allocations: 187.1 kB / 0.801 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.0145, allocations: 8 kB / 0.801 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.01452, allocations: 45.17 kB / 0.8011 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=42): time 1.953e-06/0.01453, allocations: 0 / 0.8011 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.0004312/0.01496, allocations: 332.8 kB / 0.8014 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.01499, allocations: 63.33 kB / 0.8014 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.01531, allocations: 482.7 kB / 0.8019 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.01533, allocations: 35.64 kB / 0.8019 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.01547, allocations: 343.2 kB / 0.8023 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.322e-05/0.01556, allocations: 150.7 kB / 0.8024 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.01562, allocations: 67.73 kB / 0.8025 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.01576, allocations: 0.5469 MB / 0.803 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.01584, allocations: 53.69 kB / 0.8031 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.259e-05/0.01592, allocations: 65.97 kB / 0.8031 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.01612, allocations: 161.2 kB / 0.8033 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01612, allocations: 1.094 kB / 0.8033 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000281/0.0164, allocations: 288.6 kB / 0.8035 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.01641, allocations: 8 kB / 0.8036 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01642, allocations: 4 kB / 0.8036 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.01643, allocations: 0 / 0.8036 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.01672, allocations: 131.7 kB / 0.8037 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01673, allocations: 4 kB / 0.8037 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.292e-05/0.01681, allocations: 23.78 kB / 0.8037 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.01682, allocations: 12 kB / 0.8037 GB, free: 11.27 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.0001039/0.01693, allocations: 180.4 kB / 0.8039 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.01698, allocations: 59.72 kB / 0.804 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.01703, allocations: 56.88 kB / 0.804 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01703, allocations: 4 kB / 0.804 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01704, allocations: 3.938 kB / 0.804 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.01705, allocations: 7.984 kB / 0.804 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.01739, allocations: 428.2 kB / 0.8044 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01739, allocations: 0 / 0.8044 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.01766, allocations: 123.9 kB / 0.8045 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01766, allocations: 0 / 0.8045 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.01769, allocations: 12 kB / 0.8046 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01769, allocations: 4 kB / 0.8046 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01769, allocations: 0 / 0.8046 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.01813, allocations: 0.5041 MB / 0.8051 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.01818, allocations: 55.59 kB / 0.8051 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.01821, allocations: 8 kB / 0.8051 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.01831, allocations: 16 kB / 0.8051 GB, free: 9.754 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.01835, allocations: 27.83 kB / 0.8052 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.01836, allocations: 12 kB / 0.8052 GB, free: 9.715 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001976/0.01856, allocations: 311 kB / 0.8055 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01856, allocations: 0 / 0.8055 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003629/0.01892, allocations: 151.7 kB / 0.8056 GB, free: 9.266 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 9.305e-05/0.01902, allocations: 124.7 kB / 0.8057 GB, free: 9.137 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.01927, allocations: 195.4 kB / 0.8059 GB, free: 8.941 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01927, allocations: 0 / 0.8059 GB, free: 8.941 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.01939, allocations: 127.3 kB / 0.806 GB, free: 8.812 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.01988, allocations: 103.2 kB / 0.8061 GB, free: 8.715 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.02111, allocations: 1.036 MB / 0.8071 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.525e-05/0.02119, allocations: 129.8 kB / 0.8073 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.02129, allocations: 47.36 kB / 0.8073 GB, free: 7.449 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.02136, allocations: 32.5 kB / 0.8073 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of SimCode: time 8.92e-07/0.02136, allocations: 0 / 0.8073 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of Templates: time 0.007691/0.02905, allocations: 5.237 MB / 0.8125 GB, free: 2.332 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: 4.679166099987924]