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.001461/0.001461, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00165/0.00165, allocations: 220.1 kB / 23.03 MB, free: 4.918 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.789 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.01/3.01, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_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.001822/0.001822, allocations: 74.09 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2874, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001632/0.289, allocations: 0.5566 MB / 1.346 GB, free: 15.4 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002404/0.2893, allocations: 115.7 kB / 1.346 GB, free: 15.29 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.2893, allocations: 0 / 1.346 GB, free: 15.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.734e-05/0.2894, allocations: 3.938 kB / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.2894, allocations: 0 / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.2896, allocations: 43.89 kB / 1.346 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.2896, allocations: 23.98 kB / 1.346 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.2897, allocations: 0 / 1.346 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.429e-05/0.2897, allocations: 19.92 kB / 1.346 GB, free: 15.2 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.2898, allocations: 19.97 kB / 1.346 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.2898, allocations: 4 kB / 1.346 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.202e-05/0.2898, allocations: 8 kB / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.629e-06/0.2898, allocations: 0 / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.2899, allocations: 15.98 kB / 1.346 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.111e-05/0.2899, allocations: 28.12 kB / 1.346 GB, free: 15.12 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2899, allocations: 0 / 1.346 GB, free: 15.12 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.352e-06/0.29, allocations: 0 / 1.346 GB, free: 15.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.29, allocations: 0 / 1.346 GB, free: 15.12 MB / 1.045 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.0003083/0.2903, allocations: 280.1 kB / 1.346 GB, free: 14.81 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2903, allocations: 19.97 kB / 1.346 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.354e-05/0.2903, allocations: 4.188 kB / 1.346 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.761e-05/0.2903, allocations: 34.75 kB / 1.346 GB, free: 14.74 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.2904, allocations: 0.9375 kB / 1.346 GB, free: 14.74 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2905, allocations: 114.5 kB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2905, allocations: 4.375 kB / 1.347 GB, free: 14.6 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.2905, allocations: 4.375 kB / 1.347 GB, free: 14.6 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.2906, allocations: 83.69 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.2906, allocations: 0 / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2907, allocations: 0 / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.2907, allocations: 0 / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.27e-05/0.2907, allocations: 45.69 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.2908, allocations: 124.7 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.598e-05/0.2909, allocations: 64.23 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.291, allocations: 38.62 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.291, allocations: 0 / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.291, allocations: 34.5 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.291, allocations: 0 / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0002525/0.2913, allocations: 166.7 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.2913, allocations: 81.11 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/0.2914, allocations: 102 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.2914, allocations: 29.7 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.2914, allocations: 84.08 kB / 1.347 GB, free: 13.61 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.2915, allocations: 3.953 kB / 1.347 GB, free: 13.6 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.2915, allocations: 25.72 kB / 1.347 GB, free: 13.57 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2916, allocations: 310.8 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.351e-05/0.2917, allocations: 37.69 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.194e-05/0.2917, allocations: 41.69 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.276e-05/0.2918, allocations: 80.25 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2918, allocations: 4.188 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001483/0.2919, allocations: 117.1 kB / 1.348 GB, free: 12.94 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.292, allocations: 41.62 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.292, allocations: 0 / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.292, allocations: 0 / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.292, allocations: 0 / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.292, allocations: 3.938 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.2921, allocations: 8 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.2921, allocations: 3.984 kB / 1.348 GB, free: 12.88 MB / 1.045 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.812e-05/0.2922, allocations: 139.5 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.2922, allocations: 11.97 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.216e-05/0.2923, allocations: 3.156 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.2923, allocations: 0 / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2923, allocations: 3.938 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.2923, allocations: 0 / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.399e-05/0.2924, allocations: 124.8 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.2924, allocations: 0 / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.2924, allocations: 0 / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2924, allocations: 3.938 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2924, allocations: 8 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.2924, allocations: 0 / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2924, allocations: 4 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.2925, allocations: 152.5 kB / 1.348 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.2926, allocations: 7.938 kB / 1.348 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.2926, allocations: 3.984 kB / 1.348 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-05/0.2927, allocations: 11.88 kB / 1.348 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.2927, allocations: 4 kB / 1.348 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.2927, allocations: 11.98 kB / 1.348 GB, free: 12.3 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.557e-05/0.2927, allocations: 75.28 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.2927, allocations: 128 / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001865/0.2929, allocations: 16 kB / 1.349 GB, free: 12.21 MB / 1.045 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.0005514/0.2935, allocations: 0.7057 MB / 1.349 GB, free: 11.46 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.2936, allocations: 138.7 kB / 1.349 GB, free: 11.3 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2936, allocations: 0 / 1.349 GB, free: 11.3 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.2937, allocations: 101.2 kB / 1.349 GB, free: 11.19 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.2938, allocations: 7.156 kB / 1.349 GB, free: 11.18 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.2942, allocations: 164.4 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.897e-05/0.2943, allocations: 59.3 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.315e-05/0.2943, allocations: 7.984 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.2944, allocations: 7.438 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of SimCode: time 2.51e-07/0.2944, allocations: 0 / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.3159, allocations: 2.168 MB / 1.352 GB, free: 8.871 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11, allocations: 16.09 kB / 1.352 GB, free: 8.859 MB / 1.045 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.146081147016957]