Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.vol1.heatPort.Q_flow|hex.vol2.heatPort.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.vol1.heatPort.Q_flow|hex.vol2.heatPort.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 249.5 MB / 257 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 172.9 kB / 316.3 MB, free: 3.23 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.518/1.518, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0009169/0.0009169, allocations: 81.3 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.847e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2083, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.505/1.714, allocations: 414.3 MB / 1.29 GB, free: 260.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/1.714, allocations: 102.5 kB / 1.29 GB, free: 260.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.481/3.195, allocations: 0.5358 GB / 1.826 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.793e-06/3.195, allocations: 0 / 1.826 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001098/3.195, allocations: 35.67 kB / 1.826 GB, free: 102.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00237/3.198, allocations: 1.411 MB / 1.827 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/3.198, allocations: 8.562 kB / 1.827 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/3.198, allocations: 154.2 kB / 1.827 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/3.2, allocations: 1.373 MB / 1.829 GB, free: 99.82 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/3.2, allocations: 32.62 kB / 1.829 GB, free: 99.79 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-05/3.2, allocations: 52 kB / 1.829 GB, free: 99.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008883/3.201, allocations: 0.5551 MB / 1.829 GB, free: 99.18 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009874/3.202, allocations: 0.7373 MB / 1.83 GB, free: 98.41 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/3.202, allocations: 7.906 kB / 1.83 GB, free: 98.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/3.202, allocations: 0 / 1.83 GB, free: 98.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/3.202, allocations: 20 kB / 1.83 GB, free: 98.38 MB / 0.8698 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.003793/3.206, allocations: 4.152 MB / 1.834 GB, free: 93.99 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/3.207, allocations: 495.4 kB / 1.834 GB, free: 93.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/3.207, allocations: 306.3 kB / 1.835 GB, free: 93.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004761/3.208, allocations: 0.6018 MB / 1.835 GB, free: 92.47 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/3.208, allocations: 39.12 kB / 1.835 GB, free: 92.42 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 2.144e-06/3.208, allocations: 0 / 1.835 GB, free: 92.42 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.001263/3.209, allocations: 0.6261 MB / 1.836 GB, free: 91.78 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/3.209, allocations: 63.89 kB / 1.836 GB, free: 91.71 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/3.21, allocations: 0.7002 MB / 1.837 GB, free: 91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/3.21, allocations: 29.81 kB / 1.837 GB, free: 90.97 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/3.21, allocations: 0.5227 MB / 1.837 GB, free: 90.44 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/3.21, allocations: 193.1 kB / 1.837 GB, free: 90.25 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/3.21, allocations: 0 / 1.837 GB, free: 90.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.805e-05/3.21, allocations: 333.9 kB / 1.838 GB, free: 89.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/3.211, allocations: 181.5 kB / 1.838 GB, free: 89.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/3.211, allocations: 372.9 kB / 1.838 GB, free: 89.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/3.211, allocations: 296.1 kB / 1.839 GB, free: 89 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/3.211, allocations: 4 kB / 1.839 GB, free: 89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00128/3.213, allocations: 0.7783 MB / 1.839 GB, free: 88.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002271/3.213, allocations: 1.312 MB / 1.841 GB, free: 86.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/3.213, allocations: 15.88 kB / 1.841 GB, free: 86.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003215/3.213, allocations: 123.4 kB / 1.841 GB, free: 86.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/3.214, allocations: 123.8 kB / 1.841 GB, free: 86.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/3.216, allocations: 4.687 MB / 1.845 GB, free: 81.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008844/3.217, allocations: 91.38 kB / 1.846 GB, free: 81.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/3.217, allocations: 31.98 kB / 1.846 GB, free: 81.34 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/3.217, allocations: 4 kB / 1.846 GB, free: 81.34 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001205/3.218, allocations: 0.6451 MB / 1.846 GB, free: 80.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/3.218, allocations: 8 kB / 1.846 GB, free: 80.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002423/3.218, allocations: 115.3 kB / 1.846 GB, free: 80.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/3.219, allocations: 131.8 kB / 1.846 GB, free: 80.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/3.222, allocations: 5.607 MB / 1.852 GB, free: 74.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008566/3.223, allocations: 87.39 kB / 1.852 GB, free: 74.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/3.223, allocations: 31.92 kB / 1.852 GB, free: 74.23 MB / 0.8698 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 (71): * Single equations (assignments): 66 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001734/3.223, allocations: 125.7 kB / 1.852 GB, free: 74.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/3.223, allocations: 90.88 kB / 1.852 GB, free: 74.01 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/3.224, allocations: 0.6906 MB / 1.853 GB, free: 73.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/3.224, allocations: 4 kB / 1.853 GB, free: 73.29 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/3.224, allocations: 4 kB / 1.853 GB, free: 73.29 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008527/3.225, allocations: 0.6416 MB / 1.854 GB, free: 72.61 MB / 0.8698 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 postOpt removeSimpleEquations (simulation): time 0.002277/3.227, allocations: 1.719 MB / 1.855 GB, free: 70.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/3.227, allocations: 3.938 kB / 1.855 GB, free: 70.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/3.228, allocations: 87.89 kB / 1.855 GB, free: 70.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/3.228, allocations: 103.5 kB / 1.855 GB, free: 70.62 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/3.228, allocations: 8 kB / 1.855 GB, free: 70.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/3.23, allocations: 4.662 MB / 1.86 GB, free: 65.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/3.23, allocations: 7.922 kB / 1.86 GB, free: 65.58 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/3.231, allocations: 1.071 MB / 1.861 GB, free: 64.45 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/3.232, allocations: 259.7 kB / 1.861 GB, free: 64.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/3.232, allocations: 8 kB / 1.861 GB, free: 64.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/3.232, allocations: 55.78 kB / 1.861 GB, free: 64.11 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/3.232, allocations: 48.45 kB / 1.861 GB, free: 64.06 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/3.233, allocations: 20 kB / 1.861 GB, free: 64.04 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005609/3.233, allocations: 0.5343 MB / 1.862 GB, free: 63.52 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/3.233, allocations: 0 / 1.862 GB, free: 63.52 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002339/3.235, allocations: 0.7521 MB / 1.863 GB, free: 62.76 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/3.236, allocations: 0.6735 MB / 1.863 GB, free: 62.12 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001652/3.238, allocations: 1.654 MB / 1.865 GB, free: 60.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/3.238, allocations: 0 / 1.865 GB, free: 60.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004481/3.239, allocations: 0.5734 MB / 1.866 GB, free: 59.79 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/3.241, allocations: 0.4888 MB / 1.866 GB, free: 59.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/3.243, allocations: 1.507 MB / 1.867 GB, free: 57.77 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/3.243, allocations: 1.117 MB / 1.869 GB, free: 56.62 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009763/3.244, allocations: 255.7 kB / 1.869 GB, free: 56.37 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/3.244, allocations: 63.42 kB / 1.869 GB, free: 56.3 MB / 0.8698 GB Notification: Performance of SimCode: time 3.81e-07/3.244, allocations: 0 / 1.869 GB, free: 56.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.03043/3.275, allocations: 23.41 MB / 1.892 GB, free: 33.06 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches