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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00734/0.00734, allocations: 100.7 kB / 15.73 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 184.8 kB / 16.67 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 67.89 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2872, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001661/0.2889, allocations: 0.5485 MB / 1.208 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002299/0.2892, allocations: 107.7 kB / 1.208 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.353e-05/0.2892, allocations: 3.938 kB / 1.208 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.447e-05/0.2893, allocations: 11.98 kB / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.2893, allocations: 0 / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.2895, allocations: 43.78 kB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.025e-05/0.2896, allocations: 23.98 kB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.2896, allocations: 4 kB / 1.208 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.985e-05/0.2897, allocations: 19.97 kB / 1.208 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.2897, allocations: 11.98 kB / 1.208 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.2898, allocations: 0 / 1.208 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.951e-05/0.2898, allocations: 12 kB / 1.209 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.2898, allocations: 0 / 1.209 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.2899, allocations: 19.91 kB / 1.209 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.756e-05/0.29, allocations: 23.97 kB / 1.209 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.29, allocations: 0 / 1.209 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.29, allocations: 4 kB / 1.209 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.29, allocations: 0 / 1.209 GB, free: 8.801 MB / 0.9669 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.0003299/0.2903, allocations: 361.3 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2904, allocations: 12.03 kB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.2904, allocations: 0.9375 kB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.2905, allocations: 172.3 kB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2905, allocations: 384 / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.2906, allocations: 4.375 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.2907, allocations: 58.22 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.2907, allocations: 4.125 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2907, allocations: 7.938 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2907, allocations: 0 / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.604e-05/0.2908, allocations: 8 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.2909, allocations: 153.7 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.045e-05/0.291, allocations: 34.53 kB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/0.291, allocations: 16.91 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.291, allocations: 4 kB / 1.209 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2911, allocations: 34.56 kB / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2911, allocations: 0 / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002158/0.2913, allocations: 111.2 kB / 1.209 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.2914, allocations: 81.11 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.2914, allocations: 101.8 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.2914, allocations: 29.7 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.2915, allocations: 84.39 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.2915, allocations: 4 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.2916, allocations: 21.72 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.2917, allocations: 310.8 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/0.2917, allocations: 11.98 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.2917, allocations: 8 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.307e-05/0.2918, allocations: 80.25 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2918, allocations: 4 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001341/0.292, allocations: 103.4 kB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.292, allocations: 33.7 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.292, allocations: 3.938 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.292, allocations: 0 / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.292, allocations: 3.938 kB / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.292, allocations: 0 / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.2922, allocations: 7.984 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.2922, allocations: 4 kB / 1.21 GB, free: 6.695 MB / 0.9669 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 8.513e-05/0.2923, allocations: 139.6 kB / 1.21 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.2923, allocations: 4 kB / 1.21 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.24e-05/0.2923, allocations: 15.05 kB / 1.21 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2923, allocations: 0 / 1.21 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2923, allocations: 4 kB / 1.21 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2923, allocations: 0 / 1.21 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.327e-05/0.2924, allocations: 157.5 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2924, allocations: 0 / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.2925, allocations: 0 / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2925, allocations: 0 / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.2925, allocations: 15.94 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2925, allocations: 0 / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2925, allocations: 0 / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.2927, allocations: 118.8 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.2927, allocations: 88.98 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.2927, allocations: 7.922 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.2928, allocations: 4 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.2928, allocations: 8.031 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.2929, allocations: 8 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.2929, allocations: 79.27 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2929, allocations: 0 / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002/0.2931, allocations: 12 kB / 1.211 GB, free: 5.941 MB / 0.9669 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.0001953/0.2933, allocations: 117.8 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.2935, allocations: 83.38 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2935, allocations: 0 / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.858e-05/0.2935, allocations: 75.33 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.2937, allocations: 8 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.294, allocations: 112.8 kB / 1.211 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.2942, allocations: 0.6768 MB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.097e-05/0.2943, allocations: 8.125 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-06/0.2943, allocations: 7.438 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.2943, allocations: 0 / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of Templates: time 0.003189/0.2975, allocations: 1.102 MB / 1.213 GB, free: 3.691 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches