Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 180.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009492/0.0009492, allocations: 88.73 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.913e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2251, allocations: 106.4 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7098/0.935, allocations: 132.1 MB / 1.014 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.9353, allocations: 82.06 kB / 1.014 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009827/0.9452, allocations: 3.811 MB / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9452, allocations: 3.938 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.9452, allocations: 0 / 1.018 GB, free: 2.43 MB / 0.6355 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.0003027/0.9455, allocations: 351.8 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.9456, allocations: 8.031 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.9456, allocations: 8 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.9458, allocations: 163 kB / 1.019 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.9458, allocations: 0 / 1.019 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.9458, allocations: 4 kB / 1.019 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.655e-05/0.9459, allocations: 11.56 kB / 1.019 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.014e-05/0.946, allocations: 52.8 kB / 1.019 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.946, allocations: 0 / 1.019 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.946, allocations: 0 / 1.019 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.946, allocations: 0 / 1.019 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.9461, allocations: 141.3 kB / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.232e-05/0.9462, allocations: 26.55 kB / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.9462, allocations: 20.72 kB / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.9463, allocations: 0 / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.9463, allocations: 30.56 kB / 1.019 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.9463, allocations: 0 / 1.019 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001952/0.9465, allocations: 60.84 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.9466, allocations: 85.11 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.9466, allocations: 85 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.9467, allocations: 29.7 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.9467, allocations: 80.14 kB / 1.019 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.9467, allocations: 7.125 kB / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.9468, allocations: 4 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.9469, allocations: 314.8 kB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.9469, allocations: 8.125 kB / 1.019 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.997e-05/0.947, allocations: 11.12 kB / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.947, allocations: 7.984 kB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.947, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001046/0.9471, allocations: 63.8 kB / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.9472, allocations: 39.83 kB / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.9472, allocations: 0 / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.9472, allocations: 0 / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.9472, allocations: 0 / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.9472, allocations: 96 / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.9473, allocations: 11.98 kB / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.9473, allocations: 7.188 kB / 1.02 GB, free: 0.6562 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.92e-05/0.9474, allocations: 136.7 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.9475, allocations: 7.953 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.84e-05/0.9475, allocations: 7.703 kB / 1.02 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.9475, allocations: 4 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9475, allocations: 0 / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9475, allocations: 3.984 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.627e-05/0.9476, allocations: 141.3 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9476, allocations: 0 / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.9476, allocations: 0 / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.9476, allocations: 0 / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.9477, allocations: 4 kB / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.9477, allocations: 3.953 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.9477, allocations: 4 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.9478, allocations: 83.3 kB / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.9479, allocations: 84.39 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.9479, allocations: 0 / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.181e-05/0.948, allocations: 8 kB / 1.02 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.948, allocations: 11.88 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.948, allocations: 4 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.9481, allocations: 75.28 kB / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9481, allocations: 3.938 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002049/0.9483, allocations: 12.05 kB / 1.02 GB, free: 15.99 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002692/0.9486, allocations: 114.6 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.9487, allocations: 81.91 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9487, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.636e-05/0.9488, allocations: 66.41 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.9489, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005518/0.9494, allocations: 172.5 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.9497, allocations: 0.6729 MB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.58e-05/0.9497, allocations: 7.984 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.063e-05/0.9497, allocations: 7.438 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.9497, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of Templates: time 0.002974/0.9527, allocations: 0.995 MB / 1.022 GB, free: 13.86 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches