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.355/2.355, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001173/0.001173, allocations: 178.8 kB / 0.4902 GB, free: 2.258 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.572/1.572, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.001013/0.001013, allocations: 108.1 kB / 0.9396 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.000385, allocations: 10.41 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.31, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/1.531, allocations: 425.2 MB / 1.645 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000422/1.531, allocations: 131 kB / 1.645 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.733/3.265, allocations: 492.8 MB / 2.126 GB, free: 197.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.645e-06/3.265, allocations: 0 / 2.126 GB, free: 197.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001531/3.265, allocations: 47.92 kB / 2.126 GB, free: 197.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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.005243/3.27, allocations: 2.264 MB / 2.128 GB, free: 195.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/3.27, allocations: 12.02 kB / 2.128 GB, free: 195.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000554/3.271, allocations: 209.9 kB / 2.128 GB, free: 195.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/3.274, allocations: 1.727 MB / 2.13 GB, free: 193.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/3.274, allocations: 78.08 kB / 2.13 GB, free: 193.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/3.274, allocations: 119.9 kB / 2.13 GB, free: 193.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/3.276, allocations: 1.069 MB / 2.131 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/3.276, allocations: 0 / 2.131 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.303e-05/3.276, allocations: 47.94 kB / 2.131 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/3.276, allocations: 28 kB / 2.131 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/3.278, allocations: 0.7965 MB / 2.132 GB, free: 191.4 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.007071/3.285, allocations: 6.483 MB / 2.138 GB, free: 184.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008103/3.286, allocations: 0.5526 MB / 2.139 GB, free: 183.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008663/3.286, allocations: 1.271 MB / 2.14 GB, free: 182.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/3.286, allocations: 35.12 kB / 2.14 GB, free: 182.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=68): time 3.136e-06/3.286, allocations: 8 kB / 2.14 GB, free: 182.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=68): time 0.001896/3.288, allocations: 1.15 MB / 2.141 GB, free: 180.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/3.288, allocations: 81.67 kB / 2.141 GB, free: 180.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/3.29, allocations: 1.376 MB / 2.143 GB, free: 179.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.237e-05/3.29, allocations: 41.7 kB / 2.143 GB, free: 179.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/3.291, allocations: 0.7208 MB / 2.144 GB, free: 178.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/3.291, allocations: 244.5 kB / 2.144 GB, free: 178.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/3.291, allocations: 20 kB / 2.144 GB, free: 178.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/3.291, allocations: 334 kB / 2.144 GB, free: 178 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/3.292, allocations: 273.8 kB / 2.144 GB, free: 177.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/3.292, allocations: 485.1 kB / 2.145 GB, free: 177.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/3.293, allocations: 347.1 kB / 2.145 GB, free: 176.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/3.293, allocations: 11.94 kB / 2.145 GB, free: 176.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001654/3.294, allocations: 0.9816 MB / 2.146 GB, free: 175.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003777/3.295, allocations: 1.357 MB / 2.147 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/3.295, allocations: 11.92 kB / 2.147 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003391/3.295, allocations: 73.69 kB / 2.148 GB, free: 174.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/3.296, allocations: 175.7 kB / 2.148 GB, free: 174.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/3.298, allocations: 2.99 MB / 2.151 GB, free: 170.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/3.299, allocations: 150.8 kB / 2.151 GB, free: 170.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/3.299, allocations: 39.98 kB / 2.151 GB, free: 170.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/3.3, allocations: 4 kB / 2.151 GB, free: 170.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00132/3.301, allocations: 0.8174 MB / 2.152 GB, free: 169.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/3.301, allocations: 4.438 kB / 2.152 GB, free: 169.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/3.301, allocations: 73.62 kB / 2.152 GB, free: 169.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/3.302, allocations: 175.8 kB / 2.152 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/3.304, allocations: 2.977 MB / 2.155 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/3.305, allocations: 127.1 kB / 2.155 GB, free: 166.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/3.305, allocations: 35.98 kB / 2.155 GB, free: 166.2 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.001357/3.307, allocations: 449.6 kB / 2.155 GB, free: 165.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004365/3.307, allocations: 166 kB / 2.156 GB, free: 165.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/3.309, allocations: 0.9809 MB / 2.156 GB, free: 164.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/3.309, allocations: 8 kB / 2.156 GB, free: 164.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/3.309, allocations: 4 kB / 2.156 GB, free: 164.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001003/3.31, allocations: 0.7888 MB / 2.157 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/3.315, allocations: 2.643 MB / 2.16 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/3.315, allocations: 0 / 2.16 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/3.315, allocations: 139.8 kB / 2.16 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/3.316, allocations: 70.06 kB / 2.16 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/3.316, allocations: 27.98 kB / 2.16 GB, free: 160.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/3.318, allocations: 2.982 MB / 2.163 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/3.318, allocations: 12 kB / 2.163 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/3.32, allocations: 1.59 MB / 2.165 GB, free: 155.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009939/3.321, allocations: 374.7 kB / 2.165 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004858/3.321, allocations: 19.95 kB / 2.165 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/3.322, allocations: 63.8 kB / 2.165 GB, free: 155.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/3.322, allocations: 56.36 kB / 2.165 GB, free: 155.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/3.323, allocations: 35.98 kB / 2.165 GB, free: 155.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002144/3.325, allocations: 1.088 MB / 2.166 GB, free: 154.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.91e-07/3.325, allocations: 0 / 2.166 GB, free: 154.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004874/3.33, allocations: 1.209 MB / 2.167 GB, free: 152.8 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.003662/3.333, allocations: 1.266 MB / 2.169 GB, free: 151.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002771/3.336, allocations: 1.665 MB / 2.17 GB, free: 149.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/3.336, allocations: 0 / 2.17 GB, free: 149.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007361/3.337, allocations: 0.5943 MB / 2.171 GB, free: 149.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004473/3.341, allocations: 0.799 MB / 2.172 GB, free: 148.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/3.348, allocations: 3.465 MB / 2.175 GB, free: 144.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/3.349, allocations: 1.305 MB / 2.176 GB, free: 143.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002045/3.351, allocations: 369 kB / 2.177 GB, free: 143.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004904/3.352, allocations: 127.4 kB / 2.177 GB, free: 143.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.913e-06/3.352, allocations: 0 / 2.177 GB, free: 143.1 MB / 1.167 GB Notification: Performance of Templates: time 0.06376/3.415, allocations: 40.19 MB / 2.216 GB, free: 103.3 MB / 1.167 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