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.332/1.332, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001086/0.001087, allocations: 182.5 kB / 326.5 MB, free: 2.238 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.548/1.548, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009628/0.0009627, allocations: 97.55 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002888, allocations: 11.44 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1613, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8032/0.9646, allocations: 414 MB / 1.304 GB, free: 2.34 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.9649, allocations: 103.7 kB / 1.305 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.832/2.797, allocations: 0.5401 GB / 1.845 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.964e-06/2.797, allocations: 0 / 1.845 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001556/2.797, allocations: 29.97 kB / 1.845 GB, free: 206.6 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003842/2.801, allocations: 1.635 MB / 1.846 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/2.801, allocations: 11.53 kB / 1.846 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005772/2.802, allocations: 152.1 kB / 1.846 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/2.805, allocations: 1.385 MB / 1.848 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/2.805, allocations: 75.75 kB / 1.848 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/2.805, allocations: 87.59 kB / 1.848 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/2.806, allocations: 0.8732 MB / 1.849 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/2.806, allocations: 7.234 kB / 1.849 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.062e-05/2.806, allocations: 39.27 kB / 1.849 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/2.806, allocations: 23.88 kB / 1.849 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/2.807, allocations: 0.6166 MB / 1.849 GB, free: 205.2 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.004614/2.812, allocations: 4.311 MB / 1.854 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008044/2.813, allocations: 0.5264 MB / 1.854 GB, free: 203 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004829/2.813, allocations: 0.6007 MB / 1.855 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/2.813, allocations: 41.34 kB / 1.855 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 2.354e-06/2.813, allocations: 0 / 1.855 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.002008/2.815, allocations: 1.248 MB / 1.856 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/2.815, allocations: 59.47 kB / 1.856 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009662/2.816, allocations: 0.7989 MB / 1.857 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/2.816, allocations: 36.89 kB / 1.857 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/2.817, allocations: 0.5089 MB / 1.857 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/2.817, allocations: 203.1 kB / 1.858 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/2.817, allocations: 15.5 kB / 1.858 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.097e-05/2.817, allocations: 336.2 kB / 1.858 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/2.817, allocations: 195.1 kB / 1.858 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/2.818, allocations: 394.4 kB / 1.858 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/2.818, allocations: 261.8 kB / 1.859 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/2.818, allocations: 2.656 kB / 1.859 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001186/2.819, allocations: 0.8086 MB / 1.86 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002309/2.819, allocations: 1.307 MB / 1.861 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/2.82, allocations: 11.12 kB / 1.861 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003674/2.82, allocations: 140.4 kB / 1.861 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/2.82, allocations: 131.7 kB / 1.861 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/2.823, allocations: 4.982 MB / 1.866 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008559/2.824, allocations: 113.5 kB / 1.866 GB, free: 194.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/2.824, allocations: 28.41 kB / 1.866 GB, free: 194.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/2.824, allocations: 4.781 kB / 1.866 GB, free: 194.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001003/2.825, allocations: 0.6779 MB / 1.867 GB, free: 194.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/2.825, allocations: 4.688 kB / 1.867 GB, free: 194.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/2.825, allocations: 137.4 kB / 1.867 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/2.826, allocations: 131 kB / 1.867 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/2.829, allocations: 6.001 MB / 1.873 GB, free: 189.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00081/2.83, allocations: 111.2 kB / 1.873 GB, free: 189.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/2.83, allocations: 26.5 kB / 1.873 GB, free: 189.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 (70): * Single equations (assignments): 65 * 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%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004713/2.83, allocations: 370.4 kB / 1.873 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/2.83, allocations: 108.7 kB / 1.873 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/2.831, allocations: 0.7204 MB / 1.874 GB, free: 188.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/2.832, allocations: 7.844 kB / 1.874 GB, free: 188.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/2.832, allocations: 5.969 kB / 1.874 GB, free: 188.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007788/2.832, allocations: 0.6694 MB / 1.875 GB, free: 188.6 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 postOpt removeSimpleEquations (simulation): time 0.002531/2.835, allocations: 1.848 MB / 1.877 GB, free: 188.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/2.835, allocations: 5.906 kB / 1.877 GB, free: 188.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/2.835, allocations: 90.22 kB / 1.877 GB, free: 188.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/2.836, allocations: 127.1 kB / 1.877 GB, free: 188.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/2.836, allocations: 17.7 kB / 1.877 GB, free: 188 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/2.838, allocations: 4.978 MB / 1.882 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/2.838, allocations: 11.59 kB / 1.882 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/2.839, allocations: 1.11 MB / 1.883 GB, free: 183.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004708/2.84, allocations: 265 kB / 1.883 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/2.84, allocations: 17.75 kB / 1.883 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006963/2.841, allocations: 65.8 kB / 1.883 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/2.841, allocations: 41.56 kB / 1.883 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/2.841, allocations: 25.02 kB / 1.883 GB, free: 183 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007762/2.842, allocations: 0.6264 MB / 1.884 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.51e-07/2.842, allocations: 0 / 1.884 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002705/2.844, allocations: 0.7778 MB / 1.885 GB, free: 182.8 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 41 * 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%) 3,(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.001452/2.846, allocations: 0.6611 MB / 1.885 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002135/2.848, allocations: 1.758 MB / 1.887 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/2.848, allocations: 0 / 1.887 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006095/2.849, allocations: 0.6275 MB / 1.888 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/2.851, allocations: 0.5559 MB / 1.888 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/2.854, allocations: 2.471 MB / 1.891 GB, free: 180.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007884/2.855, allocations: 1.118 MB / 1.892 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001036/2.856, allocations: 234.7 kB / 1.892 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/2.856, allocations: 80.31 kB / 1.892 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of SimCode: time 7.02e-07/2.856, allocations: 2.688 kB / 1.892 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.03796/2.894, allocations: 25.44 MB / 1.917 GB, free: 172.7 MB / 0.8855 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