Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001653/0.001653, allocations: 112.9 kB / 18.94 MB, free: 2.93 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.00174/0.00174, allocations: 189.5 kB / 22.22 MB, free: 5.105 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.581/1.581, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.193/3.193, allocations: 496 MB / 0.7835 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.41 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3906, allocations: 173.6 MB / 1.307 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004677/0.3953, allocations: 3.084 MB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.3983, allocations: 2.164 MB / 1.312 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.3985, allocations: 4 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.3999, allocations: 0.5172 MB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.4002, allocations: 138.9 kB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.4003, allocations: 63.88 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000484/0.4008, allocations: 437.9 kB / 1.314 GB, free: 11.32 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.401, allocations: 111.8 kB / 1.314 GB, free: 11.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.4013, allocations: 159.4 kB / 1.314 GB, free: 11.05 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.4015, allocations: 179.1 kB / 1.314 GB, free: 10.87 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.4016, allocations: 36 kB / 1.314 GB, free: 10.84 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.042e-05/0.4016, allocations: 36 kB / 1.314 GB, free: 10.8 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.4018, allocations: 95.66 kB / 1.314 GB, free: 10.71 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.402, allocations: 218.9 kB / 1.314 GB, free: 10.49 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005915/0.4025, allocations: 0.5477 MB / 1.315 GB, free: 9.945 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4026, allocations: 0 / 1.315 GB, free: 9.945 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4026, allocations: 0 / 1.315 GB, free: 9.945 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.4026, allocations: 7.984 kB / 1.315 GB, free: 9.938 MB / 1.014 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.001119/0.4037, allocations: 0.6329 MB / 1.316 GB, free: 9.273 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.4037, allocations: 8.922 kB / 1.316 GB, free: 9.266 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.842e-05/0.4038, allocations: 48.66 kB / 1.316 GB, free: 9.219 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.4044, allocations: 320.5 kB / 1.316 GB, free: 8.883 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.4044, allocations: 16.81 kB / 1.316 GB, free: 8.867 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.4044, allocations: 24.38 kB / 1.316 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.4049, allocations: 207.5 kB / 1.316 GB, free: 8.633 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4049, allocations: 0 / 1.316 GB, free: 8.633 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.4049, allocations: 8 kB / 1.316 GB, free: 8.625 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.4049, allocations: 4 kB / 1.316 GB, free: 8.621 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.4053, allocations: 169.7 kB / 1.316 GB, free: 8.453 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.4066, allocations: 0.82 MB / 1.317 GB, free: 7.566 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.4069, allocations: 146.5 kB / 1.317 GB, free: 7.414 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.4071, allocations: 102.6 kB / 1.317 GB, free: 7.312 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.4072, allocations: 4 kB / 1.317 GB, free: 7.309 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.4072, allocations: 30.56 kB / 1.317 GB, free: 7.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.233e-06/0.4072, allocations: 0 / 1.317 GB, free: 7.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.0006132/0.4078, allocations: 263.5 kB / 1.318 GB, free: 7.008 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.4079, allocations: 55.41 kB / 1.318 GB, free: 6.941 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/0.4083, allocations: 417.7 kB / 1.318 GB, free: 6.523 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.4084, allocations: 29.7 kB / 1.318 GB, free: 6.488 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.4085, allocations: 208.4 kB / 1.318 GB, free: 6.281 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.768e-05/0.4086, allocations: 71.41 kB / 1.318 GB, free: 6.211 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.4087, allocations: 33.72 kB / 1.318 GB, free: 6.172 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4088, allocations: 350.8 kB / 1.319 GB, free: 5.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.409, allocations: 51.97 kB / 1.319 GB, free: 5.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.4091, allocations: 55.97 kB / 1.319 GB, free: 5.715 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.4094, allocations: 134.9 kB / 1.319 GB, free: 5.582 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4094, allocations: 0 / 1.319 GB, free: 5.582 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003858/0.4098, allocations: 214.8 kB / 1.319 GB, free: 5.367 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4098, allocations: 4 kB / 1.319 GB, free: 5.363 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4098, allocations: 0 / 1.319 GB, free: 5.363 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4099, allocations: 7.938 kB / 1.319 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.4101, allocations: 51.95 kB / 1.319 GB, free: 5.305 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4101, allocations: 0 / 1.319 GB, free: 5.305 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.4102, allocations: 19.89 kB / 1.319 GB, free: 5.285 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.4103, allocations: 7.938 kB / 1.319 GB, free: 5.277 MB / 1.014 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.0001784/0.4104, allocations: 173.7 kB / 1.319 GB, free: 5.098 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.4105, allocations: 35.77 kB / 1.319 GB, free: 5.062 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.364e-05/0.4106, allocations: 43.47 kB / 1.32 GB, free: 5.016 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.4106, allocations: 3.984 kB / 1.32 GB, free: 5.012 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4106, allocations: 8 kB / 1.32 GB, free: 5.004 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4106, allocations: 0 / 1.32 GB, free: 5.004 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.411, allocations: 352.3 kB / 1.32 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.411, allocations: 0 / 1.32 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.4113, allocations: 51.91 kB / 1.32 GB, free: 4.566 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.4113, allocations: 7.984 kB / 1.32 GB, free: 4.559 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.4113, allocations: 11.94 kB / 1.32 GB, free: 4.547 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4113, allocations: 0 / 1.32 GB, free: 4.547 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4113, allocations: 0 / 1.32 GB, free: 4.547 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.412, allocations: 368.8 kB / 1.32 GB, free: 4.172 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.412, allocations: 47.67 kB / 1.32 GB, free: 4.125 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.4121, allocations: 8 kB / 1.32 GB, free: 4.117 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.4122, allocations: 11.98 kB / 1.32 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.4123, allocations: 15.97 kB / 1.32 GB, free: 4.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.4123, allocations: 4 kB / 1.32 GB, free: 4.086 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003681/0.4127, allocations: 303.2 kB / 1.321 GB, free: 3.797 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4127, allocations: 0 / 1.321 GB, free: 3.797 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003011/0.413, allocations: 71.89 kB / 1.321 GB, free: 3.727 MB / 1.014 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.0001331/0.4131, allocations: 104 kB / 1.321 GB, free: 3.617 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.4135, allocations: 143.8 kB / 1.321 GB, free: 3.477 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4135, allocations: 0 / 1.321 GB, free: 3.477 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.4136, allocations: 78.41 kB / 1.321 GB, free: 3.402 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.4141, allocations: 104.3 kB / 1.321 GB, free: 3.301 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.4154, allocations: 0.7579 MB / 1.322 GB, free: 2.516 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.4158, allocations: 0.7951 MB / 1.323 GB, free: 1.695 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.416, allocations: 30.95 kB / 1.323 GB, free: 1.664 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.416, allocations: 27.44 kB / 1.323 GB, free: 1.637 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.416, allocations: 0 / 1.323 GB, free: 1.637 MB / 1.014 GB Notification: Performance of Templates: time 0.01138/0.4274, allocations: 4.12 MB / 1.327 GB, free: 13.63 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.571271264925599]