Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001789/0.001789, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002311/0.002311, allocations: 220.1 kB / 23.01 MB, free: 4.609 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: 8.012 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.754/2.754, allocations: 476.7 MB / 0.7714 GB, free: 4.293 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.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_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_11_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.002081/0.002081, allocations: 68 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3629, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002116/0.365, allocations: 0.5624 MB / 1.285 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003113/0.3653, allocations: 107.7 kB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.3653, allocations: 0 / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.3654, allocations: 8 kB / 1.285 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.502e-05/0.3655, allocations: 0 / 1.285 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.3657, allocations: 39.84 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.3658, allocations: 23.98 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.3658, allocations: 8.016 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.475e-05/0.3659, allocations: 15.98 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.3659, allocations: 19.92 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.366, allocations: 0 / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.001e-05/0.366, allocations: 8 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.366, allocations: 3.984 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.3661, allocations: 15.98 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.3662, allocations: 35.84 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3662, allocations: 4 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3662, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3662, allocations: 0 / 1.285 GB, free: 10.39 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004187/0.3666, allocations: 284.1 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3667, allocations: 8.031 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.3667, allocations: 8.875 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3668, allocations: 106.5 kB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.3668, allocations: 8.375 kB / 1.286 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.3669, allocations: 8.359 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.367, allocations: 50.23 kB / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.367, allocations: 192 / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.367, allocations: 7.938 kB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.367, allocations: 0 / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.3671, allocations: 15.98 kB / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.3672, allocations: 120.8 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.05e-05/0.3673, allocations: 38.53 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.3674, allocations: 12.92 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.3674, allocations: 4 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.3674, allocations: 34.55 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.3674, allocations: 0 / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002604/0.3677, allocations: 103.3 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.3677, allocations: 89.05 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.3678, allocations: 97.98 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.3679, allocations: 25.7 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.3679, allocations: 80.14 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.3679, allocations: 4 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.368, allocations: 25.7 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3681, allocations: 310.8 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.733e-05/0.3682, allocations: 15.98 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.547e-05/0.3682, allocations: 8.125 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.3683, allocations: 84.31 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3683, allocations: 0 / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001507/0.3685, allocations: 99.31 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.3685, allocations: 37.64 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3685, allocations: 7.875 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3685, allocations: 0 / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-06/0.3685, allocations: 4 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3685, allocations: 0 / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.3687, allocations: 12.02 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3687, allocations: 4 kB / 1.287 GB, free: 8.477 MB / 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 (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.0001224/0.3688, allocations: 143.5 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.3688, allocations: 3.953 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.152e-05/0.3688, allocations: 11.09 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.3688, allocations: 0 / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3688, allocations: 0 / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3689, allocations: 0 / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.369, allocations: 124.7 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.369, allocations: 4 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.369, allocations: 0 / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.369, allocations: 0 / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.369, allocations: 11.94 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.369, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.369, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.3692, allocations: 126.8 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-06/0.3692, allocations: 0 / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.3692, allocations: 11.97 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3693, allocations: 7.984 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.3693, allocations: 0 / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.3693, allocations: 4 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.652e-05/0.3694, allocations: 79.28 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3694, allocations: 0 / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002044/0.3696, allocations: 15.94 kB / 1.288 GB, free: 7.863 MB / 0.9825 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.0002733/0.3698, allocations: 118.6 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.37, allocations: 79.39 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.37, allocations: 0 / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.3701, allocations: 75.33 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.3702, allocations: 8.109 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.3706, allocations: 141.1 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.3709, allocations: 0.6729 MB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.371, allocations: 7.438 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.371, allocations: 0 / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of Templates: time 0.002753/0.3737, allocations: 0.8898 MB / 1.29 GB, free: 5.801 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.339002133987378]