Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.InternalHEXOneUTube,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.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,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.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001595/0.001595, allocations: 183.3 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.771/1.771, allocations: 223.2 MB / 0.7948 GB, free: 18.84 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.0009136/0.0009136, allocations: 102.7 kB / 0.9346 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003854, allocations: 8.438 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3388, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.585, allocations: 424.4 MB / 1.637 GB, free: 8.516 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003471/1.585, allocations: 129 kB / 1.638 GB, free: 8.438 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.794/3.379, allocations: 492.8 MB / 2.119 GB, free: 191.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.174e-06/3.379, allocations: 0 / 2.119 GB, free: 191.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002117/3.379, allocations: 47.92 kB / 2.119 GB, free: 191.7 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.005466/3.385, allocations: 2.261 MB / 2.121 GB, free: 189.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/3.385, allocations: 16.03 kB / 2.121 GB, free: 189.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005641/3.385, allocations: 205.9 kB / 2.121 GB, free: 189.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003072/3.388, allocations: 1.735 MB / 2.123 GB, free: 187.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/3.388, allocations: 82.08 kB / 2.123 GB, free: 187.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/3.389, allocations: 108 kB / 2.123 GB, free: 187.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/3.39, allocations: 1.069 MB / 2.124 GB, free: 186.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/3.39, allocations: 4 kB / 2.124 GB, free: 186.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/3.39, allocations: 44 kB / 2.124 GB, free: 186 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/3.39, allocations: 24 kB / 2.124 GB, free: 186 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/3.391, allocations: 0.7966 MB / 2.125 GB, free: 185.2 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.006713/3.398, allocations: 6.483 MB / 2.131 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/3.399, allocations: 0.5488 MB / 2.132 GB, free: 177.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007652/3.4, allocations: 1.267 MB / 2.133 GB, free: 176 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/3.4, allocations: 43.12 kB / 2.133 GB, free: 176 MB / 1.167 GB Notification: Performance of pre-optimization done (n=68): time 2.104e-06/3.4, allocations: 0 / 2.133 GB, free: 176 MB / 1.167 GB Notification: Performance of matching and sorting (n=68): time 0.001804/3.402, allocations: 1.15 MB / 2.134 GB, free: 174.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/3.402, allocations: 85.67 kB / 2.134 GB, free: 174.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/3.403, allocations: 1.38 MB / 2.136 GB, free: 173.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.513e-05/3.403, allocations: 41.7 kB / 2.136 GB, free: 173.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/3.404, allocations: 0.7169 MB / 2.136 GB, free: 172.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/3.404, allocations: 248.4 kB / 2.137 GB, free: 172.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/3.404, allocations: 16 kB / 2.137 GB, free: 172.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.096e-05/3.404, allocations: 338 kB / 2.137 GB, free: 171.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/3.404, allocations: 265.9 kB / 2.137 GB, free: 171.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004668/3.405, allocations: 482.5 kB / 2.138 GB, free: 171.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/3.405, allocations: 358.8 kB / 2.138 GB, free: 170.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/3.405, allocations: 0 / 2.138 GB, free: 170.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001424/3.407, allocations: 0.9853 MB / 2.139 GB, free: 169.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002494/3.407, allocations: 1.359 MB / 2.14 GB, free: 168.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/3.407, allocations: 8 kB / 2.14 GB, free: 168.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/3.407, allocations: 69.67 kB / 2.14 GB, free: 168.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/3.408, allocations: 191.7 kB / 2.141 GB, free: 168 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/3.41, allocations: 2.99 MB / 2.144 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/3.411, allocations: 143 kB / 2.144 GB, free: 164.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/3.411, allocations: 39.98 kB / 2.144 GB, free: 164.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/3.411, allocations: 4 kB / 2.144 GB, free: 164.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001123/3.412, allocations: 0.8175 MB / 2.145 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/3.412, allocations: 8 kB / 2.145 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/3.412, allocations: 61.69 kB / 2.145 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/3.413, allocations: 179.7 kB / 2.145 GB, free: 163.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/3.414, allocations: 2.978 MB / 2.148 GB, free: 160.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/3.416, allocations: 135 kB / 2.148 GB, free: 160.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/3.416, allocations: 39.98 kB / 2.148 GB, free: 160.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009191/3.417, allocations: 449.3 kB / 2.148 GB, free: 159.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/3.417, allocations: 162.1 kB / 2.148 GB, free: 159.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/3.418, allocations: 0.9771 MB / 2.149 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/3.418, allocations: 12 kB / 2.149 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/3.418, allocations: 0 / 2.149 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008429/3.419, allocations: 0.781 MB / 2.15 GB, free: 157.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/3.424, allocations: 2.647 MB / 2.153 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/3.424, allocations: 4.375 kB / 2.153 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/3.424, allocations: 139.8 kB / 2.153 GB, free: 154.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/3.424, allocations: 69.69 kB / 2.153 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/3.424, allocations: 23.92 kB / 2.153 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/3.426, allocations: 2.994 MB / 2.156 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/3.426, allocations: 4 kB / 2.156 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/3.428, allocations: 1.594 MB / 2.157 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007154/3.429, allocations: 374.7 kB / 2.158 GB, free: 149.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/3.429, allocations: 23.94 kB / 2.158 GB, free: 149.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/3.429, allocations: 56.28 kB / 2.158 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.11e-05/3.43, allocations: 60.42 kB / 2.158 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/3.43, allocations: 31.98 kB / 2.158 GB, free: 149 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001502/3.431, allocations: 1.096 MB / 2.159 GB, free: 147.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.81e-07/3.431, allocations: 0 / 2.159 GB, free: 147.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003698/3.435, allocations: 1.193 MB / 2.16 GB, free: 146.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002466/3.437, allocations: 1.259 MB / 2.161 GB, free: 145.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002162/3.44, allocations: 1.661 MB / 2.163 GB, free: 143.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/3.44, allocations: 0 / 2.163 GB, free: 143.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006019/3.44, allocations: 0.5912 MB / 2.164 GB, free: 143.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003788/3.444, allocations: 0.7963 MB / 2.164 GB, free: 142.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/3.448, allocations: 3.476 MB / 2.168 GB, free: 138.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/3.449, allocations: 1.308 MB / 2.169 GB, free: 137.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001669/3.451, allocations: 360.1 kB / 2.169 GB, free: 137.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/3.451, allocations: 127.4 kB / 2.17 GB, free: 137 MB / 1.167 GB Notification: Performance of SimCode: time 7.01e-07/3.451, allocations: 0 / 2.17 GB, free: 137 MB / 1.167 GB Notification: Performance of Templates: time 0.08546/3.536, allocations: 40.18 MB / 2.209 GB, free: 97.24 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches