Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.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.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBorOut.T|TBorIn.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.379/2.379, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001161/0.001161, allocations: 183.4 kB / 0.4902 GB, free: 2.184 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.56/1.56, allocations: 223.1 MB / 0.7992 GB, free: 15.63 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.001064/0.001063, allocations: 108.8 kB / 0.9396 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.0004171, allocations: 10.16 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3281, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.559, allocations: 426.8 MB / 1.646 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/1.56, allocations: 121.5 kB / 1.646 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 12.12/13.68, allocations: 2.913 GB / 4.559 GB, free: 174.4 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.967e-06/13.68, allocations: 0 / 4.559 GB, free: 174.4 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.004338/13.68, allocations: 320 kB / 4.56 GB, free: 174.4 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.05879/13.74, allocations: 14.29 MB / 4.574 GB, free: 169.3 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/13.74, allocations: 7.594 kB / 4.574 GB, free: 169.3 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/13.75, allocations: 1.627 MB / 4.575 GB, free: 168.6 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05527/13.81, allocations: 18.98 MB / 4.594 GB, free: 166.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/13.81, allocations: 0.6416 MB / 4.595 GB, free: 166.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004661/13.81, allocations: 0.8545 MB / 4.595 GB, free: 166.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0365/13.85, allocations: 11.96 MB / 4.607 GB, free: 165.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003411/13.85, allocations: 32.12 kB / 4.607 GB, free: 165.8 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001768/13.85, allocations: 355.2 kB / 4.607 GB, free: 165.8 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/13.85, allocations: 207.8 kB / 4.608 GB, free: 165.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02286/13.88, allocations: 10.26 MB / 4.618 GB, free: 165.7 MB / 1.198 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.09967/13.98, allocations: 51.39 MB / 4.668 GB, free: 151.1 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/13.99, allocations: 5.843 MB / 4.673 GB, free: 151 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002113/13.99, allocations: 2.183 MB / 4.676 GB, free: 148.6 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/13.99, allocations: 94.86 kB / 4.676 GB, free: 148.6 MB / 1.198 GB Notification: Performance of pre-optimization done (n=482): time 8.956e-06/13.99, allocations: 0 / 4.676 GB, free: 148.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=482): time 0.02405/14.01, allocations: 12.58 MB / 4.688 GB, free: 145.7 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/14.01, allocations: 360.1 kB / 4.688 GB, free: 145.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03568/14.05, allocations: 14.83 MB / 4.703 GB, free: 144.7 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002063/14.05, allocations: 126.8 kB / 4.703 GB, free: 144.6 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.009222/14.06, allocations: 6.033 MB / 4.709 GB, free: 143.2 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003185/14.06, allocations: 1.706 MB / 4.711 GB, free: 142.1 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006865/14.06, allocations: 125.2 kB / 4.711 GB, free: 142.1 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0004727/14.06, allocations: 0.574 MB / 4.711 GB, free: 141.8 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005159/14.07, allocations: 3.501 MB / 4.715 GB, free: 141.7 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006842/14.08, allocations: 5.539 MB / 4.72 GB, free: 139.7 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006769/14.08, allocations: 4.575 MB / 4.724 GB, free: 139.6 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.298e-05/14.08, allocations: 14.45 kB / 4.724 GB, free: 139.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02446/14.11, allocations: 10.93 MB / 4.735 GB, free: 138.6 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.007401/14.12, allocations: 25.35 MB / 4.76 GB, free: 112.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000372/14.12, allocations: 69.44 kB / 4.76 GB, free: 112.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002502/14.12, allocations: 1.027 MB / 4.761 GB, free: 112.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006423/14.12, allocations: 1.453 MB / 4.762 GB, free: 112.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/14.14, allocations: 33.32 MB / 4.795 GB, free: 83.41 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01602/14.16, allocations: 1.486 MB / 4.796 GB, free: 82.89 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002071/14.16, allocations: 276.3 kB / 4.797 GB, free: 82.84 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/14.16, allocations: 3.938 kB / 4.797 GB, free: 82.84 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01668/14.18, allocations: 9.833 MB / 4.806 GB, free: 79.27 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002548/14.18, allocations: 64.53 kB / 4.806 GB, free: 79.27 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/14.18, allocations: 0.9968 MB / 4.807 GB, free: 78.87 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005959/14.19, allocations: 1.445 MB / 4.809 GB, free: 78.82 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/14.21, allocations: 33.62 MB / 4.842 GB, free: 64.54 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01637/14.23, allocations: 1.381 MB / 4.843 GB, free: 64.09 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002272/14.23, allocations: 272.9 kB / 4.843 GB, free: 64.04 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * 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 (757): * Single equations (assignments): 727 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01373/14.24, allocations: 5.425 MB / 4.848 GB, free: 61.75 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005099/14.25, allocations: 1.168 MB / 4.85 GB, free: 61.14 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01681/14.26, allocations: 8.391 MB / 4.858 GB, free: 57.88 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.897e-05/14.26, allocations: 47.69 kB / 4.858 GB, free: 57.88 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.318e-05/14.26, allocations: 11.47 kB / 4.858 GB, free: 57.88 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01069/14.28, allocations: 6.497 MB / 4.864 GB, free: 55.38 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07702/14.35, allocations: 44.16 MB / 4.907 GB, free: 23.59 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/14.35, allocations: 11.59 kB / 4.907 GB, free: 23.59 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004373/14.36, allocations: 1.062 MB / 4.908 GB, free: 23.52 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/14.36, allocations: 0.9766 MB / 4.909 GB, free: 23.12 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005831/14.36, allocations: 151.8 kB / 4.909 GB, free: 23.05 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02647/14.39, allocations: 33.48 MB / 4.942 GB, free: 24.67 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/14.39, allocations: 18.81 kB / 4.942 GB, free: 24.66 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02464/14.41, allocations: 15.75 MB / 4.958 GB, free: 15.24 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01346/14.42, allocations: 2.963 MB / 4.96 GB, free: 12.61 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006524/14.43, allocations: 136.4 kB / 4.961 GB, free: 12.48 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01273/14.44, allocations: 0.6636 MB / 4.961 GB, free: 12.04 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001723/14.45, allocations: 356.9 kB / 4.962 GB, free: 11.82 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008062/14.45, allocations: 193.6 kB / 4.962 GB, free: 11.66 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.03181/14.48, allocations: 12.15 MB / 4.974 GB, free: 1.719 MB / 1.245 GB Notification: Performance of sort global known variables: time 6.71e-07/14.48, allocations: 3.438 kB / 4.974 GB, free: 1.719 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.0424/14.52, allocations: 6.824 MB / 4.98 GB, free: 11.93 MB / 1.261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 40 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].intResUTub.capFil1.T,borHol.intHex[1].intResUTub.capFil2.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].intResUTub.capFil1.T,borHol.intHex[2].intResUTub.capFil2.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].intResUTub.capFil1.T,borHol.intHex[3].intResUTub.capFil2.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].intResUTub.capFil1.T,borHol.intHex[4].intResUTub.capFil2.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].intResUTub.capFil1.T,borHol.intHex[5].intResUTub.capFil2.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].intResUTub.capFil1.T,borHol.intHex[6].intResUTub.capFil2.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].intResUTub.capFil1.T,borHol.intHex[7].intResUTub.capFil2.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].intResUTub.capFil1.T,borHol.intHex[8].intResUTub.capFil2.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].intResUTub.capFil1.T,borHol.intHex[9].intResUTub.capFil2.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].intResUTub.capFil1.T,borHol.intHex[10].intResUTub.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 (428): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004616/14.52, allocations: 1.401 MB / 4.982 GB, free: 10.89 MB / 1.261 GB Notification: Performance of simCode: created initialization part: time 0.7808/15.31, allocations: 18.62 MB / 5 GB, free: 208.4 MB / 1.261 GB Notification: Performance of simCode: created event and clocks part: time 3.054e-05/15.31, allocations: 6.562 kB / 5 GB, free: 208.4 MB / 1.261 GB Notification: Performance of simCode: created simulation system equations: time 0.01046/15.32, allocations: 5.689 MB / 5.005 GB, free: 206.2 MB / 1.261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04794/15.36, allocations: 7.913 MB / 5.013 GB, free: 206.1 MB / 1.261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07697/15.44, allocations: 33.4 MB / 5.046 GB, free: 195.7 MB / 1.261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01368/15.45, allocations: 9.579 MB / 5.055 GB, free: 194.7 MB / 1.261 GB Notification: Performance of simCode: alias equations: time 0.02893/15.48, allocations: 6.788 MB / 5.062 GB, free: 194.2 MB / 1.261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005392/15.49, allocations: 0.8847 MB / 5.063 GB, free: 194.2 MB / 1.261 GB Notification: Performance of SimCode: time 1.513e-06/15.49, allocations: 0 / 5.063 GB, free: 194.2 MB / 1.261 GB Notification: Performance of Templates: time 0.4122/15.9, allocations: 272.2 MB / 5.328 GB, free: 91.14 MB / 1.261 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches