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.288/2.288, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001054/0.001054, allocations: 180.9 kB / 492.3 MB, free: 0.6094 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.499/1.499, allocations: 221.3 MB / 0.7872 GB, free: 12.96 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.0008579/0.0008578, allocations: 90.58 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.81e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3165, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.32/1.636, allocations: 424.4 MB / 1.627 GB, free: 5.211 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004262/1.637, allocations: 121.8 kB / 1.627 GB, free: 5.141 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.941/3.578, allocations: 491.1 MB / 2.107 GB, free: 91.61 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.264e-06/3.578, allocations: 0 / 2.107 GB, free: 91.61 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003116/3.578, allocations: 51.92 kB / 2.107 GB, free: 91.55 MB / 1.151 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.006032/3.584, allocations: 1.942 MB / 2.108 GB, free: 89.56 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/3.584, allocations: 8.031 kB / 2.108 GB, free: 89.55 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/3.586, allocations: 210 kB / 2.109 GB, free: 89.34 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00469/3.59, allocations: 1.708 MB / 2.11 GB, free: 87.58 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.593e-05/3.59, allocations: 78.08 kB / 2.11 GB, free: 87.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003466/3.591, allocations: 112 kB / 2.111 GB, free: 87.39 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/3.593, allocations: 1.046 MB / 2.112 GB, free: 86.29 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/3.593, allocations: 4 kB / 2.112 GB, free: 86.29 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/3.593, allocations: 51.88 kB / 2.112 GB, free: 86.23 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/3.593, allocations: 24 kB / 2.112 GB, free: 86.21 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/3.595, allocations: 0.7772 MB / 2.112 GB, free: 85.43 MB / 1.151 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.009716/3.605, allocations: 6.483 MB / 2.119 GB, free: 78.32 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009031/3.606, allocations: 0.541 MB / 2.119 GB, free: 77.77 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004601/3.606, allocations: 339.7 kB / 2.12 GB, free: 77.43 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000891/3.607, allocations: 1.271 MB / 2.121 GB, free: 75.88 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/3.607, allocations: 43.11 kB / 2.121 GB, free: 75.83 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 4.338e-06/3.607, allocations: 0 / 2.121 GB, free: 75.83 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.001788/3.609, allocations: 0.7174 MB / 2.122 GB, free: 75.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/3.609, allocations: 85.67 kB / 2.122 GB, free: 75 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/3.612, allocations: 1.356 MB / 2.123 GB, free: 73.64 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/3.612, allocations: 45.7 kB / 2.123 GB, free: 73.59 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006977/3.613, allocations: 0.7208 MB / 2.124 GB, free: 72.86 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000263/3.613, allocations: 240.4 kB / 2.124 GB, free: 72.62 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/3.613, allocations: 16 kB / 2.124 GB, free: 72.61 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001094/3.613, allocations: 341.9 kB / 2.124 GB, free: 72.27 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/3.614, allocations: 258 kB / 2.125 GB, free: 72.01 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/3.614, allocations: 483 kB / 2.125 GB, free: 71.46 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/3.615, allocations: 348.1 kB / 2.125 GB, free: 71.12 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/3.615, allocations: 4 kB / 2.125 GB, free: 71.12 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001869/3.617, allocations: 0.9606 MB / 2.126 GB, free: 70.14 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003428/3.617, allocations: 1.359 MB / 2.128 GB, free: 68.67 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-05/3.617, allocations: 4 kB / 2.128 GB, free: 68.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/3.618, allocations: 73.69 kB / 2.128 GB, free: 68.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006342/3.618, allocations: 183.7 kB / 2.128 GB, free: 68.41 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/3.62, allocations: 2.974 MB / 2.131 GB, free: 65.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/3.622, allocations: 139 kB / 2.131 GB, free: 65.03 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/3.622, allocations: 39.98 kB / 2.131 GB, free: 64.99 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/3.622, allocations: 7.938 kB / 2.131 GB, free: 64.98 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001231/3.623, allocations: 0.7929 MB / 2.132 GB, free: 64.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/3.623, allocations: 8 kB / 2.132 GB, free: 64.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001273/3.624, allocations: 69.62 kB / 2.132 GB, free: 64.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/3.624, allocations: 172.1 kB / 2.132 GB, free: 63.93 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/3.626, allocations: 2.961 MB / 2.135 GB, free: 60.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/3.627, allocations: 135 kB / 2.135 GB, free: 60.57 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/3.627, allocations: 39.98 kB / 2.135 GB, free: 60.53 MB / 1.151 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 () * 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.0002421/3.628, allocations: 156.6 kB / 2.135 GB, free: 60.37 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004914/3.628, allocations: 158 kB / 2.135 GB, free: 60.21 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/3.63, allocations: 0.966 MB / 2.136 GB, free: 59.23 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/3.63, allocations: 8 kB / 2.136 GB, free: 59.22 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/3.63, allocations: 0 / 2.136 GB, free: 59.22 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009546/3.631, allocations: 0.774 MB / 2.137 GB, free: 58.41 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/3.636, allocations: 2.637 MB / 2.14 GB, free: 55.63 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/3.636, allocations: 4 kB / 2.14 GB, free: 55.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/3.637, allocations: 135.8 kB / 2.14 GB, free: 55.49 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002353/3.637, allocations: 65.69 kB / 2.14 GB, free: 55.42 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-05/3.637, allocations: 24 kB / 2.14 GB, free: 55.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/3.639, allocations: 2.971 MB / 2.143 GB, free: 52.16 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/3.639, allocations: 7.938 kB / 2.143 GB, free: 52.15 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/3.641, allocations: 1.572 MB / 2.144 GB, free: 50.41 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009629/3.642, allocations: 378.7 kB / 2.145 GB, free: 50.02 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005225/3.642, allocations: 23.98 kB / 2.145 GB, free: 49.99 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/3.643, allocations: 59.8 kB / 2.145 GB, free: 49.93 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/3.643, allocations: 60.42 kB / 2.145 GB, free: 49.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.405e-05/3.643, allocations: 35.92 kB / 2.145 GB, free: 49.84 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002003/3.645, allocations: 1.076 MB / 2.146 GB, free: 48.77 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.01e-07/3.645, allocations: 0 / 2.146 GB, free: 48.77 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005064/3.651, allocations: 1.193 MB / 2.147 GB, free: 47.57 MB / 1.151 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 () * 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.00397/3.654, allocations: 1.254 MB / 2.148 GB, free: 46.33 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002767/3.657, allocations: 1.691 MB / 2.15 GB, free: 44.57 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/3.657, allocations: 4 kB / 2.15 GB, free: 44.57 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00072/3.658, allocations: 0.584 MB / 2.15 GB, free: 43.96 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004475/3.663, allocations: 0.7993 MB / 2.151 GB, free: 43.17 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005052/3.668, allocations: 2.303 MB / 2.153 GB, free: 40.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/3.669, allocations: 1.315 MB / 2.155 GB, free: 39.45 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002787/3.672, allocations: 0.5011 MB / 2.155 GB, free: 38.95 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/3.672, allocations: 99.41 kB / 2.155 GB, free: 38.86 MB / 1.151 GB Notification: Performance of SimCode: time 1.082e-06/3.672, allocations: 0 / 2.155 GB, free: 38.86 MB / 1.151 GB Notification: Performance of Templates: time 0.8875/4.559, allocations: 43.68 MB / 2.198 GB, free: 239.5 MB / 1.151 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