Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001279/0.001279, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001407/0.001407, allocations: 161 kB / 24.16 MB, free: 332 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.8562/0.8562, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.788/1.788, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.327e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004309/0.004322, allocations: 4.178 MB / 0.7642 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.006392, allocations: 2.451 MB / 0.7665 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.006551, allocations: 8 kB / 0.7666 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008939/0.007445, allocations: 0.5311 MB / 0.7671 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.007688, allocations: 255.1 kB / 0.7673 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.007821, allocations: 140.6 kB / 0.7675 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004927/0.008314, allocations: 0.843 MB / 0.7683 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.008551, allocations: 221.6 kB / 0.7685 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.008898, allocations: 471.5 kB / 0.7689 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.009115, allocations: 255.3 kB / 0.7692 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.009167, allocations: 74.97 kB / 0.7693 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.009227, allocations: 76 kB / 0.7693 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.009339, allocations: 167.4 kB / 0.7695 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.009509, allocations: 267.4 kB / 0.7697 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.009872, allocations: 0.5022 MB / 0.7702 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.009873, allocations: 0 / 0.7702 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.31e-07/0.009874, allocations: 0 / 0.7702 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.009878, allocations: 0 / 0.7702 GB, free: 12.19 MB / 0.7292 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.0007813/0.01066, allocations: 0.8543 MB / 0.7711 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.588e-05/0.01069, allocations: 13.58 kB / 0.7711 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.636e-05/0.01076, allocations: 84.88 kB / 0.7712 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.01103, allocations: 295.5 kB / 0.7714 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.01105, allocations: 42.59 kB / 0.7715 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.0111, allocations: 48.38 kB / 0.7715 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.01135, allocations: 287.7 kB / 0.7718 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.01136, allocations: 4.641 kB / 0.7718 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.01138, allocations: 21.19 kB / 0.7718 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.01139, allocations: 19.88 kB / 0.7718 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.01155, allocations: 135.8 kB / 0.772 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009663/0.01251, allocations: 0.8492 MB / 0.7728 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.01267, allocations: 163.8 kB / 0.773 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.01281, allocations: 160.8 kB / 0.7731 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.01283, allocations: 9.062 kB / 0.7731 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.01285, allocations: 35.25 kB / 0.7732 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=42): time 1.803e-06/0.01285, allocations: 0.9375 kB / 0.7732 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42): time 0.000249/0.0131, allocations: 224.9 kB / 0.7734 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.01313, allocations: 59.39 kB / 0.7734 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.01332, allocations: 348.2 kB / 0.7738 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.01334, allocations: 29.7 kB / 0.7738 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.01341, allocations: 234.3 kB / 0.774 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.01349, allocations: 154.7 kB / 0.7742 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.01354, allocations: 62.05 kB / 0.7742 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.768e-05/0.01363, allocations: 365.1 kB / 0.7746 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-05/0.01367, allocations: 36.73 kB / 0.7746 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-05/0.01372, allocations: 41.23 kB / 0.7746 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.01384, allocations: 138 kB / 0.7748 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01384, allocations: 0 / 0.7748 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001638/0.014, allocations: 181.3 kB / 0.7749 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.01401, allocations: 6.688 kB / 0.775 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.01402, allocations: 0 / 0.775 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.01403, allocations: 0 / 0.775 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.01426, allocations: 123.9 kB / 0.7751 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.01427, allocations: 4 kB / 0.7751 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.802e-05/0.01435, allocations: 35.77 kB / 0.7751 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.01436, allocations: 9 kB / 0.7751 GB, free: 7.035 MB / 0.7292 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 8.809e-05/0.01444, allocations: 128.6 kB / 0.7752 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.01448, allocations: 40.91 kB / 0.7753 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.01453, allocations: 56.8 kB / 0.7753 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01453, allocations: 7.062 kB / 0.7753 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01454, allocations: 0 / 0.7753 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01454, allocations: 7.875 kB / 0.7753 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.01478, allocations: 297.4 kB / 0.7756 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01479, allocations: 4 kB / 0.7756 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.01503, allocations: 127.8 kB / 0.7758 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01503, allocations: 0 / 0.7758 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.01504, allocations: 11.66 kB / 0.7758 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01504, allocations: 0 / 0.7758 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01504, allocations: 0 / 0.7758 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.01532, allocations: 368 kB / 0.7761 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.01536, allocations: 43.61 kB / 0.7762 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.01539, allocations: 12 kB / 0.7762 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.01547, allocations: 8 kB / 0.7762 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.0155, allocations: 27.94 kB / 0.7762 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.01551, allocations: 4 kB / 0.7762 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003266/0.01584, allocations: 153.5 kB / 0.7764 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01584, allocations: 3.938 kB / 0.7764 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000203/0.01604, allocations: 151.7 kB / 0.7765 GB, free: 5.578 MB / 0.7292 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 7.606e-05/0.01612, allocations: 89.98 kB / 0.7766 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.01627, allocations: 164.6 kB / 0.7767 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.01628, allocations: 5 kB / 0.7768 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.01635, allocations: 96.69 kB / 0.7768 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.01662, allocations: 100.5 kB / 0.7769 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.01764, allocations: 0.9723 MB / 0.7779 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.838e-05/0.01771, allocations: 125.8 kB / 0.778 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.62e-05/0.0178, allocations: 41.8 kB / 0.778 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.01796, allocations: 135.3 kB / 0.7782 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.01796, allocations: 1 kB / 0.7782 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of Templates: time 0.007348/0.02531, allocations: 5.362 MB / 0.7834 GB, free: 14.74 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.564186386298388]