Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 252 MB / 266.9 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 175.9 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008612/0.0008612, allocations: 99.91 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.000312, allocations: 11.75 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1993, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8609/1.06, allocations: 422.9 MB / 1.313 GB, free: 8.816 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/1.061, allocations: 129.2 kB / 1.313 GB, free: 8.738 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.41/4.47, allocations: 1.025 GB / 2.338 GB, free: 63.91 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.693e-06/4.47, allocations: 0 / 2.338 GB, free: 63.91 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000259/4.471, allocations: 79.91 kB / 2.338 GB, free: 63.83 MB / 0.8855 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.008878/4.48, allocations: 3.591 MB / 2.342 GB, free: 60.16 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/4.48, allocations: 8.562 kB / 2.342 GB, free: 60.15 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/4.481, allocations: 375.8 kB / 2.342 GB, free: 59.78 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00619/4.487, allocations: 2.928 MB / 2.345 GB, free: 56.79 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/4.488, allocations: 161.2 kB / 2.345 GB, free: 56.63 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/4.488, allocations: 216 kB / 2.345 GB, free: 56.42 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003371/4.491, allocations: 2.116 MB / 2.347 GB, free: 54.19 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.671e-05/4.491, allocations: 13.62 kB / 2.347 GB, free: 54.18 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002088/4.492, allocations: 84 kB / 2.347 GB, free: 54.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/4.492, allocations: 48 kB / 2.347 GB, free: 54.05 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/4.494, allocations: 1.616 MB / 2.349 GB, free: 52.42 MB / 0.8855 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.01102/4.505, allocations: 8.846 MB / 2.358 GB, free: 43.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/4.506, allocations: 1.349 MB / 2.359 GB, free: 41.88 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/4.508, allocations: 2.922 MB / 2.362 GB, free: 38.31 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/4.508, allocations: 55.83 kB / 2.362 GB, free: 38.25 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=148): time 4.94e-06/4.508, allocations: 3.469 kB / 2.362 GB, free: 38.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=148): time 0.004294/4.513, allocations: 2.708 MB / 2.364 GB, free: 35.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.992e-05/4.513, allocations: 94.42 kB / 2.364 GB, free: 35.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/4.515, allocations: 2.023 MB / 2.366 GB, free: 33.26 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/4.516, allocations: 53.7 kB / 2.367 GB, free: 33.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007339/4.516, allocations: 1.205 MB / 2.368 GB, free: 31.98 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003887/4.517, allocations: 0.516 MB / 2.368 GB, free: 31.46 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/4.517, allocations: 28 kB / 2.368 GB, free: 31.43 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001031/4.517, allocations: 369.9 kB / 2.369 GB, free: 31.06 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000711/4.518, allocations: 0.5271 MB / 2.369 GB, free: 30.54 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008724/4.518, allocations: 0.8931 MB / 2.37 GB, free: 29.51 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008504/4.519, allocations: 0.6843 MB / 2.371 GB, free: 28.83 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/4.519, allocations: 8 kB / 2.371 GB, free: 28.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.002805/4.522, allocations: 1.974 MB / 2.373 GB, free: 26.82 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004424/4.523, allocations: 2.724 MB / 2.375 GB, free: 23.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/4.523, allocations: 8 kB / 2.375 GB, free: 23.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/4.523, allocations: 224.9 kB / 2.375 GB, free: 23.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/4.524, allocations: 355.5 kB / 2.376 GB, free: 23.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003504/4.528, allocations: 7.086 MB / 2.383 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/4.53, allocations: 277.6 kB / 2.383 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/4.53, allocations: 71.97 kB / 2.383 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/4.53, allocations: 4 kB / 2.383 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002496/4.533, allocations: 1.699 MB / 2.385 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/4.533, allocations: 11.98 kB / 2.385 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/4.533, allocations: 213.5 kB / 2.385 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/4.534, allocations: 351.5 kB / 2.385 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004816/4.539, allocations: 9.04 MB / 2.394 GB, free: 3.145 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/4.542, allocations: 266.2 kB / 2.394 GB, free: 2.883 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/4.542, allocations: 71.98 kB / 2.394 GB, free: 2.812 MB / 0.8855 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 () * Number of clocked 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.001507/4.544, allocations: 0.6374 MB / 2.395 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005809/4.544, allocations: 260.8 kB / 2.395 GB, free: 1.906 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00307/4.547, allocations: 2.038 MB / 2.397 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/4.547, allocations: 19.98 kB / 2.397 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/4.547, allocations: 4 kB / 2.397 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002506/4.55, allocations: 1.666 MB / 2.399 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008566/4.559, allocations: 4.516 MB / 2.403 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/4.559, allocations: 0 / 2.403 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/4.56, allocations: 271.7 kB / 2.404 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005198/4.56, allocations: 216.8 kB / 2.404 GB, free: 8.961 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.552e-05/4.56, allocations: 43.98 kB / 2.404 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004992/4.565, allocations: 7.089 MB / 2.411 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/4.565, allocations: 3.938 kB / 2.411 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004707/4.57, allocations: 2.776 MB / 2.413 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/4.572, allocations: 0.5754 MB / 2.414 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005291/4.572, allocations: 36 kB / 2.414 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/4.574, allocations: 151.6 kB / 2.414 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/4.574, allocations: 105.1 kB / 2.414 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/4.574, allocations: 55.97 kB / 2.414 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002593/4.577, allocations: 1.554 MB / 2.416 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.51e-07/4.577, allocations: 0 / 2.416 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00696/4.584, allocations: 1.992 MB / 2.418 GB, free: 9.906 MB / 0.9167 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 () * Number of clocked 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.00413/4.588, allocations: 1.766 MB / 2.42 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005314/4.593, allocations: 3.589 MB / 2.423 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/4.593, allocations: 0 / 2.423 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/4.595, allocations: 1.246 MB / 2.424 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006811/4.602, allocations: 1.339 MB / 2.426 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5026/5.104, allocations: 6.095 MB / 2.432 GB, free: 111 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/5.106, allocations: 1.793 MB / 2.433 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003098/5.109, allocations: 0.5849 MB / 2.434 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/5.11, allocations: 210.6 kB / 2.434 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.383e-06/5.11, allocations: 0 / 2.434 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.1038/5.213, allocations: 64.94 MB / 2.497 GB, free: 107.6 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches