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.00131/0.00131, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001484/0.001484, allocations: 212.6 kB / 23.04 MB, free: 5.082 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.366/1.366, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.537/2.537, allocations: 476.7 MB / 0.7715 GB, free: 4.289 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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="cs",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.001928/0.001928, allocations: 64.59 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2778, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001723/0.2795, allocations: 0.5607 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002326/0.2797, allocations: 107.7 kB / 1.285 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.2797, allocations: 0 / 1.285 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.695e-05/0.2798, allocations: 8 kB / 1.285 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.092e-05/0.2799, allocations: 0 / 1.285 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.28, allocations: 39.89 kB / 1.285 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.303e-05/0.2801, allocations: 27.97 kB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.2801, allocations: 4.094 kB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.2802, allocations: 8 kB / 1.285 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.863e-05/0.2802, allocations: 19.91 kB / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.2802, allocations: 4 kB / 1.285 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.732e-05/0.2803, allocations: 8 kB / 1.285 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.2803, allocations: 11.94 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.2803, allocations: 7.984 kB / 1.285 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.612e-05/0.2804, allocations: 43.41 kB / 1.285 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2804, allocations: 0 / 1.285 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2804, allocations: 0 / 1.285 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2804, allocations: 0 / 1.285 GB, free: 10.9 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.0003102/0.2807, allocations: 280.1 kB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2808, allocations: 8.031 kB / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.09e-05/0.2808, allocations: 192 / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.2808, allocations: 42.69 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.2808, allocations: 8.938 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.768e-05/0.2809, allocations: 106.5 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.2809, allocations: 4.375 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.281, allocations: 4.375 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.2811, allocations: 61.97 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.2811, allocations: 0 / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2811, allocations: 0 / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.2811, allocations: 0 / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.307e-05/0.2811, allocations: 8 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.2812, allocations: 132.7 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.023e-05/0.2813, allocations: 26.55 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.2813, allocations: 20.91 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-06/0.2813, allocations: 0 / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.2814, allocations: 34.5 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.2814, allocations: 0 / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000227/0.2816, allocations: 115.3 kB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.2817, allocations: 81.11 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/0.2817, allocations: 93.84 kB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2817, allocations: 29.7 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.2818, allocations: 80.14 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.2818, allocations: 4 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.2818, allocations: 17.72 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.282, allocations: 323.1 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.282, allocations: 7.984 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.282, allocations: 19.92 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.2821, allocations: 76.27 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2821, allocations: 0 / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001345/0.2823, allocations: 99.31 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.2823, allocations: 35.67 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2823, allocations: 3.984 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.2823, allocations: 4.094 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.2823, allocations: 7.938 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2823, allocations: 0 / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.2824, allocations: 7.984 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2825, allocations: 8 kB / 1.287 GB, free: 8.945 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 9.286e-05/0.2825, allocations: 135.5 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.2826, allocations: 19.86 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.043e-06/0.2826, allocations: 3.156 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2826, allocations: 0 / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2826, allocations: 4 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2826, allocations: 4 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.256e-05/0.2827, allocations: 120.8 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2827, allocations: 4 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.2827, allocations: 0 / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2827, allocations: 3.938 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.2827, allocations: 4 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2827, allocations: 3.984 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2827, allocations: 4 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.2829, allocations: 122.8 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.2829, allocations: 11.92 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.2829, allocations: 0 / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.882e-05/0.283, allocations: 4 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.283, allocations: 4 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.283, allocations: 11.98 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.497e-05/0.283, allocations: 75.28 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.283, allocations: 4.125 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001864/0.2832, allocations: 15.94 kB / 1.287 GB, free: 8.32 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.0005326/0.2838, allocations: 0.673 MB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.2839, allocations: 87.31 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2839, allocations: 0 / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.284, allocations: 71.39 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.2841, allocations: 7.938 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.2845, allocations: 130.7 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.2847, allocations: 0.6729 MB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.924e-05/0.2848, allocations: 8.062 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.2848, allocations: 15.42 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.2848, allocations: 0 / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.3056, allocations: 2.009 MB / 1.291 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.65, allocations: 6.375 kB / 1.291 GB, free: 4.68 MB / 0.9825 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 420.0] 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: 16.610659317986574]