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.001451/0.001451, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001742/0.001742, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.797 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.996/2.996, allocations: 475.9 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] 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.002278/0.002278, allocations: 65.88 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3918, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002168/0.3939, allocations: 0.565 MB / 1.284 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002912/0.3942, allocations: 99.73 kB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.311e-05/0.3943, allocations: 0 / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.3944, allocations: 11.94 kB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.996e-05/0.3944, allocations: 0 / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.3946, allocations: 39.89 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.3947, allocations: 31.97 kB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.3948, allocations: 0 / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.174e-05/0.3948, allocations: 11.94 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.3949, allocations: 19.97 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3949, allocations: 0 / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.986e-05/0.395, allocations: 11.98 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.395, allocations: 0 / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.395, allocations: 8 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.3951, allocations: 39.83 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3951, allocations: 4 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3951, allocations: 0 / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3951, allocations: 0 / 1.284 GB, free: 11.13 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.0004257/0.3956, allocations: 284.2 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3956, allocations: 8.031 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.3957, allocations: 8.875 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3958, allocations: 106.5 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3958, allocations: 384 / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.3958, allocations: 8.312 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.396, allocations: 83.92 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.396, allocations: 7.938 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.396, allocations: 0 / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.396, allocations: 0 / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.3961, allocations: 41.69 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.3962, allocations: 97.33 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.3964, allocations: 56.3 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.3964, allocations: 50.55 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.3964, allocations: 4 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3965, allocations: 30.56 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3965, allocations: 0 / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003233/0.3968, allocations: 166.7 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.3969, allocations: 85.09 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.397, allocations: 93.86 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.397, allocations: 25.7 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.397, allocations: 84.14 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.3971, allocations: 3.938 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/0.3971, allocations: 25.7 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3973, allocations: 314.8 kB / 1.285 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.437e-05/0.3974, allocations: 41.62 kB / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.705e-05/0.3974, allocations: 37.95 kB / 1.285 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.3975, allocations: 84.31 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3975, allocations: 0 / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001776/0.3977, allocations: 121.1 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.3977, allocations: 33.7 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3977, allocations: 0 / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3978, allocations: 3.938 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.3978, allocations: 0 / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3978, allocations: 0 / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.3979, allocations: 7.984 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.3979, allocations: 8.031 kB / 1.286 GB, free: 8.977 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.0001522/0.3981, allocations: 143.5 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.3981, allocations: 11.97 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.204e-05/0.3981, allocations: 7.094 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3981, allocations: 4 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3981, allocations: 0 / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-06/0.3981, allocations: 0 / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.3982, allocations: 105.3 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3982, allocations: 3.938 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-07/0.3982, allocations: 0 / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.3983, allocations: 7.984 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3983, allocations: 4 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3983, allocations: 3.938 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3983, allocations: 0 / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.3985, allocations: 148.5 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-06/0.3985, allocations: 0 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.3985, allocations: 4 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3986, allocations: 11.92 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.3986, allocations: 8 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3987, allocations: 0 / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.731e-05/0.3987, allocations: 87.25 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3987, allocations: 0 / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000205/0.3989, allocations: 15.94 kB / 1.286 GB, free: 8.348 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.0002703/0.3992, allocations: 117.2 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.3994, allocations: 142.8 kB / 1.286 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3994, allocations: 4.156 kB / 1.286 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.241e-05/0.3995, allocations: 93.09 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.3996, allocations: 4 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.4, allocations: 132.7 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.351e-05/0.4, allocations: 55.36 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.855e-05/0.4001, allocations: 7.938 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.4002, allocations: 11.42 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.4002, allocations: 0 / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of Templates: time 0.004351/0.4045, allocations: 1.226 MB / 1.288 GB, free: 6.484 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/jenkins/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: 9.520000491291285]