Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00851/0.00851, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.001804/0.001805, allocations: 189.9 kB / 16.79 MB, free: 5.805 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.448/1.448, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.2 MB / 0.6649 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 67.89 kB / 0.8126 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/0.7183, allocations: 140.4 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004451/0.7228, allocations: 4.173 MB / 0.9537 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.7255, allocations: 2.368 MB / 0.956 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.7258, allocations: 10.41 kB / 0.956 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.7271, allocations: 0.5047 MB / 0.9565 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.7275, allocations: 220.5 kB / 0.9567 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.7277, allocations: 124.6 kB / 0.9568 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000664/0.7283, allocations: 0.8074 MB / 0.9576 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000369/0.7287, allocations: 275.3 kB / 0.9579 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.729, allocations: 264.2 kB / 0.9581 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.7293, allocations: 321.2 kB / 0.9585 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.959e-05/0.7294, allocations: 46.75 kB / 0.9585 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.7295, allocations: 50.69 kB / 0.9585 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.7296, allocations: 142.9 kB / 0.9587 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.7299, allocations: 358.9 kB / 0.959 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.7305, allocations: 0.8055 MB / 0.9598 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.7305, allocations: 0 / 0.9598 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7305, allocations: 1.25 kB / 0.9598 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.7305, allocations: 0 / 0.9598 GB, free: 1.383 MB / 0.7169 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.001293/0.7318, allocations: 0.9548 MB / 0.9607 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.7319, allocations: 9.312 kB / 0.9608 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.732, allocations: 76.94 kB / 0.9608 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.7325, allocations: 453 kB / 0.9613 GB, free: 164 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.7325, allocations: 37.22 kB / 0.9613 GB, free: 148 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.7326, allocations: 48.53 kB / 0.9613 GB, free: 132 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007697/0.7334, allocations: 426.5 kB / 0.9617 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.7334, allocations: 1.188 kB / 0.9617 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.7335, allocations: 24.25 kB / 0.9618 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.7335, allocations: 11.69 kB / 0.9618 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007076/0.7342, allocations: 367.7 kB / 0.9621 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.7363, allocations: 1.533 MB / 0.9636 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.7369, allocations: 336.5 kB / 0.9639 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005123/0.7374, allocations: 327 kB / 0.9643 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.7374, allocations: 4.906 kB / 0.9643 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.7375, allocations: 48.64 kB / 0.9643 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=42): time 3.096e-06/0.7375, allocations: 0 / 0.9643 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.001037/0.7385, allocations: 493.6 kB / 0.9648 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.7386, allocations: 55.09 kB / 0.9648 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000582/0.7392, allocations: 486.7 kB / 0.9653 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.7392, allocations: 36.03 kB / 0.9653 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.7394, allocations: 275.1 kB / 0.9656 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.7395, allocations: 146.8 kB / 0.9657 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.7397, allocations: 56.48 kB / 0.9658 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.7398, allocations: 366.8 kB / 0.9661 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.7401, allocations: 118.3 kB / 0.9663 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.7404, allocations: 128.3 kB / 0.9664 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/0.7409, allocations: 307.4 kB / 0.9667 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.7409, allocations: 1.062 kB / 0.9667 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006943/0.7416, allocations: 392.5 kB / 0.967 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.7417, allocations: 5 kB / 0.967 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7417, allocations: 0 / 0.967 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.7417, allocations: 2.844 kB / 0.9671 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.7422, allocations: 123.4 kB / 0.9672 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.7422, allocations: 2.156 kB / 0.9672 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.7425, allocations: 56.28 kB / 0.9672 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.7426, allocations: 7.594 kB / 0.9672 GB, free: 12.15 MB / 0.7325 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.000227/0.7428, allocations: 197.3 kB / 0.9674 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.412e-05/0.7429, allocations: 60.12 kB / 0.9675 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.743, allocations: 63.3 kB / 0.9675 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.743, allocations: 3.844 kB / 0.9675 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.743, allocations: 0 / 0.9675 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.743, allocations: 5.516 kB / 0.9675 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006861/0.7437, allocations: 0.581 MB / 0.9681 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.7437, allocations: 0.7188 kB / 0.9681 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/0.7443, allocations: 127.7 kB / 0.9682 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.7443, allocations: 2.375 kB / 0.9682 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.7443, allocations: 9.5 kB / 0.9682 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.7443, allocations: 5.391 kB / 0.9683 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.7443, allocations: 1.094 kB / 0.9683 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.7453, allocations: 0.6452 MB / 0.9689 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.7455, allocations: 140.5 kB / 0.969 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.7455, allocations: 6.656 kB / 0.969 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.7458, allocations: 25.42 kB / 0.969 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.7459, allocations: 26.8 kB / 0.9691 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.7459, allocations: 14.81 kB / 0.9691 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003788/0.7463, allocations: 347.4 kB / 0.9694 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7463, allocations: 0 / 0.9694 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004373/0.7467, allocations: 149.2 kB / 0.9696 GB, free: 10.55 MB / 0.7325 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.0001531/0.7469, allocations: 123.2 kB / 0.9697 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005994/0.7475, allocations: 318.6 kB / 0.97 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7475, allocations: 1.312 kB / 0.97 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.7478, allocations: 179.1 kB / 0.9702 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.7486, allocations: 128.8 kB / 0.9703 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.7508, allocations: 1.452 MB / 0.9717 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.7513, allocations: 0.8703 MB / 0.9725 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.7515, allocations: 37.97 kB / 0.9726 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.7515, allocations: 0 / 0.9726 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of Templates: time 0.01071/0.7622, allocations: 6.82 MB / 0.9792 GB, free: 3.391 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches