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.InternalHEXOneUTube.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.InternalHEXOneUTube,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.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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.00106/0.00106, allocations: 184.4 kB / 326.5 MB, free: 2.246 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.683/1.683, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0008681/0.0008682, allocations: 98.47 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003242, allocations: 8.938 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.215, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8298/1.045, allocations: 405.9 MB / 1.297 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/1.045, allocations: 127 kB / 1.297 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.902/2.948, allocations: 477.3 MB / 1.763 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.284e-06/2.948, allocations: 0 / 1.763 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000289/2.948, allocations: 41.05 kB / 1.763 GB, free: 169.2 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.007405/2.955, allocations: 2.264 MB / 1.765 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/2.955, allocations: 9.719 kB / 1.765 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/2.957, allocations: 208.6 kB / 1.765 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00499/2.962, allocations: 1.709 MB / 1.767 GB, free: 168 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/2.962, allocations: 80.95 kB / 1.767 GB, free: 168 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004106/2.962, allocations: 117.8 kB / 1.767 GB, free: 168 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/2.965, allocations: 1.076 MB / 1.768 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.158e-05/2.965, allocations: 3.312 kB / 1.768 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/2.965, allocations: 44.06 kB / 1.768 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/2.965, allocations: 25 kB / 1.768 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/2.967, allocations: 0.7953 MB / 1.769 GB, free: 167.8 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.01087/2.978, allocations: 6.485 MB / 1.775 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/2.979, allocations: 0.5567 MB / 1.776 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009475/2.98, allocations: 1.265 MB / 1.777 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/2.98, allocations: 45.19 kB / 1.777 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=68): time 4.418e-06/2.98, allocations: 0 / 1.777 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=68): time 0.002136/2.982, allocations: 1.152 MB / 1.778 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/2.982, allocations: 85.48 kB / 1.778 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/2.985, allocations: 1.373 MB / 1.78 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.753e-05/2.985, allocations: 39.73 kB / 1.78 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005343/2.985, allocations: 0.7168 MB / 1.78 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/2.986, allocations: 246.5 kB / 1.781 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/2.986, allocations: 14.28 kB / 1.781 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.552e-05/2.986, allocations: 343.3 kB / 1.781 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/2.986, allocations: 273.5 kB / 1.781 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005424/2.987, allocations: 494.5 kB / 1.782 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/2.987, allocations: 355.3 kB / 1.782 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/2.987, allocations: 0 / 1.782 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001676/2.989, allocations: 0.9784 MB / 1.783 GB, free: 161 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002904/2.989, allocations: 1.353 MB / 1.784 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/2.989, allocations: 10.7 kB / 1.784 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003025/2.989, allocations: 73.41 kB / 1.784 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/2.99, allocations: 183.4 kB / 1.785 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/2.992, allocations: 2.989 MB / 1.788 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/2.993, allocations: 148.6 kB / 1.788 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/2.993, allocations: 37.84 kB / 1.788 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/2.994, allocations: 3.156 kB / 1.788 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00126/2.995, allocations: 0.8165 MB / 1.788 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/2.995, allocations: 13.14 kB / 1.788 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/2.995, allocations: 61.22 kB / 1.789 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/2.996, allocations: 181.3 kB / 1.789 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/2.997, allocations: 2.969 MB / 1.792 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/2.999, allocations: 137.5 kB / 1.792 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.635e-05/2.999, allocations: 40.41 kB / 1.792 GB, free: 154.1 MB / 0.8855 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.0009782/3, allocations: 456.8 kB / 1.792 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004526/3, allocations: 155.8 kB / 1.792 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/3.002, allocations: 0.9812 MB / 1.793 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/3.002, allocations: 13.44 kB / 1.793 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/3.002, allocations: 0 / 1.793 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009177/3.003, allocations: 0.7843 MB / 1.794 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004561/3.008, allocations: 2.637 MB / 1.797 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/3.008, allocations: 0 / 1.797 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/3.008, allocations: 138.8 kB / 1.797 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/3.008, allocations: 75.36 kB / 1.797 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.245e-05/3.008, allocations: 24.33 kB / 1.797 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/3.01, allocations: 2.995 MB / 1.8 GB, free: 150.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/3.01, allocations: 6.188 kB / 1.8 GB, free: 150.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/3.012, allocations: 1.602 MB / 1.801 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009234/3.013, allocations: 373.9 kB / 1.802 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004476/3.014, allocations: 21.69 kB / 1.802 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/3.015, allocations: 54.98 kB / 1.802 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.121e-05/3.015, allocations: 57.91 kB / 1.802 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/3.015, allocations: 37.62 kB / 1.802 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001888/3.017, allocations: 1.088 MB / 1.803 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/3.017, allocations: 0 / 1.803 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005566/3.022, allocations: 1.201 MB / 1.804 GB, free: 149 MB / 0.8855 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.004125/3.026, allocations: 1.28 MB / 1.805 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00258/3.029, allocations: 1.652 MB / 1.807 GB, free: 148.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/3.029, allocations: 0 / 1.807 GB, free: 148.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007404/3.03, allocations: 0.6003 MB / 1.808 GB, free: 148 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004088/3.034, allocations: 0.8059 MB / 1.808 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005362/3.039, allocations: 3.467 MB / 1.812 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009807/3.04, allocations: 1.304 MB / 1.813 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001647/3.042, allocations: 368.3 kB / 1.813 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/3.042, allocations: 127.2 kB / 1.814 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.412e-06/3.042, allocations: 0 / 1.814 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.06114/3.103, allocations: 40.45 MB / 1.853 GB, free: 144 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches