Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007269/0.007269, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001782/0.001782, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.608/2.608, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2745, allocations: 151.6 MB / 1.167 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001715/0.2763, allocations: 0.5602 MB / 1.167 GB, free: 6.258 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002536/0.2765, allocations: 104 kB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.61e-05/0.2766, allocations: 0 / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.2767, allocations: 11.92 kB / 1.167 GB, free: 6.145 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.756e-05/0.2768, allocations: 4 kB / 1.167 GB, free: 6.141 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.2769, allocations: 35.91 kB / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.386e-05/0.277, allocations: 31.91 kB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.2771, allocations: 0 / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.283e-05/0.2771, allocations: 15.98 kB / 1.167 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.2772, allocations: 19.92 kB / 1.167 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.2772, allocations: 0 / 1.167 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.837e-05/0.2773, allocations: 15.98 kB / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.2773, allocations: 0 / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.2773, allocations: 8 kB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.2774, allocations: 31.89 kB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2774, allocations: 0 / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2775, allocations: 0 / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2775, allocations: 0 / 1.167 GB, free: 5.984 MB / 0.92 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.0003601/0.2778, allocations: 369.1 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2779, allocations: 8.031 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.2779, allocations: 4.938 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.278, allocations: 168.4 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2781, allocations: 4.375 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.2781, allocations: 4.375 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.2782, allocations: 54.17 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.2782, allocations: 192 / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.2782, allocations: 11.92 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2782, allocations: 0 / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.753e-05/0.2783, allocations: 11.94 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.2784, allocations: 153.7 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.402e-05/0.2785, allocations: 34.59 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.2786, allocations: 12.92 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.2786, allocations: 3.984 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.2786, allocations: 34.5 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2786, allocations: 0 / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0002429/0.2789, allocations: 111.3 kB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.2789, allocations: 81.23 kB / 1.168 GB, free: 4.738 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.604e-05/0.279, allocations: 97.86 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.279, allocations: 25.7 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.2791, allocations: 88.12 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.2791, allocations: 3.953 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.2791, allocations: 21.72 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2793, allocations: 314.8 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.391e-05/0.2793, allocations: 16.11 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.2793, allocations: 12 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.177e-05/0.2794, allocations: 84.19 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2794, allocations: 0 / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001387/0.2796, allocations: 95.38 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.2796, allocations: 33.7 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2796, allocations: 3.938 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2797, allocations: 0 / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.2797, allocations: 0 / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.2797, allocations: 8.094 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.2798, allocations: 7.984 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.2798, allocations: 4 kB / 1.169 GB, free: 3.871 MB / 0.92 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.141e-05/0.2799, allocations: 135.5 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.28, allocations: 4 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.245e-05/0.28, allocations: 7.062 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.28, allocations: 0 / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.28, allocations: 7.984 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.28, allocations: 4 kB / 1.169 GB, free: 3.699 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.2801, allocations: 153.7 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.2801, allocations: 3.938 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-06/0.2801, allocations: 3.984 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2801, allocations: 0 / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.2802, allocations: 7.938 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2802, allocations: 0 / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2802, allocations: 0 / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.2803, allocations: 126.8 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.2804, allocations: 77.11 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2804, allocations: 15.86 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.2805, allocations: 4 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.2805, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.2806, allocations: 8 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.312e-05/0.2806, allocations: 79.28 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2806, allocations: 0 / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002038/0.2808, allocations: 16.11 kB / 1.17 GB, free: 3.121 MB / 0.92 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.0002183/0.281, allocations: 126.2 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001494/0.2812, allocations: 87.31 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2812, allocations: 0 / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.805e-05/0.2813, allocations: 67.41 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.2814, allocations: 12.11 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.2817, allocations: 108.9 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.2819, allocations: 0.669 MB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.978e-05/0.282, allocations: 7.984 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.246e-05/0.282, allocations: 7.438 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.282, allocations: 0 / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of Templates: time 0.003175/0.2852, allocations: 1.1 MB / 1.172 GB, free: 0.8672 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches