Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 105.1 kB / 16.41 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 189.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.453/2.453, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 71.83 kB / 1.019 GB, free: 9.344 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9789/0.9802, allocations: 151.6 MB / 1.167 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006045/0.9863, allocations: 4.158 MB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004019/0.9904, allocations: 2.409 MB / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006796/0.9911, allocations: 11.94 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.9933, allocations: 0.5422 MB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.9944, allocations: 250 kB / 1.175 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.9949, allocations: 143.8 kB / 1.175 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.9962, allocations: 0.8154 MB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005787/0.9968, allocations: 334.4 kB / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.9974, allocations: 294.9 kB / 1.176 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005799/0.998, allocations: 326.6 kB / 1.176 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.9982, allocations: 72 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.9984, allocations: 80 kB / 1.177 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.9986, allocations: 163.5 kB / 1.177 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005512/0.9992, allocations: 394.2 kB / 1.177 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000949/1, allocations: 0.9889 MB / 1.178 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1, allocations: 0 / 1.178 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.863e-06/1, allocations: 0 / 1.178 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.337e-05/1, allocations: 0 / 1.178 GB, free: 8.98 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001414/1.002, allocations: 0.954 MB / 1.179 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.002, allocations: 8.922 kB / 1.179 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/1.002, allocations: 76.09 kB / 1.179 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006709/1.002, allocations: 461.6 kB / 1.179 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/1.003, allocations: 37.38 kB / 1.18 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/1.003, allocations: 44.38 kB / 1.18 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/1.003, allocations: 434.8 kB / 1.18 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/1.003, allocations: 0 / 1.18 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/1.003, allocations: 20 kB / 1.18 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/1.003, allocations: 15.94 kB / 1.18 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006302/1.004, allocations: 367.8 kB / 1.18 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/1.006, allocations: 1.516 MB / 1.182 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/1.007, allocations: 342.7 kB / 1.182 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/1.007, allocations: 323.1 kB / 1.182 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/1.007, allocations: 4 kB / 1.182 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/1.007, allocations: 38.5 kB / 1.183 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=42): time 1.853e-06/1.007, allocations: 3.938 kB / 1.183 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42): time 0.000925/1.008, allocations: 0.4969 MB / 1.183 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/1.008, allocations: 55.41 kB / 1.183 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005267/1.009, allocations: 485.9 kB / 1.184 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/1.009, allocations: 29.7 kB / 1.184 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/1.009, allocations: 276.4 kB / 1.184 GB, free: 2.832 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/1.009, allocations: 149.8 kB / 1.184 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/1.009, allocations: 62.08 kB / 1.184 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.009, allocations: 362.8 kB / 1.184 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/1.009, allocations: 120.7 kB / 1.184 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/1.01, allocations: 129.2 kB / 1.185 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/1.01, allocations: 294.4 kB / 1.185 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.01, allocations: 0 / 1.185 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000613/1.011, allocations: 400.2 kB / 1.185 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.011, allocations: 4 kB / 1.185 GB, free: 1.316 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.011, allocations: 7.922 kB / 1.185 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.011, allocations: 4 kB / 1.185 GB, free: 1.305 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/1.011, allocations: 123.9 kB / 1.185 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/1.011, allocations: 0 / 1.185 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/1.012, allocations: 31.59 kB / 1.185 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/1.012, allocations: 12 kB / 1.185 GB, free: 1.141 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002244/1.012, allocations: 201.8 kB / 1.186 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.103e-05/1.012, allocations: 55.38 kB / 1.186 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/1.012, allocations: 61.09 kB / 1.186 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.012, allocations: 4 kB / 1.186 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.012, allocations: 0 / 1.186 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.012, allocations: 0 / 1.186 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006725/1.013, allocations: 0.5789 MB / 1.186 GB, free: 184 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/1.013, allocations: 3.938 kB / 1.186 GB, free: 180 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/1.013, allocations: 131.8 kB / 1.186 GB, free: 48 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/1.013, allocations: 0 / 1.186 GB, free: 48 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/1.013, allocations: 12 kB / 1.186 GB, free: 36 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.013, allocations: 3.984 kB / 1.186 GB, free: 32 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.013, allocations: 3.984 kB / 1.186 GB, free: 28 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009541/1.014, allocations: 0.6442 MB / 1.187 GB, free: 15.37 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/1.015, allocations: 140.4 kB / 1.187 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/1.015, allocations: 7.984 kB / 1.187 GB, free: 15.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/1.015, allocations: 12 kB / 1.187 GB, free: 15.19 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/1.015, allocations: 23.97 kB / 1.187 GB, free: 15.17 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/1.015, allocations: 8 kB / 1.187 GB, free: 15.16 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004237/1.015, allocations: 355.1 kB / 1.188 GB, free: 14.82 MB / 0.92 GB Notification: Performance of sort global known variables: time 3e-07/1.015, allocations: 0 / 1.188 GB, free: 14.82 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004348/1.016, allocations: 139.6 kB / 1.188 GB, free: 14.68 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/1.016, allocations: 123.1 kB / 1.188 GB, free: 14.55 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0006053/1.017, allocations: 327.5 kB / 1.188 GB, free: 14.23 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.017, allocations: 4 kB / 1.188 GB, free: 14.23 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002722/1.017, allocations: 175.8 kB / 1.188 GB, free: 14.05 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/1.018, allocations: 124.9 kB / 1.188 GB, free: 13.93 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/1.02, allocations: 1.223 MB / 1.19 GB, free: 12.67 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/1.02, allocations: 0.8704 MB / 1.191 GB, free: 11.78 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/1.02, allocations: 39.38 kB / 1.191 GB, free: 11.74 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/1.02, allocations: 0 / 1.191 GB, free: 11.74 MB / 0.92 GB Notification: Performance of Templates: time 0.01326/1.034, allocations: 6.882 MB / 1.197 GB, free: 4.926 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches