Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.3 MB / 405.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 181.1 kB / 498.1 MB, free: 5.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.79/1.79, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 99.27 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.0004331, allocations: 10.31 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3189, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.123/1.442, allocations: 434.1 MB / 1.647 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/1.442, allocations: 115 kB / 1.647 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.731/3.174, allocations: 0.5688 GB / 2.216 GB, free: 116.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.753e-06/3.174, allocations: 0 / 2.216 GB, free: 116.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001701/3.174, allocations: 31.98 kB / 2.216 GB, free: 116.7 MB / 1.167 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.004259/3.178, allocations: 1.639 MB / 2.217 GB, free: 115 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/3.178, allocations: 12.03 kB / 2.217 GB, free: 115 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006353/3.179, allocations: 154.9 kB / 2.218 GB, free: 114.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003748/3.183, allocations: 1.41 MB / 2.219 GB, free: 113.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.516e-05/3.183, allocations: 66 kB / 2.219 GB, free: 113.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/3.183, allocations: 91.98 kB / 2.219 GB, free: 113.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/3.185, allocations: 0.8739 MB / 2.22 GB, free: 112.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/3.185, allocations: 8 kB / 2.22 GB, free: 112.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/3.185, allocations: 36 kB / 2.22 GB, free: 112.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/3.185, allocations: 23.94 kB / 2.22 GB, free: 112.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/3.186, allocations: 0.6285 MB / 2.221 GB, free: 111.6 MB / 1.167 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.005201/3.191, allocations: 4.316 MB / 2.225 GB, free: 107 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008059/3.192, allocations: 0.5211 MB / 2.225 GB, free: 106.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005025/3.192, allocations: 0.6097 MB / 2.226 GB, free: 105.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/3.193, allocations: 39.12 kB / 2.226 GB, free: 105.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 2.164e-06/3.193, allocations: 0 / 2.226 GB, free: 105.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.002023/3.195, allocations: 1.238 MB / 2.227 GB, free: 104.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/3.195, allocations: 59.97 kB / 2.227 GB, free: 104.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009518/3.196, allocations: 0.8124 MB / 2.228 GB, free: 103.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/3.196, allocations: 41.7 kB / 2.228 GB, free: 103.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/3.196, allocations: 0.5189 MB / 2.229 GB, free: 102.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/3.196, allocations: 193.1 kB / 2.229 GB, free: 102.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/3.196, allocations: 16.11 kB / 2.229 GB, free: 102.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.514e-05/3.196, allocations: 342 kB / 2.229 GB, free: 102.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/3.196, allocations: 193.9 kB / 2.229 GB, free: 102.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/3.197, allocations: 382.2 kB / 2.23 GB, free: 101.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/3.197, allocations: 259 kB / 2.23 GB, free: 101.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/3.197, allocations: 0 / 2.23 GB, free: 101.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001139/3.198, allocations: 0.8035 MB / 2.231 GB, free: 100.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002342/3.199, allocations: 1.319 MB / 2.232 GB, free: 99.24 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/3.199, allocations: 4 kB / 2.232 GB, free: 99.23 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003764/3.199, allocations: 135.3 kB / 2.232 GB, free: 99.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/3.199, allocations: 127.8 kB / 2.232 GB, free: 98.96 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/3.202, allocations: 4.989 MB / 2.237 GB, free: 93.55 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009186/3.203, allocations: 115.3 kB / 2.237 GB, free: 93.43 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/3.203, allocations: 31.98 kB / 2.237 GB, free: 93.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/3.203, allocations: 4 kB / 2.237 GB, free: 93.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009974/3.204, allocations: 0.6855 MB / 2.238 GB, free: 92.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/3.204, allocations: 4 kB / 2.238 GB, free: 92.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/3.204, allocations: 131.6 kB / 2.238 GB, free: 92.56 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/3.205, allocations: 123.8 kB / 2.238 GB, free: 92.44 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003222/3.208, allocations: 5.997 MB / 2.244 GB, free: 85.89 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000909/3.209, allocations: 99.39 kB / 2.244 GB, free: 85.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/3.209, allocations: 35.94 kB / 2.244 GB, free: 85.76 MB / 1.167 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.0005996/3.21, allocations: 365.7 kB / 2.244 GB, free: 85.39 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/3.21, allocations: 102.8 kB / 2.245 GB, free: 85.29 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/3.211, allocations: 0.7305 MB / 2.245 GB, free: 84.54 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/3.211, allocations: 12 kB / 2.245 GB, free: 84.53 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/3.211, allocations: 4 kB / 2.245 GB, free: 84.53 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008064/3.212, allocations: 0.6689 MB / 2.246 GB, free: 83.81 MB / 1.167 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.002714/3.215, allocations: 1.866 MB / 2.248 GB, free: 81.86 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/3.215, allocations: 0 / 2.248 GB, free: 81.86 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/3.215, allocations: 95.95 kB / 2.248 GB, free: 81.77 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/3.215, allocations: 123.3 kB / 2.248 GB, free: 81.63 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/3.215, allocations: 12 kB / 2.248 GB, free: 81.62 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/3.218, allocations: 4.979 MB / 2.253 GB, free: 76.21 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/3.218, allocations: 7.984 kB / 2.253 GB, free: 76.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/3.219, allocations: 1.116 MB / 2.254 GB, free: 75.02 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005147/3.22, allocations: 271.6 kB / 2.254 GB, free: 74.74 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/3.22, allocations: 16 kB / 2.254 GB, free: 74.72 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006923/3.221, allocations: 59.88 kB / 2.254 GB, free: 74.66 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/3.221, allocations: 44.47 kB / 2.254 GB, free: 74.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/3.221, allocations: 27.98 kB / 2.254 GB, free: 74.59 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008189/3.222, allocations: 0.6297 MB / 2.255 GB, free: 73.95 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.41e-07/3.222, allocations: 0 / 2.255 GB, free: 73.95 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002875/3.225, allocations: 0.7795 MB / 2.256 GB, free: 73.17 MB / 1.167 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.001564/3.226, allocations: 0.672 MB / 2.256 GB, free: 72.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002158/3.228, allocations: 1.752 MB / 2.258 GB, free: 70.65 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/3.228, allocations: 4 kB / 2.258 GB, free: 70.65 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006487/3.229, allocations: 0.6327 MB / 2.259 GB, free: 69.97 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/3.231, allocations: 0.5451 MB / 2.259 GB, free: 69.43 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/3.235, allocations: 2.484 MB / 2.262 GB, free: 66.91 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/3.235, allocations: 1.12 MB / 2.263 GB, free: 65.77 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009182/3.236, allocations: 220.4 kB / 2.263 GB, free: 65.55 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/3.236, allocations: 83.41 kB / 2.263 GB, free: 65.46 MB / 1.167 GB Notification: Performance of SimCode: time 7.31e-07/3.236, allocations: 0 / 2.263 GB, free: 65.46 MB / 1.167 GB Notification: Performance of Templates: time 0.0361/3.272, allocations: 25.42 MB / 2.288 GB, free: 40.31 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches