Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001249/0.001249, allocations: 105.3 kB / 15.98 MB, free: 6.355 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.001165/0.001165, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.568/2.568, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 72.39 kB / 0.9088 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3438, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005685/0.3495, allocations: 4.179 MB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003314/0.3529, allocations: 2.383 MB / 1.071 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.3531, allocations: 8 kB / 1.071 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.3545, allocations: 0.4978 MB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.3549, allocations: 218.5 kB / 1.071 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.3551, allocations: 115.9 kB / 1.071 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008454/0.356, allocations: 0.8094 MB / 1.072 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000465/0.3564, allocations: 330.4 kB / 1.073 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/0.3568, allocations: 295 kB / 1.073 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/0.3571, allocations: 334.5 kB / 1.073 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.329e-05/0.3572, allocations: 76 kB / 1.073 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3574, allocations: 72 kB / 1.073 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.3575, allocations: 171.4 kB / 1.073 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003706/0.3579, allocations: 390.2 kB / 1.074 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007402/0.3587, allocations: 0.8143 MB / 1.075 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3587, allocations: 0 / 1.075 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3587, allocations: 0 / 1.075 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.3587, allocations: 4 kB / 1.075 GB, free: 4.359 MB / 0.8419 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.001419/0.3601, allocations: 0.9424 MB / 1.076 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3602, allocations: 8.031 kB / 1.076 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.3603, allocations: 72.09 kB / 1.076 GB, free: 3.289 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.3609, allocations: 457.6 kB / 1.076 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.3609, allocations: 37.38 kB / 1.076 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.808e-05/0.361, allocations: 52.28 kB / 1.076 GB, free: 2.715 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007733/0.3618, allocations: 430.8 kB / 1.077 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.3618, allocations: 4 kB / 1.077 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.3619, allocations: 19.94 kB / 1.077 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3619, allocations: 12 kB / 1.077 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006847/0.3626, allocations: 367.8 kB / 1.077 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.3647, allocations: 1.528 MB / 1.078 GB, free: 304 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5654/0.9301, allocations: 333.7 kB / 1.079 GB, free: 22.19 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006961/0.9309, allocations: 316 kB / 1.079 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.9309, allocations: 10.83 kB / 1.079 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.9309, allocations: 41.39 kB / 1.079 GB, free: 22.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=42): time 2.986e-06/0.9309, allocations: 0 / 1.079 GB, free: 22.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.001116/0.9321, allocations: 499.7 kB / 1.08 GB, free: 22.1 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.9321, allocations: 56.91 kB / 1.08 GB, free: 22.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006842/0.9328, allocations: 486.8 kB / 1.08 GB, free: 21.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.9328, allocations: 33.02 kB / 1.08 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.933, allocations: 277.2 kB / 1.08 GB, free: 21.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.9331, allocations: 147.8 kB / 1.08 GB, free: 21.69 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.9332, allocations: 61.78 kB / 1.081 GB, free: 21.65 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.9333, allocations: 363.2 kB / 1.081 GB, free: 21.31 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.9336, allocations: 121.5 kB / 1.081 GB, free: 21.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.9338, allocations: 128.6 kB / 1.081 GB, free: 21.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.9343, allocations: 300.3 kB / 1.081 GB, free: 21.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9344, allocations: 2.344 kB / 1.081 GB, free: 21.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006066/0.935, allocations: 396.4 kB / 1.082 GB, free: 20.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.935, allocations: 6.578 kB / 1.082 GB, free: 20.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.935, allocations: 3.562 kB / 1.082 GB, free: 20.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.935, allocations: 2 kB / 1.082 GB, free: 20.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.9355, allocations: 126.8 kB / 1.082 GB, free: 20.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.9356, allocations: 1.953 kB / 1.082 GB, free: 20.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.9358, allocations: 46.69 kB / 1.082 GB, free: 20.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.9359, allocations: 12.5 kB / 1.082 GB, free: 20.88 MB / 0.8419 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.0001943/0.9361, allocations: 200.5 kB / 1.082 GB, free: 20.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.9361, allocations: 57.19 kB / 1.082 GB, free: 20.68 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.9362, allocations: 61.66 kB / 1.082 GB, free: 20.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.9363, allocations: 3.594 kB / 1.082 GB, free: 20.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.9363, allocations: 1.062 kB / 1.082 GB, free: 20.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.9363, allocations: 2.719 kB / 1.082 GB, free: 20.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006371/0.9369, allocations: 0.5748 MB / 1.083 GB, free: 20.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.9369, allocations: 4.594 kB / 1.083 GB, free: 20.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.9375, allocations: 127.2 kB / 1.083 GB, free: 20.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.9375, allocations: 4.562 kB / 1.083 GB, free: 20.29 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.9375, allocations: 7.188 kB / 1.083 GB, free: 20.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.9375, allocations: 2.219 kB / 1.083 GB, free: 20.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9375, allocations: 0.7969 kB / 1.083 GB, free: 20.28 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009182/0.9384, allocations: 0.6576 MB / 1.084 GB, free: 19.92 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/0.9385, allocations: 134 kB / 1.084 GB, free: 19.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.9386, allocations: 11 kB / 1.084 GB, free: 19.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.9388, allocations: 18.97 kB / 1.084 GB, free: 19.78 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.9389, allocations: 24.89 kB / 1.084 GB, free: 19.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.939, allocations: 13.34 kB / 1.084 GB, free: 19.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003733/0.9393, allocations: 349.4 kB / 1.084 GB, free: 19.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9393, allocations: 3.938 kB / 1.084 GB, free: 19.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004221/0.9398, allocations: 144.9 kB / 1.084 GB, free: 19.58 MB / 0.8419 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.0001483/0.9399, allocations: 117.5 kB / 1.084 GB, free: 19.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007059/0.9406, allocations: 334.5 kB / 1.085 GB, free: 19.37 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.9406, allocations: 0 / 1.085 GB, free: 19.37 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.9409, allocations: 180.4 kB / 1.085 GB, free: 19.31 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007167/0.9417, allocations: 134.5 kB / 1.085 GB, free: 19.26 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.9436, allocations: 1.456 MB / 1.086 GB, free: 18.31 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.944, allocations: 0.877 MB / 1.087 GB, free: 17.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.9442, allocations: 37.97 kB / 1.087 GB, free: 17.58 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.9442, allocations: 0 / 1.087 GB, free: 17.58 MB / 0.8419 GB Notification: Performance of Templates: time 0.01402/0.9582, allocations: 6.831 MB / 1.094 GB, free: 16.82 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches