Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 193.5 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.698/1.698, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009632/0.0009632, allocations: 105.9 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003932, allocations: 10.69 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3461, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.244/1.59, allocations: 441.9 MB / 1.654 GB, free: 2.688 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004019/1.59, allocations: 131.2 kB / 1.655 GB, free: 2.609 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.729/5.32, allocations: 1.069 GB / 2.724 GB, free: 35.75 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.064e-06/5.32, allocations: 0 / 2.724 GB, free: 35.75 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003295/5.32, allocations: 79.92 kB / 2.724 GB, free: 35.68 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01084/5.331, allocations: 3.597 MB / 2.727 GB, free: 32 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/5.331, allocations: 12.02 kB / 2.727 GB, free: 31.99 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/5.333, allocations: 374.4 kB / 2.728 GB, free: 31.62 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006429/5.339, allocations: 2.956 MB / 2.73 GB, free: 28.59 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/5.339, allocations: 164.1 kB / 2.731 GB, free: 28.43 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000363/5.34, allocations: 219.9 kB / 2.731 GB, free: 28.21 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/5.343, allocations: 2.119 MB / 2.733 GB, free: 25.98 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.324e-05/5.343, allocations: 11.84 kB / 2.733 GB, free: 25.97 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/5.343, allocations: 84 kB / 2.733 GB, free: 25.89 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/5.343, allocations: 52 kB / 2.733 GB, free: 25.84 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/5.346, allocations: 1.609 MB / 2.735 GB, free: 24.21 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/5.358, allocations: 8.844 MB / 2.743 GB, free: 15.04 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/5.359, allocations: 1.355 MB / 2.745 GB, free: 13.64 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001715/5.361, allocations: 2.918 MB / 2.747 GB, free: 10.07 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/5.361, allocations: 51.86 kB / 2.747 GB, free: 10.02 MB / 1.167 GB Notification: Performance of pre-optimization done (n=148): time 3.075e-06/5.361, allocations: 0 / 2.747 GB, free: 10.02 MB / 1.167 GB Notification: Performance of matching and sorting (n=148): time 0.004677/5.366, allocations: 2.716 MB / 2.75 GB, free: 7.164 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/5.366, allocations: 98.36 kB / 2.75 GB, free: 7.051 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/5.369, allocations: 2.036 MB / 2.752 GB, free: 5.004 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003042/5.369, allocations: 53.7 kB / 2.752 GB, free: 4.945 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008619/5.37, allocations: 1.201 MB / 2.753 GB, free: 3.73 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005058/5.371, allocations: 0.5121 MB / 2.754 GB, free: 3.211 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/5.371, allocations: 39.94 kB / 2.754 GB, free: 3.172 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001125/5.371, allocations: 373.9 kB / 2.754 GB, free: 2.801 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/5.372, allocations: 0.5232 MB / 2.755 GB, free: 2.277 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008927/5.373, allocations: 0.897 MB / 2.756 GB, free: 1.25 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008654/5.374, allocations: 0.676 MB / 2.756 GB, free: 0.5781 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/5.374, allocations: 0 / 2.756 GB, free: 0.5781 MB / 1.167 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003711/5.377, allocations: 1.979 MB / 2.758 GB, free: 14.57 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001233/5.379, allocations: 2.733 MB / 2.761 GB, free: 11.61 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/5.379, allocations: 11.98 kB / 2.761 GB, free: 11.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/5.379, allocations: 233 kB / 2.761 GB, free: 11.35 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/5.381, allocations: 351.5 kB / 2.761 GB, free: 11.01 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005831/5.386, allocations: 7.079 MB / 2.768 GB, free: 3.336 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/5.39, allocations: 278.1 kB / 2.769 GB, free: 3.062 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002781/5.39, allocations: 71.92 kB / 2.769 GB, free: 2.992 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/5.39, allocations: 4 kB / 2.769 GB, free: 2.988 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003188/5.393, allocations: 1.707 MB / 2.77 GB, free: 1.262 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/5.393, allocations: 8 kB / 2.77 GB, free: 1.254 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/5.394, allocations: 221.5 kB / 2.771 GB, free: 1.02 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/5.395, allocations: 347.5 kB / 2.771 GB, free: 0.6797 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8802/6.275, allocations: 9.009 MB / 2.78 GB, free: 156.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/6.278, allocations: 266.1 kB / 2.78 GB, free: 156.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002259/6.279, allocations: 67.69 kB / 2.78 GB, free: 156.2 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (191): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001681/6.28, allocations: 0.6447 MB / 2.781 GB, free: 156 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000726/6.281, allocations: 259.7 kB / 2.781 GB, free: 156 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004275/6.285, allocations: 2.041 MB / 2.783 GB, free: 155.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.311e-05/6.285, allocations: 21.23 kB / 2.783 GB, free: 155.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/6.285, allocations: 2.109 kB / 2.783 GB, free: 155.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002588/6.288, allocations: 1.666 MB / 2.785 GB, free: 155.5 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/6.298, allocations: 4.523 MB / 2.789 GB, free: 154.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/6.298, allocations: 0.9062 kB / 2.789 GB, free: 154.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/6.299, allocations: 275.2 kB / 2.789 GB, free: 154.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005447/6.3, allocations: 216.6 kB / 2.789 GB, free: 154.9 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/6.3, allocations: 42.8 kB / 2.79 GB, free: 154.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00479/6.305, allocations: 7.087 MB / 2.796 GB, free: 148.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/6.305, allocations: 1.375 kB / 2.796 GB, free: 148.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/6.31, allocations: 2.775 MB / 2.799 GB, free: 148.1 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002023/6.312, allocations: 0.5742 MB / 2.8 GB, free: 147.8 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004639/6.313, allocations: 30.17 kB / 2.8 GB, free: 147.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/6.314, allocations: 153.8 kB / 2.8 GB, free: 147.8 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/6.315, allocations: 106.7 kB / 2.8 GB, free: 147.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/6.315, allocations: 60.34 kB / 2.8 GB, free: 147.8 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003131/6.318, allocations: 1.571 MB / 2.802 GB, free: 147.7 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.71e-07/6.318, allocations: 0 / 2.802 GB, free: 147.7 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.009646/6.328, allocations: 1.988 MB / 2.804 GB, free: 147.6 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.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 (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005472/6.333, allocations: 1.739 MB / 2.805 GB, free: 147.4 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005894/6.339, allocations: 3.596 MB / 2.809 GB, free: 146.1 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/6.339, allocations: 1.188 kB / 2.809 GB, free: 146.1 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001807/6.341, allocations: 1.242 MB / 2.81 GB, free: 145.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007086/6.348, allocations: 1.346 MB / 2.811 GB, free: 145.7 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009936/6.358, allocations: 6.108 MB / 2.817 GB, free: 143.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/6.36, allocations: 1.802 MB / 2.819 GB, free: 142.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003693/6.363, allocations: 0.5956 MB / 2.82 GB, free: 142.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/6.364, allocations: 210.3 kB / 2.82 GB, free: 142.3 MB / 1.182 GB Notification: Performance of SimCode: time 1.423e-06/6.364, allocations: 0 / 2.82 GB, free: 142.3 MB / 1.182 GB Notification: Performance of Templates: time 0.1018/6.466, allocations: 64.6 MB / 2.883 GB, free: 139.8 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches