Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 212.1 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.759/2.759, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 70.97 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4107, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005692/0.4164, allocations: 2.868 MB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003879/0.4203, allocations: 1.958 MB / 1.289 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004857/0.4207, allocations: 7.938 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.4227, allocations: 465.8 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006079/0.4234, allocations: 146.9 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.4236, allocations: 63.86 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000847/0.4245, allocations: 445.9 kB / 1.29 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.4247, allocations: 91.86 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004311/0.4252, allocations: 179.3 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003356/0.4255, allocations: 155.2 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.12e-05/0.4256, allocations: 36 kB / 1.29 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.9e-05/0.4257, allocations: 32 kB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.4258, allocations: 107.5 kB / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.4261, allocations: 171.2 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006968/0.4268, allocations: 0.5563 MB / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4268, allocations: 0 / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4268, allocations: 0 / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.207e-05/0.4268, allocations: 0 / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001357/0.4281, allocations: 0.6407 MB / 1.292 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4282, allocations: 8.031 kB / 1.292 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.029e-05/0.4283, allocations: 52.61 kB / 1.292 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006256/0.4289, allocations: 316.6 kB / 1.292 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.4289, allocations: 20.81 kB / 1.292 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.429, allocations: 20.38 kB / 1.292 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/0.4294, allocations: 199.6 kB / 1.292 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.4294, allocations: 3.953 kB / 1.292 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.4295, allocations: 15.98 kB / 1.292 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.4295, allocations: 4 kB / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.4299, allocations: 161.7 kB / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.4311, allocations: 0.6438 MB / 1.293 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.4314, allocations: 145 kB / 1.293 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.4316, allocations: 104.7 kB / 1.293 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.4316, allocations: 4 kB / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.4317, allocations: 30.56 kB / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/0.4317, allocations: 0 / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0006249/0.4323, allocations: 257.7 kB / 1.293 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.4323, allocations: 59.25 kB / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.4328, allocations: 393.7 kB / 1.294 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.4328, allocations: 25.7 kB / 1.294 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.433, allocations: 216.4 kB / 1.294 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.312e-05/0.4331, allocations: 67.42 kB / 1.294 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.4332, allocations: 29.7 kB / 1.294 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.4333, allocations: 346.8 kB / 1.295 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.4335, allocations: 71.86 kB / 1.295 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.4336, allocations: 53.52 kB / 1.295 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.4339, allocations: 134.9 kB / 1.295 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4339, allocations: 0 / 1.295 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003779/0.4343, allocations: 205.4 kB / 1.295 GB, free: 316 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4343, allocations: 8 kB / 1.295 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4343, allocations: 4 kB / 1.295 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4344, allocations: 0 / 1.295 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.4346, allocations: 55.84 kB / 1.295 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.4346, allocations: 4 kB / 1.295 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.4348, allocations: 19.88 kB / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.4348, allocations: 7.938 kB / 1.295 GB, free: 216 kB / 0.9825 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 (20): * Single equations (assignments): 20 * 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.0002063/0.435, allocations: 161.8 kB / 1.295 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.435, allocations: 31.81 kB / 1.295 GB, free: 12 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.4351, allocations: 47.34 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.4351, allocations: 3.938 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4351, allocations: 0 / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4352, allocations: 0 / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.4355, allocations: 277.1 kB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4355, allocations: 0 / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.4358, allocations: 47.97 kB / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4358, allocations: 0 / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.4358, allocations: 8 kB / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4358, allocations: 0 / 1.296 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4358, allocations: 3.938 kB / 1.296 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/0.4365, allocations: 387.3 kB / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.4365, allocations: 39.72 kB / 1.296 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.4366, allocations: 8 kB / 1.296 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.4367, allocations: 7.984 kB / 1.296 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.4368, allocations: 15.92 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.4368, allocations: 4 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003258/0.4371, allocations: 287.2 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4371, allocations: 8 kB / 1.296 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003289/0.4375, allocations: 75.84 kB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.000157/0.4376, allocations: 107.2 kB / 1.297 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000374/0.438, allocations: 131.9 kB / 1.297 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.438, allocations: 0 / 1.297 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.4382, allocations: 75.91 kB / 1.297 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.4387, allocations: 79.72 kB / 1.297 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.4401, allocations: 0.7948 MB / 1.298 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.4403, allocations: 194.1 kB / 1.298 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.33e-05/0.4404, allocations: 27.44 kB / 1.298 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.4404, allocations: 0 / 1.298 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of Templates: time 0.007526/0.4479, allocations: 4.364 MB / 1.302 GB, free: 9 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.345154866110533]