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.209/2.209, allocations: 387.1 MB / 399.7 MB, free: 9.547 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.001107/0.001107, allocations: 176.9 kB / 492.3 MB, free: 0.6211 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: 221.3 MB / 0.7871 GB, free: 12.94 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.001021/0.001022, allocations: 103.5 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.264e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2669, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/1.468, allocations: 434 MB / 1.636 GB, free: 12.78 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/1.468, allocations: 108.4 kB / 1.636 GB, free: 12.72 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.465/3.933, allocations: 0.5672 GB / 2.204 GB, free: 267.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.463e-06/3.933, allocations: 0.7188 kB / 2.204 GB, free: 267.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001427/3.933, allocations: 30.75 kB / 2.204 GB, free: 267.1 MB / 1.151 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.00353/3.937, allocations: 1.411 MB / 2.205 GB, free: 266.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/3.937, allocations: 9 kB / 2.205 GB, free: 266.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005436/3.937, allocations: 153.1 kB / 2.205 GB, free: 266.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/3.941, allocations: 1.399 MB / 2.207 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.603e-05/3.941, allocations: 67.88 kB / 2.207 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/3.941, allocations: 88.97 kB / 2.207 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/3.943, allocations: 0.868 MB / 2.208 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/3.943, allocations: 7.406 kB / 2.208 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-05/3.943, allocations: 37.45 kB / 2.208 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/3.943, allocations: 25.5 kB / 2.208 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/3.944, allocations: 0.603 MB / 2.208 GB, free: 266.2 MB / 1.151 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.005875/3.95, allocations: 4.321 MB / 2.212 GB, free: 264.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009492/3.951, allocations: 0.5085 MB / 2.213 GB, free: 264.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005421/3.952, allocations: 319.9 kB / 2.213 GB, free: 264 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005428/3.952, allocations: 0.6022 MB / 2.214 GB, free: 263.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/3.952, allocations: 38.48 kB / 2.214 GB, free: 263.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 2.454e-06/3.952, allocations: 2.469 kB / 2.214 GB, free: 263.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.001415/3.954, allocations: 0.629 MB / 2.214 GB, free: 263.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/3.954, allocations: 58.3 kB / 2.215 GB, free: 263.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/3.955, allocations: 0.7989 MB / 2.215 GB, free: 263 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/3.955, allocations: 36.67 kB / 2.215 GB, free: 263 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000424/3.955, allocations: 0.5079 MB / 2.216 GB, free: 262.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/3.956, allocations: 210 kB / 2.216 GB, free: 262.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/3.956, allocations: 15.22 kB / 2.216 GB, free: 262.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.006e-05/3.956, allocations: 330.9 kB / 2.216 GB, free: 262.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/3.956, allocations: 193.3 kB / 2.217 GB, free: 262.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/3.956, allocations: 377.5 kB / 2.217 GB, free: 262.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/3.957, allocations: 255.6 kB / 2.217 GB, free: 262.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/3.957, allocations: 1.031 kB / 2.217 GB, free: 262.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001567/3.958, allocations: 0.7943 MB / 2.218 GB, free: 262.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000339/3.959, allocations: 1.319 MB / 2.219 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/3.959, allocations: 5.109 kB / 2.219 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/3.959, allocations: 135.9 kB / 2.219 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/3.96, allocations: 126.9 kB / 2.219 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/3.963, allocations: 4.819 MB / 2.224 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/3.964, allocations: 112.6 kB / 2.224 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/3.964, allocations: 28.97 kB / 2.224 GB, free: 256.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/3.964, allocations: 5.438 kB / 2.224 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001299/3.965, allocations: 0.6768 MB / 2.225 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/3.966, allocations: 5.062 kB / 2.225 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002947/3.966, allocations: 118.2 kB / 2.225 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/3.966, allocations: 134.3 kB / 2.225 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/3.97, allocations: 5.822 MB / 2.231 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/3.971, allocations: 101.2 kB / 2.231 GB, free: 250.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/3.971, allocations: 30.23 kB / 2.231 GB, free: 250.8 MB / 1.151 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.0002714/3.971, allocations: 148.9 kB / 2.231 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/3.971, allocations: 100.5 kB / 2.231 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/3.973, allocations: 0.7085 MB / 2.232 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/3.973, allocations: 15.09 kB / 2.232 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/3.973, allocations: 6.969 kB / 2.232 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009328/3.974, allocations: 0.6505 MB / 2.233 GB, free: 250.3 MB / 1.151 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.003378/3.977, allocations: 1.854 MB / 2.234 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/3.977, allocations: 3.203 kB / 2.234 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/3.978, allocations: 92.92 kB / 2.235 GB, free: 249.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003062/3.978, allocations: 126.6 kB / 2.235 GB, free: 249.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/3.978, allocations: 15.42 kB / 2.235 GB, free: 249.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002637/3.981, allocations: 4.815 MB / 2.239 GB, free: 245.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/3.981, allocations: 4.531 kB / 2.239 GB, free: 245.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/3.983, allocations: 1.11 MB / 2.24 GB, free: 245.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000723/3.983, allocations: 268.5 kB / 2.241 GB, free: 244.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/3.983, allocations: 15.64 kB / 2.241 GB, free: 244.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/3.984, allocations: 70.88 kB / 2.241 GB, free: 244.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/3.984, allocations: 39.77 kB / 2.241 GB, free: 244.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/3.984, allocations: 26.11 kB / 2.241 GB, free: 244.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001041/3.985, allocations: 0.6227 MB / 2.241 GB, free: 244.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/3.985, allocations: 1.594 kB / 2.241 GB, free: 244.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003255/3.989, allocations: 0.7677 MB / 2.242 GB, free: 244.8 MB / 1.151 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.001636/3.99, allocations: 0.6713 MB / 2.243 GB, free: 244.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002568/3.993, allocations: 1.748 MB / 2.245 GB, free: 243.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/3.993, allocations: 0 / 2.245 GB, free: 243.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006876/3.993, allocations: 0.616 MB / 2.245 GB, free: 243.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/3.996, allocations: 0.5527 MB / 2.246 GB, free: 243.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/4, allocations: 1.554 MB / 2.247 GB, free: 242.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/4.001, allocations: 1.118 MB / 2.248 GB, free: 242.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001533/4.002, allocations: 288.2 kB / 2.249 GB, free: 242.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/4.002, allocations: 66.25 kB / 2.249 GB, free: 242.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.875e-06/4.002, allocations: 0 / 2.249 GB, free: 242.2 MB / 1.151 GB Notification: Performance of Templates: time 0.05506/4.057, allocations: 27.67 MB / 2.276 GB, free: 241.8 MB / 1.151 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