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.183/2.183, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.0009977/0.0009977, allocations: 180.4 kB / 492.3 MB, free: 0.6445 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.525/1.525, allocations: 221.3 MB / 0.7872 GB, free: 12.91 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.0008349/0.0008347, allocations: 95.83 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.209e-05/4.233e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3521, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.54, allocations: 441.9 MB / 1.644 GB, free: 4.031 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/1.541, allocations: 118.9 kB / 1.644 GB, free: 3.961 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.739/6.279, allocations: 1.066 GB / 2.71 GB, free: 182.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.505e-06/6.279, allocations: 2.562 kB / 2.71 GB, free: 182.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003081/6.28, allocations: 82.06 kB / 2.71 GB, free: 182.9 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.008467/6.288, allocations: 3.06 MB / 2.713 GB, free: 181.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/6.288, allocations: 10.78 kB / 2.713 GB, free: 181.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/6.29, allocations: 370.3 kB / 2.713 GB, free: 181.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0065/6.296, allocations: 2.924 MB / 2.716 GB, free: 181.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/6.296, allocations: 167 kB / 2.716 GB, free: 181.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003113/6.297, allocations: 209.7 kB / 2.716 GB, free: 181.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/6.301, allocations: 2.079 MB / 2.718 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.444e-05/6.301, allocations: 16.61 kB / 2.718 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/6.301, allocations: 87.81 kB / 2.718 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.734e-05/6.301, allocations: 50.72 kB / 2.718 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/6.304, allocations: 1.574 MB / 2.72 GB, free: 180.8 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.01406/6.318, allocations: 8.842 MB / 2.729 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/6.319, allocations: 1.33 MB / 2.73 GB, free: 177.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/6.321, allocations: 0.8519 MB / 2.731 GB, free: 177.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002027/6.323, allocations: 2.924 MB / 2.734 GB, free: 174.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/6.323, allocations: 54.03 kB / 2.734 GB, free: 174.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=148): time 3.987e-06/6.323, allocations: 0 / 2.734 GB, free: 174.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=148): time 0.003293/6.326, allocations: 1.556 MB / 2.735 GB, free: 174.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/6.326, allocations: 96.52 kB / 2.735 GB, free: 174.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003398/6.329, allocations: 2.003 MB / 2.737 GB, free: 173.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002277/6.33, allocations: 57.64 kB / 2.737 GB, free: 173.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008198/6.33, allocations: 1.211 MB / 2.738 GB, free: 173.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004878/6.331, allocations: 0.5123 MB / 2.739 GB, free: 173.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/6.331, allocations: 36.22 kB / 2.739 GB, free: 173.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001146/6.331, allocations: 376.1 kB / 2.739 GB, free: 172.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007934/6.332, allocations: 0.5098 MB / 2.74 GB, free: 172.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009911/6.333, allocations: 0.8794 MB / 2.741 GB, free: 172.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009994/6.334, allocations: 0.6738 MB / 2.741 GB, free: 172.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/6.334, allocations: 3.906 kB / 2.741 GB, free: 172.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.00366/6.338, allocations: 1.945 MB / 2.743 GB, free: 172.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006376/6.338, allocations: 2.733 MB / 2.746 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/6.338, allocations: 10.41 kB / 2.746 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/6.339, allocations: 221.2 kB / 2.746 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/6.34, allocations: 350 kB / 2.746 GB, free: 169.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003938/6.344, allocations: 7.053 MB / 2.753 GB, free: 162.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/6.347, allocations: 277.1 kB / 2.754 GB, free: 162.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/6.347, allocations: 66.02 kB / 2.754 GB, free: 162.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/6.347, allocations: 7.25 kB / 2.754 GB, free: 162.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002661/6.35, allocations: 1.679 MB / 2.755 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/6.35, allocations: 14.31 kB / 2.755 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004477/6.35, allocations: 209.4 kB / 2.756 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/6.351, allocations: 358.5 kB / 2.756 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005087/6.356, allocations: 8.96 MB / 2.765 GB, free: 154.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/6.359, allocations: 261.9 kB / 2.765 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/6.359, allocations: 71.03 kB / 2.765 GB, free: 154.6 MB / 1.167 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 () * 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.000463/6.36, allocations: 203 kB / 2.765 GB, free: 154.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005947/6.361, allocations: 254.5 kB / 2.765 GB, free: 154.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003601/6.364, allocations: 2.02 MB / 2.767 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/6.364, allocations: 18.94 kB / 2.767 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/6.364, allocations: 2.969 kB / 2.767 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002058/6.366, allocations: 1.642 MB / 2.769 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007921/6.374, allocations: 4.507 MB / 2.773 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/6.374, allocations: 0 / 2.773 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/6.375, allocations: 276 kB / 2.774 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005046/6.376, allocations: 208.2 kB / 2.774 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.454e-05/6.376, allocations: 41.42 kB / 2.774 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004173/6.38, allocations: 7.052 MB / 2.781 GB, free: 146.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/6.38, allocations: 9.922 kB / 2.781 GB, free: 146.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005177/6.385, allocations: 2.731 MB / 2.783 GB, free: 146.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002313/6.388, allocations: 0.5736 MB / 2.784 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004601/6.388, allocations: 40.91 kB / 2.784 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/6.39, allocations: 151.3 kB / 2.784 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/6.39, allocations: 105.1 kB / 2.784 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/6.39, allocations: 59.45 kB / 2.784 GB, free: 145.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002701/6.393, allocations: 1.538 MB / 2.786 GB, free: 145.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 9.12e-07/6.393, allocations: 0 / 2.786 GB, free: 145.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007327/6.4, allocations: 1.987 MB / 2.788 GB, free: 145.5 MB / 1.167 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 () * 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.003911/6.404, allocations: 1.736 MB / 2.789 GB, free: 145 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005238/6.409, allocations: 3.635 MB / 2.793 GB, free: 143.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/6.409, allocations: 0 / 2.793 GB, free: 143.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/6.411, allocations: 1.225 MB / 2.794 GB, free: 143.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007149/6.418, allocations: 1.342 MB / 2.796 GB, free: 143.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007456/6.425, allocations: 4.119 MB / 2.8 GB, free: 142.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/6.427, allocations: 1.801 MB / 2.801 GB, free: 141.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003855/6.431, allocations: 0.7889 MB / 2.802 GB, free: 141.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004398/6.431, allocations: 166.7 kB / 2.802 GB, free: 141.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.713e-06/6.431, allocations: 0 / 2.802 GB, free: 141.5 MB / 1.167 GB Notification: Performance of Templates: time 0.1141/6.545, allocations: 70.07 MB / 2.871 GB, free: 137.6 MB / 1.167 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