Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.001694/0.001694, 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.001888/0.001888, allocations: 216.2 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.37/3.37, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [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.00217/0.00217, allocations: 74.3 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4058, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002021/0.4078, allocations: 0.5777 MB / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002707/0.4081, allocations: 107.7 kB / 1.365 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.774e-05/0.4081, allocations: 0 / 1.365 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.817e-05/0.4082, allocations: 7.938 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.955e-05/0.4082, allocations: 0 / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.4084, allocations: 39.97 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.4085, allocations: 31.91 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.4086, allocations: 0 / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.4086, allocations: 19.92 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.664e-05/0.4087, allocations: 15.97 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.4087, allocations: 0 / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.749e-05/0.4087, allocations: 12 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.4087, allocations: 4 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.4088, allocations: 4 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.4089, allocations: 39.83 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4089, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4089, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.4089, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003802/0.4093, allocations: 276.1 kB / 1.366 GB, free: 12.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4093, allocations: 8.031 kB / 1.366 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.4094, allocations: 4.938 kB / 1.366 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.4095, allocations: 110.5 kB / 1.366 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.4095, allocations: 384 / 1.366 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.4095, allocations: 8.375 kB / 1.366 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.4097, allocations: 87.81 kB / 1.366 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.4097, allocations: 192 / 1.366 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.4097, allocations: 7.938 kB / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4097, allocations: 0 / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.226e-05/0.4098, allocations: 41.69 kB / 1.366 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.4099, allocations: 97.33 kB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.086e-05/0.41, allocations: 56.3 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.828e-05/0.41, allocations: 46.61 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.4101, allocations: 4 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.4101, allocations: 38.5 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.4101, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0002819/0.4104, allocations: 166.7 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.4104, allocations: 77.11 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.802e-05/0.4105, allocations: 93.86 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.4105, allocations: 25.7 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.4106, allocations: 88.08 kB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.4106, allocations: 7.938 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.4106, allocations: 21.72 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4108, allocations: 315.1 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.386e-05/0.4108, allocations: 45.69 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.414e-05/0.4109, allocations: 41.69 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.779e-05/0.411, allocations: 76.2 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.411, allocations: 0 / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001608/0.4111, allocations: 121.1 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.4112, allocations: 33.7 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.4112, allocations: 0 / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4112, allocations: 7.922 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.4112, allocations: 96 / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.4112, allocations: 4 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.4113, allocations: 4 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.4113, allocations: 8 kB / 1.367 GB, free: 10.59 MB / 1.061 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001095/0.4114, allocations: 139.5 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.4115, allocations: 4 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.617e-05/0.4115, allocations: 11.14 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.4115, allocations: 3.938 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4115, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.4115, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.093e-05/0.4116, allocations: 105.3 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4116, allocations: 3.938 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.4116, allocations: 0 / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.4116, allocations: 0 / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4116, allocations: 8 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.4116, allocations: 3.938 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4116, allocations: 3.938 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.4118, allocations: 148.5 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-06/0.4118, allocations: 3.953 kB / 1.368 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.4118, allocations: 4 kB / 1.368 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.4119, allocations: 16.02 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.4119, allocations: 7.938 kB / 1.368 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.4119, allocations: 0 / 1.368 GB, free: 10.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.751e-05/0.412, allocations: 79.28 kB / 1.368 GB, free: 9.977 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.412, allocations: 3.938 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002125/0.4122, allocations: 15.98 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002325/0.4124, allocations: 111.3 kB / 1.368 GB, free: 9.836 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.4126, allocations: 142.7 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4126, allocations: 0 / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.78e-05/0.4127, allocations: 97.09 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.4128, allocations: 4 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.4132, allocations: 160.4 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.496e-05/0.4133, allocations: 55.36 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.557e-05/0.4133, allocations: 7.438 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4133, allocations: 128 / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of Templates: time 0.002578/0.4159, allocations: 0.895 MB / 1.369 GB, free: 8.387 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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: 11.984132301062346]