Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.732/2.732, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001405/0.001405, allocations: 176.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.0009046/0.0009045, allocations: 83.95 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.943e-05/3.946e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3294, allocations: 143 MB / 1.219 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.297/1.626, allocations: 425.2 MB / 1.634 GB, free: 8.551 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/1.627, allocations: 127.9 kB / 1.634 GB, free: 8.473 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.908/3.535, allocations: 491.1 MB / 2.114 GB, free: 39.02 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.043e-06/3.535, allocations: 3.938 kB / 2.114 GB, free: 39.02 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003235/3.535, allocations: 51.92 kB / 2.114 GB, free: 38.97 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.006593/3.542, allocations: 1.926 MB / 2.116 GB, free: 36.99 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.487e-05/3.542, allocations: 11.98 kB / 2.116 GB, free: 36.98 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/3.544, allocations: 217.6 kB / 2.116 GB, free: 36.76 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005193/3.549, allocations: 1.696 MB / 2.118 GB, free: 35.01 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/3.549, allocations: 86.08 kB / 2.118 GB, free: 34.93 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004105/3.549, allocations: 112 kB / 2.118 GB, free: 34.82 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/3.552, allocations: 1.05 MB / 2.119 GB, free: 33.71 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/3.552, allocations: 4 kB / 2.119 GB, free: 33.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/3.552, allocations: 44 kB / 2.119 GB, free: 33.66 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/3.552, allocations: 31.95 kB / 2.119 GB, free: 33.63 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/3.554, allocations: 0.7694 MB / 2.12 GB, free: 32.85 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.008342/3.562, allocations: 6.487 MB / 2.126 GB, free: 25.75 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/3.563, allocations: 0.5448 MB / 2.126 GB, free: 25.19 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/3.563, allocations: 339.7 kB / 2.127 GB, free: 24.86 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009081/3.564, allocations: 1.267 MB / 2.128 GB, free: 23.31 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/3.564, allocations: 43.12 kB / 2.128 GB, free: 23.26 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 3.356e-06/3.564, allocations: 0 / 2.128 GB, free: 23.26 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.001467/3.566, allocations: 0.729 MB / 2.129 GB, free: 22.52 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/3.566, allocations: 81.67 kB / 2.129 GB, free: 22.42 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/3.567, allocations: 1.356 MB / 2.13 GB, free: 21.06 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-05/3.568, allocations: 49.7 kB / 2.13 GB, free: 21 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/3.568, allocations: 0.713 MB / 2.131 GB, free: 20.28 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/3.568, allocations: 244.5 kB / 2.131 GB, free: 20.04 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/3.568, allocations: 16 kB / 2.131 GB, free: 20.02 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/3.568, allocations: 334 kB / 2.131 GB, free: 19.69 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/3.569, allocations: 266 kB / 2.132 GB, free: 19.43 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/3.569, allocations: 484.9 kB / 2.132 GB, free: 18.88 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004821/3.57, allocations: 343.9 kB / 2.133 GB, free: 18.55 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/3.57, allocations: 0 / 2.133 GB, free: 18.55 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00148/3.571, allocations: 0.9644 MB / 2.133 GB, free: 17.57 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003157/3.572, allocations: 1.355 MB / 2.135 GB, free: 16.09 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/3.572, allocations: 4 kB / 2.135 GB, free: 16.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002988/3.572, allocations: 81.62 kB / 2.135 GB, free: 16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/3.573, allocations: 175.8 kB / 2.135 GB, free: 15.83 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/3.574, allocations: 2.974 MB / 2.138 GB, free: 12.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/3.576, allocations: 142.9 kB / 2.138 GB, free: 12.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.008e-05/3.576, allocations: 39.98 kB / 2.138 GB, free: 12.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/3.576, allocations: 4 kB / 2.138 GB, free: 12.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001206/3.577, allocations: 0.8006 MB / 2.139 GB, free: 11.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/3.577, allocations: 8 kB / 2.139 GB, free: 11.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/3.577, allocations: 61.69 kB / 2.139 GB, free: 11.52 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005628/3.578, allocations: 183.9 kB / 2.139 GB, free: 11.34 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/3.579, allocations: 2.954 MB / 2.142 GB, free: 8.121 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/3.581, allocations: 135.1 kB / 2.142 GB, free: 7.988 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.672e-05/3.581, allocations: 39.98 kB / 2.142 GB, free: 7.949 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.0002443/3.581, allocations: 148.8 kB / 2.142 GB, free: 7.797 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/3.581, allocations: 162 kB / 2.142 GB, free: 7.637 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/3.583, allocations: 0.966 MB / 2.143 GB, free: 6.652 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/3.583, allocations: 8 kB / 2.143 GB, free: 6.645 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/3.583, allocations: 7.953 kB / 2.143 GB, free: 6.637 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000888/3.584, allocations: 0.7623 MB / 2.144 GB, free: 5.84 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/3.589, allocations: 2.641 MB / 2.147 GB, free: 3.055 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/3.589, allocations: 8.031 kB / 2.147 GB, free: 3.047 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/3.589, allocations: 139.8 kB / 2.147 GB, free: 2.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002339/3.589, allocations: 69.62 kB / 2.147 GB, free: 2.836 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.955e-05/3.59, allocations: 23.98 kB / 2.147 GB, free: 2.812 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9287/4.518, allocations: 2.969 MB / 2.15 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/4.518, allocations: 6.344 kB / 2.15 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003346/4.522, allocations: 1.574 MB / 2.151 GB, free: 232.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/4.523, allocations: 377.6 kB / 2.152 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/4.523, allocations: 18.31 kB / 2.152 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008595/4.524, allocations: 56.95 kB / 2.152 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/4.524, allocations: 62.55 kB / 2.152 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.945e-05/4.524, allocations: 28.95 kB / 2.152 GB, free: 232.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00216/4.526, allocations: 1.073 MB / 2.153 GB, free: 232.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.71e-07/4.526, allocations: 0.9688 kB / 2.153 GB, free: 232.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005133/4.531, allocations: 1.204 MB / 2.154 GB, free: 232.1 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.003607/4.535, allocations: 1.26 MB / 2.155 GB, free: 232 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003408/4.539, allocations: 1.689 MB / 2.157 GB, free: 231.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/4.539, allocations: 1.562 kB / 2.157 GB, free: 231.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009503/4.54, allocations: 0.5892 MB / 2.158 GB, free: 231.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005346/4.545, allocations: 0.7991 MB / 2.158 GB, free: 231.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/4.55, allocations: 2.299 MB / 2.161 GB, free: 230.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/4.551, allocations: 1.313 MB / 2.162 GB, free: 229.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002943/4.554, allocations: 0.4942 MB / 2.162 GB, free: 229.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/4.555, allocations: 103.2 kB / 2.163 GB, free: 229.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.533e-06/4.555, allocations: 1.344 kB / 2.163 GB, free: 229.8 MB / 1.151 GB Notification: Performance of Templates: time 0.1079/4.662, allocations: 43.69 MB / 2.205 GB, free: 228.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches