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.001364/0.001364, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001496/0.001496, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.8975/0.8975, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.668/1.668, allocations: 359 MB / 0.6055 GB, free: 10.86 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 2.024e-06/2.024e-06, allocations: 0.875 kB / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.561e-05, allocations: 12.06 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005713/0.005739, allocations: 4.162 MB / 0.7917 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003874/0.009613, allocations: 2.389 MB / 0.794 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.009973, allocations: 8 kB / 0.794 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.01158, allocations: 0.5065 MB / 0.7945 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006092/0.01219, allocations: 260.9 kB / 0.7948 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.01246, allocations: 145.7 kB / 0.7949 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009499/0.01341, allocations: 0.8436 MB / 0.7957 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004291/0.01384, allocations: 219 kB / 0.7959 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008305/0.01467, allocations: 463 kB / 0.7964 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004475/0.01512, allocations: 251.8 kB / 0.7966 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.01527, allocations: 76 kB / 0.7967 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.01542, allocations: 72.72 kB / 0.7968 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.01559, allocations: 175.9 kB / 0.7969 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.01594, allocations: 275.4 kB / 0.7972 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006605/0.0166, allocations: 0.4954 MB / 0.7977 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.01661, allocations: 0 / 0.7977 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01661, allocations: 0 / 0.7977 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.01663, allocations: 0.9062 kB / 0.7977 GB, free: 1.812 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.001361/0.01799, allocations: 1.011 MB / 0.7987 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.01803, allocations: 8.031 kB / 0.7987 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.0182, allocations: 116.5 kB / 0.7988 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.01869, allocations: 383.7 kB / 0.7992 GB, free: 256 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.01872, allocations: 37.38 kB / 0.7992 GB, free: 220 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.939e-05/0.01879, allocations: 52.31 kB / 0.7992 GB, free: 168 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.01929, allocations: 275.7 kB / 0.7995 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.01931, allocations: 1.312 kB / 0.7995 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.01934, allocations: 20.38 kB / 0.7995 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.01936, allocations: 15.94 kB / 0.7995 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.01965, allocations: 155.9 kB / 0.7997 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.02121, allocations: 1.109 MB / 0.8008 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.02141, allocations: 193 kB / 0.801 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.02159, allocations: 181.3 kB / 0.8011 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.0216, allocations: 8 kB / 0.8011 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.02163, allocations: 41.17 kB / 0.8012 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=42): time 1.824e-06/0.02163, allocations: 0.6562 kB / 0.8012 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.0003387/0.02197, allocations: 293.7 kB / 0.8015 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.02199, allocations: 55.41 kB / 0.8015 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.02228, allocations: 474.5 kB / 0.802 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.0223, allocations: 37.64 kB / 0.802 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.02245, allocations: 351.2 kB / 0.8023 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.241e-05/0.02253, allocations: 154.7 kB / 0.8025 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.0226, allocations: 63.72 kB / 0.8025 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.02276, allocations: 0.5546 MB / 0.8031 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.967e-05/0.02281, allocations: 40.72 kB / 0.8031 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.255e-05/0.02286, allocations: 53.2 kB / 0.8032 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.02299, allocations: 129.3 kB / 0.8033 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.02299, allocations: 4 kB / 0.8033 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002547/0.02325, allocations: 260.5 kB / 0.8035 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.02326, allocations: 5.062 kB / 0.8036 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.02327, allocations: 0 / 0.8036 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.02328, allocations: 4 kB / 0.8036 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.02353, allocations: 120.9 kB / 0.8037 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.02353, allocations: 11.94 kB / 0.8037 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.02363, allocations: 27.78 kB / 0.8037 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.02364, allocations: 8 kB / 0.8037 GB, free: 11.45 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.000103/0.02375, allocations: 180.5 kB / 0.8039 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.02379, allocations: 55.72 kB / 0.8039 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.02385, allocations: 52.88 kB / 0.804 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.02385, allocations: 4 kB / 0.804 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.02386, allocations: 0 / 0.804 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.02386, allocations: 7.922 kB / 0.804 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.02424, allocations: 352.7 kB / 0.8043 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.02424, allocations: 4 kB / 0.8043 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.02448, allocations: 123.9 kB / 0.8045 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.02448, allocations: 4 kB / 0.8045 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.0245, allocations: 4 kB / 0.8045 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.0245, allocations: 4 kB / 0.8045 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.0245, allocations: 0 / 0.8045 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.02485, allocations: 480.1 kB / 0.8049 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.0249, allocations: 55.62 kB / 0.805 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.02493, allocations: 12 kB / 0.805 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.02502, allocations: 15.98 kB / 0.805 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.02506, allocations: 23.95 kB / 0.805 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.02507, allocations: 4 kB / 0.805 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001511/0.02522, allocations: 295 kB / 0.8053 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.02522, allocations: 0 / 0.8053 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002548/0.02547, allocations: 147.7 kB / 0.8055 GB, free: 9.605 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.0001024/0.02558, allocations: 115.1 kB / 0.8056 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.02576, allocations: 179.3 kB / 0.8057 GB, free: 9.305 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.02576, allocations: 4 kB / 0.8057 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.02585, allocations: 111.3 kB / 0.8059 GB, free: 9.188 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.02621, allocations: 95.58 kB / 0.8059 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.02753, allocations: 1.021 MB / 0.8069 GB, free: 8.047 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.265e-05/0.0276, allocations: 129.8 kB / 0.8071 GB, free: 7.898 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.02771, allocations: 51.38 kB / 0.8071 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.02789, allocations: 170.1 kB / 0.8073 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of SimCode: time 7.42e-07/0.02789, allocations: 0 / 0.8073 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of Templates: time 0.007942/0.03583, allocations: 5.424 MB / 0.8126 GB, free: 2.449 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.574749289080501]