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.486/1.486, allocations: 249.3 MB / 261.8 MB, free: 5.82 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.001059/0.001059, allocations: 178.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009857/0.0009857, allocations: 94.45 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.437e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2142, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.459/1.673, allocations: 414 MB / 1.296 GB, free: 260 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/1.673, allocations: 103.8 kB / 1.296 GB, free: 260 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.477/3.15, allocations: 0.5385 GB / 1.835 GB, free: 92.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.102e-06/3.15, allocations: 0 / 1.835 GB, free: 92.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.799e-05/3.15, allocations: 35.92 kB / 1.835 GB, free: 92.69 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.002017/3.152, allocations: 1.407 MB / 1.836 GB, free: 91.23 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/3.152, allocations: 12.03 kB / 1.836 GB, free: 91.22 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003252/3.152, allocations: 150.3 kB / 1.836 GB, free: 91.07 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/3.155, allocations: 1.374 MB / 1.838 GB, free: 89.66 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/3.155, allocations: 74.69 kB / 1.838 GB, free: 89.59 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/3.155, allocations: 95.91 kB / 1.838 GB, free: 89.49 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/3.156, allocations: 0.8511 MB / 1.839 GB, free: 88.61 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/3.156, allocations: 4 kB / 1.839 GB, free: 88.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.511e-05/3.156, allocations: 39.95 kB / 1.839 GB, free: 88.56 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/3.156, allocations: 24 kB / 1.839 GB, free: 88.54 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008136/3.157, allocations: 0.6052 MB / 1.839 GB, free: 87.94 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.003584/3.16, allocations: 4.316 MB / 1.843 GB, free: 83.33 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007415/3.161, allocations: 0.5013 MB / 1.844 GB, free: 82.81 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/3.162, allocations: 318.2 kB / 1.844 GB, free: 82.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004699/3.162, allocations: 0.6066 MB / 1.845 GB, free: 81.77 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/3.162, allocations: 47.05 kB / 1.845 GB, free: 81.71 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 2.304e-06/3.162, allocations: 0 / 1.845 GB, free: 81.71 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.001059/3.163, allocations: 0.6259 MB / 1.846 GB, free: 81.06 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/3.163, allocations: 59.97 kB / 1.846 GB, free: 80.99 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/3.164, allocations: 0.7927 MB / 1.846 GB, free: 80.18 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/3.164, allocations: 37.7 kB / 1.846 GB, free: 80.13 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/3.164, allocations: 0.5113 MB / 1.847 GB, free: 79.61 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/3.164, allocations: 205 kB / 1.847 GB, free: 79.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/3.164, allocations: 12 kB / 1.847 GB, free: 79.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.378e-05/3.165, allocations: 334 kB / 1.847 GB, free: 79.07 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/3.165, allocations: 189.5 kB / 1.848 GB, free: 78.88 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/3.165, allocations: 389.7 kB / 1.848 GB, free: 78.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/3.165, allocations: 259.6 kB / 1.848 GB, free: 78.18 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/3.165, allocations: 4 kB / 1.848 GB, free: 78.17 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001/3.166, allocations: 0.7937 MB / 1.849 GB, free: 77.36 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002122/3.167, allocations: 1.316 MB / 1.85 GB, free: 75.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/3.167, allocations: 4 kB / 1.85 GB, free: 75.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/3.167, allocations: 139.3 kB / 1.85 GB, free: 75.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/3.167, allocations: 135.8 kB / 1.851 GB, free: 75.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/3.17, allocations: 4.811 MB / 1.855 GB, free: 70.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008263/3.171, allocations: 115.3 kB / 1.855 GB, free: 70.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/3.171, allocations: 24 kB / 1.855 GB, free: 70.28 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.715e-06/3.171, allocations: 4.109 kB / 1.855 GB, free: 70.27 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009371/3.172, allocations: 0.6798 MB / 1.856 GB, free: 69.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/3.172, allocations: 8 kB / 1.856 GB, free: 69.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/3.172, allocations: 119.7 kB / 1.856 GB, free: 69.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/3.172, allocations: 127.8 kB / 1.856 GB, free: 69.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/3.175, allocations: 5.818 MB / 1.862 GB, free: 62.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008352/3.176, allocations: 107.4 kB / 1.862 GB, free: 62.85 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/3.176, allocations: 31.98 kB / 1.862 GB, free: 62.82 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.0001643/3.176, allocations: 148.8 kB / 1.862 GB, free: 62.67 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/3.176, allocations: 99.02 kB / 1.862 GB, free: 62.57 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/3.177, allocations: 0.7189 MB / 1.863 GB, free: 61.83 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/3.177, allocations: 11.95 kB / 1.863 GB, free: 61.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/3.177, allocations: 0 / 1.863 GB, free: 61.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007055/3.178, allocations: 0.6533 MB / 1.864 GB, free: 61.12 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.002206/3.18, allocations: 1.843 MB / 1.865 GB, free: 59.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/3.18, allocations: 8 kB / 1.865 GB, free: 59.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/3.181, allocations: 87.89 kB / 1.866 GB, free: 59.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/3.181, allocations: 127.4 kB / 1.866 GB, free: 58.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/3.181, allocations: 19.95 kB / 1.866 GB, free: 58.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/3.183, allocations: 4.811 MB / 1.87 GB, free: 53.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/3.183, allocations: 3.984 kB / 1.87 GB, free: 53.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/3.184, allocations: 1.112 MB / 1.871 GB, free: 52.52 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000481/3.185, allocations: 267.7 kB / 1.872 GB, free: 52.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/3.185, allocations: 15.95 kB / 1.872 GB, free: 52.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005737/3.186, allocations: 63.84 kB / 1.872 GB, free: 52.16 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/3.186, allocations: 40.45 kB / 1.872 GB, free: 52.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/3.186, allocations: 23.98 kB / 1.872 GB, free: 52.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007728/3.186, allocations: 0.618 MB / 1.872 GB, free: 51.46 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/3.186, allocations: 0 / 1.872 GB, free: 51.46 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002363/3.189, allocations: 0.7679 MB / 1.873 GB, free: 50.7 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.001126/3.19, allocations: 0.6704 MB / 1.874 GB, free: 50.02 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001859/3.192, allocations: 1.749 MB / 1.876 GB, free: 48.16 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/3.192, allocations: 3.938 kB / 1.876 GB, free: 48.16 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005173/3.192, allocations: 0.6089 MB / 1.876 GB, free: 47.51 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/3.195, allocations: 0.546 MB / 1.877 GB, free: 46.96 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/3.197, allocations: 1.557 MB / 1.878 GB, free: 45.37 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/3.197, allocations: 1.114 MB / 1.879 GB, free: 44.23 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001052/3.198, allocations: 284.2 kB / 1.88 GB, free: 43.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/3.199, allocations: 63.44 kB / 1.88 GB, free: 43.88 MB / 0.8698 GB Notification: Performance of SimCode: time 5.71e-07/3.199, allocations: 4 kB / 1.88 GB, free: 43.88 MB / 0.8698 GB Notification: Performance of Templates: time 0.03474/3.233, allocations: 27.67 MB / 1.907 GB, free: 16.34 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