Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.316/2.316, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001076/0.001076, allocations: 183.5 kB / 0.4902 GB, free: 2.301 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.625/1.625, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001055/0.001055, allocations: 101.1 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004122, allocations: 12.03 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3215, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.489, allocations: 434.9 MB / 1.654 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/1.489, allocations: 109.2 kB / 1.654 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.81/3.299, allocations: 0.5688 GB / 2.223 GB, free: 101 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.024e-06/3.299, allocations: 0 / 2.223 GB, free: 101 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002191/3.299, allocations: 39.86 kB / 2.223 GB, free: 101 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.005248/3.304, allocations: 1.637 MB / 2.225 GB, free: 99.32 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/3.304, allocations: 11.98 kB / 2.225 GB, free: 99.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008351/3.305, allocations: 158.9 kB / 2.225 GB, free: 99.15 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00326/3.308, allocations: 1.406 MB / 2.226 GB, free: 97.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/3.309, allocations: 70 kB / 2.226 GB, free: 97.63 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/3.309, allocations: 84 kB / 2.226 GB, free: 97.55 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/3.31, allocations: 0.8894 MB / 2.227 GB, free: 96.62 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/3.31, allocations: 0 / 2.227 GB, free: 96.62 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-05/3.31, allocations: 40 kB / 2.227 GB, free: 96.59 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/3.31, allocations: 20 kB / 2.227 GB, free: 96.57 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/3.311, allocations: 0.6207 MB / 2.228 GB, free: 95.95 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.004606/3.316, allocations: 4.32 MB / 2.232 GB, free: 91.34 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007916/3.317, allocations: 0.5246 MB / 2.232 GB, free: 90.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004993/3.317, allocations: 0.6057 MB / 2.233 GB, free: 90.07 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/3.317, allocations: 39.12 kB / 2.233 GB, free: 90.02 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 2.645e-06/3.317, allocations: 112 / 2.233 GB, free: 90.02 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.001967/3.319, allocations: 1.25 MB / 2.234 GB, free: 88.68 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/3.319, allocations: 63.92 kB / 2.234 GB, free: 88.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008645/3.32, allocations: 0.8046 MB / 2.235 GB, free: 87.78 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/3.32, allocations: 37.7 kB / 2.235 GB, free: 87.73 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/3.321, allocations: 0.5151 MB / 2.236 GB, free: 87.21 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/3.321, allocations: 197.1 kB / 2.236 GB, free: 87.02 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/3.321, allocations: 12 kB / 2.236 GB, free: 87 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.882e-05/3.321, allocations: 330 kB / 2.236 GB, free: 86.68 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/3.321, allocations: 201.9 kB / 2.236 GB, free: 86.48 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/3.321, allocations: 382.1 kB / 2.237 GB, free: 86.03 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/3.322, allocations: 259 kB / 2.237 GB, free: 85.78 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/3.322, allocations: 0 / 2.237 GB, free: 85.78 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001054/3.323, allocations: 0.8031 MB / 2.238 GB, free: 84.96 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002114/3.323, allocations: 1.312 MB / 2.239 GB, free: 83.54 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/3.323, allocations: 4 kB / 2.239 GB, free: 83.54 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/3.323, allocations: 143.3 kB / 2.239 GB, free: 83.39 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006446/3.324, allocations: 123.8 kB / 2.239 GB, free: 83.27 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003725/3.328, allocations: 4.993 MB / 2.244 GB, free: 77.85 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/3.329, allocations: 107.4 kB / 2.244 GB, free: 77.74 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.084e-05/3.329, allocations: 31.98 kB / 2.244 GB, free: 77.71 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/3.33, allocations: 4 kB / 2.244 GB, free: 77.71 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001628/3.331, allocations: 0.6816 MB / 2.245 GB, free: 77.01 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/3.331, allocations: 11.94 kB / 2.245 GB, free: 77 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004574/3.332, allocations: 123.7 kB / 2.245 GB, free: 76.87 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006721/3.332, allocations: 131.8 kB / 2.245 GB, free: 76.74 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004797/3.337, allocations: 5.986 MB / 2.251 GB, free: 70.21 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/3.339, allocations: 115.3 kB / 2.251 GB, free: 70.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.323e-05/3.339, allocations: 28 kB / 2.251 GB, free: 70.07 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.0009714/3.34, allocations: 364.9 kB / 2.252 GB, free: 69.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/3.34, allocations: 102.8 kB / 2.252 GB, free: 69.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/3.342, allocations: 0.7346 MB / 2.252 GB, free: 68.84 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/3.342, allocations: 7.938 kB / 2.252 GB, free: 68.83 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/3.342, allocations: 4 kB / 2.252 GB, free: 68.83 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/3.343, allocations: 0.665 MB / 2.253 GB, free: 68.12 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.004043/3.347, allocations: 1.866 MB / 2.255 GB, free: 66.16 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/3.347, allocations: 0 / 2.255 GB, free: 66.16 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/3.348, allocations: 87.89 kB / 2.255 GB, free: 66.07 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/3.348, allocations: 131.6 kB / 2.255 GB, free: 65.93 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/3.349, allocations: 19.98 kB / 2.255 GB, free: 65.91 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003745/3.352, allocations: 4.978 MB / 2.26 GB, free: 60.51 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/3.352, allocations: 3.953 kB / 2.26 GB, free: 60.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/3.355, allocations: 1.112 MB / 2.261 GB, free: 59.32 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/3.355, allocations: 271.5 kB / 2.261 GB, free: 59.04 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/3.356, allocations: 12 kB / 2.261 GB, free: 59.03 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009872/3.357, allocations: 63.88 kB / 2.261 GB, free: 58.96 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/3.357, allocations: 56.39 kB / 2.261 GB, free: 58.91 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/3.357, allocations: 23.98 kB / 2.261 GB, free: 58.89 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001243/3.358, allocations: 0.6297 MB / 2.262 GB, free: 58.25 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.11e-07/3.358, allocations: 0 / 2.262 GB, free: 58.25 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004052/3.362, allocations: 0.7795 MB / 2.263 GB, free: 57.46 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.001691/3.364, allocations: 0.6664 MB / 2.264 GB, free: 56.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003088/3.367, allocations: 1.76 MB / 2.265 GB, free: 54.94 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/3.367, allocations: 0 / 2.265 GB, free: 54.94 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009556/3.368, allocations: 0.6363 MB / 2.266 GB, free: 54.27 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0038/3.372, allocations: 0.5409 MB / 2.266 GB, free: 53.73 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/3.376, allocations: 2.49 MB / 2.269 GB, free: 51.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/3.377, allocations: 1.12 MB / 2.27 GB, free: 50.05 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001367/3.378, allocations: 232.3 kB / 2.27 GB, free: 49.82 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/3.378, allocations: 79.42 kB / 2.27 GB, free: 49.75 MB / 1.167 GB Notification: Performance of SimCode: time 9.12e-07/3.378, allocations: 0 / 2.27 GB, free: 49.75 MB / 1.167 GB Notification: Performance of Templates: time 0.05761/3.436, allocations: 25.41 MB / 2.295 GB, free: 24.57 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches