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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 110.4 kB / 17.08 MB, free: 5.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.929/2.929, allocations: 437.1 MB / 0.7178 GB, free: 4.52 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.91 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4078, allocations: 151.6 MB / 1.176 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006495/0.4144, allocations: 4.163 MB / 1.18 GB, free: 1.656 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003891/0.4183, allocations: 2.417 MB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.4186, allocations: 8 kB / 1.182 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.4204, allocations: 0.5475 MB / 1.183 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005678/0.421, allocations: 246 kB / 1.183 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.4213, allocations: 139.8 kB / 1.183 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000867/0.4221, allocations: 0.802 MB / 1.184 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.4226, allocations: 326.5 kB / 1.184 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003699/0.423, allocations: 290.9 kB / 1.185 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.4234, allocations: 334.5 kB / 1.185 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.4235, allocations: 80 kB / 1.185 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.4236, allocations: 72 kB / 1.185 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.4238, allocations: 167.5 kB / 1.185 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003789/0.4242, allocations: 386.2 kB / 1.186 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.4253, allocations: 0.9962 MB / 1.187 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.4253, allocations: 0 / 1.187 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4253, allocations: 0 / 1.187 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.4253, allocations: 0 / 1.187 GB, free: 10.86 MB / 0.9356 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.001542/0.4269, allocations: 0.9613 MB / 1.188 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4269, allocations: 16.03 kB / 1.188 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.427, allocations: 76.47 kB / 1.188 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007249/0.4278, allocations: 470 kB / 1.188 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.4278, allocations: 33.38 kB / 1.188 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.729e-05/0.4279, allocations: 48.38 kB / 1.188 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007779/0.4287, allocations: 434.8 kB / 1.189 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.4287, allocations: 3.953 kB / 1.189 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.4288, allocations: 24 kB / 1.189 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.4288, allocations: 12 kB / 1.189 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007259/0.4295, allocations: 367.8 kB / 1.189 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.4317, allocations: 1.524 MB / 1.19 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005725/0.4323, allocations: 343.2 kB / 1.191 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/0.4328, allocations: 323 kB / 1.191 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.4328, allocations: 4.766 kB / 1.191 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.4329, allocations: 42.44 kB / 1.191 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=42): time 2.415e-06/0.4329, allocations: 0 / 1.191 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42): time 0.0009958/0.4339, allocations: 0.4895 MB / 1.192 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.434, allocations: 55.41 kB / 1.192 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005967/0.4346, allocations: 489.9 kB / 1.192 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.4346, allocations: 37.7 kB / 1.192 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.4348, allocations: 284.6 kB / 1.192 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.435, allocations: 150.7 kB / 1.193 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.4351, allocations: 62.08 kB / 1.193 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.4353, allocations: 362.8 kB / 1.193 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.4355, allocations: 120.7 kB / 1.193 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.4358, allocations: 133.1 kB / 1.193 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/0.4363, allocations: 294.1 kB / 1.193 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4363, allocations: 0 / 1.193 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006753/0.437, allocations: 400.7 kB / 1.194 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.4371, allocations: 9.859 kB / 1.194 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4371, allocations: 4 kB / 1.194 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4371, allocations: 0 / 1.194 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.4376, allocations: 127.8 kB / 1.194 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4376, allocations: 0 / 1.194 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.4379, allocations: 39.73 kB / 1.194 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.4379, allocations: 12 kB / 1.194 GB, free: 2.957 MB / 0.9356 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.0002472/0.4382, allocations: 197.7 kB / 1.194 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/0.4383, allocations: 59.61 kB / 1.194 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.4384, allocations: 61.09 kB / 1.194 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.4384, allocations: 4 kB / 1.194 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.4384, allocations: 0 / 1.194 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4384, allocations: 0 / 1.194 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.4392, allocations: 0.5674 MB / 1.195 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4392, allocations: 0 / 1.195 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005247/0.4397, allocations: 131.8 kB / 1.195 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.4397, allocations: 4 kB / 1.195 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.4398, allocations: 11.92 kB / 1.195 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.4398, allocations: 4 kB / 1.195 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4398, allocations: 0 / 1.195 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.4408, allocations: 0.6482 MB / 1.196 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.4409, allocations: 148.5 kB / 1.196 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.441, allocations: 12 kB / 1.196 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.4412, allocations: 8 kB / 1.196 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.4413, allocations: 27.75 kB / 1.196 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.4413, allocations: 19.98 kB / 1.196 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004066/0.4418, allocations: 347.1 kB / 1.196 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4418, allocations: 0 / 1.196 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004062/0.4422, allocations: 147.7 kB / 1.196 GB, free: 0.4922 MB / 0.9356 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.0001821/0.4424, allocations: 111.2 kB / 1.196 GB, free: 384 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006314/0.443, allocations: 323.7 kB / 1.197 GB, free: 60 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.443, allocations: 0 / 1.197 GB, free: 60 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.4433, allocations: 179.8 kB / 1.197 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006633/0.444, allocations: 126.4 kB / 1.197 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.4461, allocations: 1.245 MB / 1.198 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.4466, allocations: 0.8782 MB / 1.199 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.4467, allocations: 39.44 kB / 1.199 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.4467, allocations: 0 / 1.199 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of Templates: time 0.01075/0.4575, allocations: 6.887 MB / 1.206 GB, free: 6.703 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.087130362982862]