Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.369/2.369, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001365/0.001365, allocations: 179.9 kB / 0.4902 GB, free: 2.262 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.645/1.645, allocations: 223.2 MB / 0.7992 GB, free: 14.76 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.001066/0.001066, allocations: 100.2 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003933, allocations: 10.22 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.303, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.531, allocations: 442.7 MB / 1.662 GB, free: 3.234 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004092/1.531, allocations: 133.7 kB / 1.662 GB, free: 3.152 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.774/5.305, allocations: 1.069 GB / 2.731 GB, free: 17.33 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.254e-06/5.305, allocations: 0 / 2.731 GB, free: 17.33 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002841/5.306, allocations: 83.98 kB / 2.731 GB, free: 17.25 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: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.008895/5.315, allocations: 3.609 MB / 2.734 GB, free: 13.56 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/5.315, allocations: 11.98 kB / 2.734 GB, free: 13.55 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/5.316, allocations: 381.8 kB / 2.735 GB, free: 13.18 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005599/5.321, allocations: 2.948 MB / 2.738 GB, free: 10.15 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/5.322, allocations: 164.1 kB / 2.738 GB, free: 9.988 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000306/5.322, allocations: 216 kB / 2.738 GB, free: 9.777 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003331/5.325, allocations: 2.116 MB / 2.74 GB, free: 7.551 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.752e-05/5.325, allocations: 7.906 kB / 2.74 GB, free: 7.543 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/5.325, allocations: 84 kB / 2.74 GB, free: 7.461 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/5.326, allocations: 52 kB / 2.74 GB, free: 7.41 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/5.328, allocations: 1.612 MB / 2.742 GB, free: 5.781 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.01258/5.341, allocations: 8.844 MB / 2.75 GB, free: 12.61 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/5.342, allocations: 1.361 MB / 2.752 GB, free: 11.2 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002996/5.345, allocations: 2.918 MB / 2.755 GB, free: 7.633 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/5.346, allocations: 51.88 kB / 2.755 GB, free: 7.574 MB / 1.182 GB Notification: Performance of pre-optimization done (n=148): time 4.038e-06/5.346, allocations: 0 / 2.755 GB, free: 7.574 MB / 1.182 GB Notification: Performance of matching and sorting (n=148): time 0.005331/5.351, allocations: 2.705 MB / 2.757 GB, free: 4.734 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/5.351, allocations: 98.42 kB / 2.757 GB, free: 4.621 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00334/5.354, allocations: 2.028 MB / 2.759 GB, free: 2.582 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/5.354, allocations: 57.7 kB / 2.759 GB, free: 2.52 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/5.356, allocations: 1.213 MB / 2.761 GB, free: 1.293 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005296/5.356, allocations: 0.5121 MB / 2.761 GB, free: 0.7734 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/5.356, allocations: 36 kB / 2.761 GB, free: 0.7383 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001749/5.356, allocations: 369.9 kB / 2.761 GB, free: 380 kB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7823/6.139, allocations: 0.5197 MB / 2.762 GB, free: 157.8 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002122/6.141, allocations: 0.9007 MB / 2.763 GB, free: 157.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/6.142, allocations: 0.6768 MB / 2.763 GB, free: 157.4 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/6.142, allocations: 3.938 kB / 2.763 GB, free: 157.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.00405/6.146, allocations: 1.973 MB / 2.765 GB, free: 157.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005728/6.147, allocations: 2.732 MB / 2.768 GB, free: 154.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/6.147, allocations: 11.38 kB / 2.768 GB, free: 154.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/6.148, allocations: 220 kB / 2.768 GB, free: 154.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/6.149, allocations: 352.1 kB / 2.769 GB, free: 154.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004289/6.153, allocations: 7.081 MB / 2.776 GB, free: 148.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003008/6.156, allocations: 278.2 kB / 2.776 GB, free: 148.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/6.157, allocations: 70.53 kB / 2.776 GB, free: 148.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/6.157, allocations: 6.641 kB / 2.776 GB, free: 148.1 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003428/6.16, allocations: 1.704 MB / 2.778 GB, free: 148 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/6.16, allocations: 11.66 kB / 2.778 GB, free: 148 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005639/6.161, allocations: 214.2 kB / 2.778 GB, free: 147.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/6.162, allocations: 347.2 kB / 2.778 GB, free: 147.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006546/6.168, allocations: 9.022 MB / 2.787 GB, free: 140 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003334/6.172, allocations: 270.2 kB / 2.787 GB, free: 140 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003179/6.172, allocations: 68.83 kB / 2.787 GB, free: 140 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (191): * Single equations (assignments): 184 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002039/6.174, allocations: 0.644 MB / 2.788 GB, free: 139.8 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/6.175, allocations: 258.8 kB / 2.788 GB, free: 139.7 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/6.18, allocations: 2.037 MB / 2.79 GB, free: 139.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-05/6.18, allocations: 25.62 kB / 2.79 GB, free: 139.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/6.18, allocations: 2.125 kB / 2.79 GB, free: 139.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002576/6.183, allocations: 1.659 MB / 2.792 GB, free: 139.1 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009983/6.193, allocations: 4.528 MB / 2.796 GB, free: 138.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/6.193, allocations: 8 kB / 2.796 GB, free: 138.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/6.194, allocations: 277.5 kB / 2.796 GB, free: 138.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005487/6.194, allocations: 212.2 kB / 2.797 GB, free: 138.4 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/6.195, allocations: 45.2 kB / 2.797 GB, free: 138.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004203/6.199, allocations: 7.085 MB / 2.804 GB, free: 132.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/6.199, allocations: 3.625 kB / 2.804 GB, free: 132.1 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005481/6.204, allocations: 2.779 MB / 2.806 GB, free: 131.6 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/6.206, allocations: 0.5753 MB / 2.807 GB, free: 131.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009745/6.207, allocations: 32.12 kB / 2.807 GB, free: 131.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002464/6.21, allocations: 152.8 kB / 2.807 GB, free: 131.3 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/6.21, allocations: 104.6 kB / 2.807 GB, free: 131.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/6.21, allocations: 55.8 kB / 2.807 GB, free: 131.3 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004714/6.215, allocations: 1.573 MB / 2.809 GB, free: 131.2 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.31e-07/6.215, allocations: 0 / 2.809 GB, free: 131.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01008/6.225, allocations: 1.988 MB / 2.811 GB, free: 131.1 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.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 (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005395/6.231, allocations: 1.734 MB / 2.812 GB, free: 130.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006938/6.238, allocations: 3.596 MB / 2.816 GB, free: 129.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/6.238, allocations: 0 / 2.816 GB, free: 129.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.002066/6.24, allocations: 1.245 MB / 2.817 GB, free: 129.2 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00777/6.248, allocations: 1.33 MB / 2.818 GB, free: 129.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/6.259, allocations: 6.123 MB / 2.824 GB, free: 126.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002229/6.261, allocations: 1.804 MB / 2.826 GB, free: 125.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003557/6.265, allocations: 0.5987 MB / 2.827 GB, free: 125.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008566/6.266, allocations: 208.7 kB / 2.827 GB, free: 125.8 MB / 1.182 GB Notification: Performance of SimCode: time 1.372e-06/6.266, allocations: 0 / 2.827 GB, free: 125.8 MB / 1.182 GB Notification: Performance of Templates: time 0.1152/6.381, allocations: 64.6 MB / 2.89 GB, free: 123.1 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches