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.001629/0.001629, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002102/0.002102, allocations: 212.9 kB / 22.24 MB, free: 5.262 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.77 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.323/3.323, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) [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.002053/0.002053, allocations: 77.14 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3711, allocations: 181.9 MB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0022/0.3733, allocations: 0.5443 MB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002945/0.3736, allocations: 115.7 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.3736, allocations: 4 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.735e-05/0.3737, allocations: 4 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.3738, allocations: 0 / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.3739, allocations: 39.89 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.3741, allocations: 27.92 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.3741, allocations: 7.984 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.3742, allocations: 8 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.311e-05/0.3742, allocations: 19.97 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.3743, allocations: 4 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.603e-05/0.3743, allocations: 4 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.3743, allocations: 4 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.3744, allocations: 15.92 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.3745, allocations: 28.19 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3745, allocations: 0 / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3745, allocations: 0 / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.3745, allocations: 0 / 1.364 GB, free: 13.16 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.0003947/0.3749, allocations: 284.1 kB / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3749, allocations: 11.97 kB / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.375, allocations: 42.69 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.375, allocations: 4.938 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3752, allocations: 106.5 kB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3752, allocations: 384 / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.3752, allocations: 4.375 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3753, allocations: 83.92 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3754, allocations: 3.938 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3754, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3754, allocations: 4 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.322e-05/0.3754, allocations: 41.69 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.3756, allocations: 120.8 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.3757, allocations: 60.2 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.3758, allocations: 46.61 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.3758, allocations: 3.938 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3758, allocations: 30.56 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.3758, allocations: 0 / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0003102/0.3761, allocations: 162.7 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.3762, allocations: 89.03 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.382e-05/0.3763, allocations: 89.98 kB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.3763, allocations: 33.83 kB / 1.365 GB, free: 11.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.3763, allocations: 80.14 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.3764, allocations: 11.94 kB / 1.365 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.3764, allocations: 21.72 kB / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3766, allocations: 314.8 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.743e-05/0.3766, allocations: 37.7 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-05/0.3767, allocations: 37.69 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.752e-05/0.3768, allocations: 80.25 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3768, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001738/0.377, allocations: 133.1 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.377, allocations: 33.64 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.377, allocations: 0 / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.377, allocations: 0 / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.377, allocations: 0 / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.377, allocations: 0 / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.3772, allocations: 11.98 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3772, allocations: 4 kB / 1.366 GB, free: 10.92 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.0001107/0.3773, allocations: 139.5 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.3773, allocations: 7.938 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/0.3773, allocations: 7.188 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3773, allocations: 3.984 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3773, allocations: 0 / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3773, allocations: 3.938 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.3774, allocations: 116.8 kB / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3774, allocations: 0 / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.3774, allocations: 0 / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3774, allocations: 3.938 kB / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.3775, allocations: 11.98 kB / 1.366 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3775, allocations: 0 / 1.366 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3775, allocations: 4 kB / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.3776, allocations: 160.4 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.3777, allocations: 4 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.3777, allocations: 3.938 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.3778, allocations: 7.984 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.3778, allocations: 7.984 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.3778, allocations: 4 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.3778, allocations: 75.28 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3778, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001986/0.378, allocations: 15.95 kB / 1.367 GB, free: 10.26 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.0006454/0.3787, allocations: 0.7101 MB / 1.367 GB, free: 9.508 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.3789, allocations: 142.7 kB / 1.367 GB, free: 9.344 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3789, allocations: 0 / 1.367 GB, free: 9.344 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.379, allocations: 97.09 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.3791, allocations: 6.031 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.3796, allocations: 164.4 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.547e-05/0.3796, allocations: 55.36 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.3797, allocations: 7.922 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.3798, allocations: 7.438 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/0.3798, allocations: 4 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.4094, allocations: 2.499 MB / 1.37 GB, free: 6.574 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.07, allocations: 13.16 kB / 1.37 GB, free: 6.566 MB / 1.061 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 840.0] 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: 17.942221224308014]