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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.007685/0.007685, allocations: 100.1 kB / 15.73 MB, free: 6.5 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.001794/0.001794, allocations: 199.5 kB / 16.68 MB, free: 6.375 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.899/2.899, allocations: 469.8 MB / 0.7425 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.88 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2817, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0016/0.2833, allocations: 0.5468 MB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002237/0.2836, allocations: 121.5 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.171e-05/0.2836, allocations: 0 / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.194e-05/0.2837, allocations: 8 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.451e-05/0.2837, allocations: 0 / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.2839, allocations: 31.91 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.885e-05/0.2839, allocations: 27.97 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.284, allocations: 3.984 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.284, allocations: 16 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.2841, allocations: 19.97 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.2841, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.835e-05/0.2841, allocations: 8 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.2841, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.2842, allocations: 23.86 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.763e-05/0.2842, allocations: 23.97 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2842, allocations: 3.984 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2843, allocations: 0 / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2843, allocations: 0 / 1.221 GB, free: 13.02 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.0003002/0.2846, allocations: 361.2 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.2846, allocations: 8.031 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.2846, allocations: 4.938 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.2847, allocations: 168.4 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2847, allocations: 4.375 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.2848, allocations: 8.312 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.2849, allocations: 54.22 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.2849, allocations: 192 / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.2849, allocations: 7.938 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.2849, allocations: 0 / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.628e-05/0.2849, allocations: 15.94 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.285, allocations: 149.7 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.604e-05/0.2851, allocations: 30.59 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.2851, allocations: 16.91 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.2851, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.2852, allocations: 34.56 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2852, allocations: 7.938 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002141/0.2854, allocations: 111.2 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.2854, allocations: 81.11 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.2855, allocations: 93.84 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.2855, allocations: 29.7 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.2855, allocations: 84.14 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.2855, allocations: 11.89 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.2856, allocations: 17.97 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2857, allocations: 318.8 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.2857, allocations: 11.98 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/0.2857, allocations: 11.98 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.429e-05/0.2858, allocations: 76.27 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.2858, allocations: 0 / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001361/0.286, allocations: 99.31 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.286, allocations: 37.7 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.286, allocations: 12.03 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.286, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.286, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.286, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.2861, allocations: 7.984 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.2861, allocations: 4 kB / 1.223 GB, free: 10.91 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 8.237e-05/0.2862, allocations: 137.2 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.2862, allocations: 4 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.002e-05/0.2862, allocations: 11.05 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2862, allocations: 8 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.2862, allocations: 3.938 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-06/0.2863, allocations: 0 / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.14e-05/0.2863, allocations: 153.7 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2863, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.2863, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.2863, allocations: 0 / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.2863, allocations: 7.938 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2863, allocations: 0 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2863, allocations: 0 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.2865, allocations: 130.8 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.2865, allocations: 81.09 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.2866, allocations: 3.938 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2867, allocations: 4 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.2867, allocations: 4 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.2867, allocations: 8 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.188e-05/0.2867, allocations: 83.3 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.2867, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001978/0.2869, allocations: 15.94 kB / 1.224 GB, free: 10.16 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.0001868/0.2871, allocations: 120.5 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.2872, allocations: 83.38 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2872, allocations: 4.156 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.86e-05/0.2873, allocations: 75.33 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.2874, allocations: 5.719 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.2877, allocations: 108.8 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.2879, allocations: 0.6729 MB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.2879, allocations: 4 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.048e-05/0.2879, allocations: 7.438 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.2879, allocations: 0 / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of Templates: time 0.002912/0.2908, allocations: 1.1 MB / 1.226 GB, free: 7.91 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) 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) Reference file matches