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.341/1.341, allocations: 251.9 MB / 266.9 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 183 kB / 326.5 MB, free: 2.227 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.539/1.539, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.001094/0.001094, allocations: 86.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003508, allocations: 9.031 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1862, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1538/0.34, allocations: 131.9 MB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.3403, allocations: 91.92 kB / 1.029 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01035/0.3507, allocations: 3.798 MB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3507, allocations: 0 / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.3508, allocations: 4 kB / 1.033 GB, free: 7.973 MB / 0.6823 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.0002694/0.351, allocations: 349 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3511, allocations: 15.97 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.3511, allocations: 0 / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3512, allocations: 171 kB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3513, allocations: 7.922 kB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.3513, allocations: 4 kB / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.3514, allocations: 49.67 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.3514, allocations: 8 kB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3514, allocations: 0 / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.3514, allocations: 0 / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.3515, allocations: 11.98 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.3516, allocations: 157.6 kB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.652e-05/0.3517, allocations: 30.55 kB / 1.033 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.3517, allocations: 0 / 1.033 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.3517, allocations: 34.56 kB / 1.033 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3517, allocations: 4.062 kB / 1.033 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002178/0.3519, allocations: 99.38 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.352, allocations: 81.09 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.085e-05/0.3521, allocations: 96.94 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3521, allocations: 25.7 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.904e-05/0.3521, allocations: 80.14 kB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.3521, allocations: 8.188 kB / 1.034 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.3522, allocations: 4 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.3523, allocations: 310.8 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.3523, allocations: 15.98 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.3523, allocations: 8 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.892e-05/0.3524, allocations: 41.69 kB / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3524, allocations: 0 / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001268/0.3525, allocations: 95.25 kB / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.3526, allocations: 33.7 kB / 1.034 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3526, allocations: 4.094 kB / 1.034 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3526, allocations: 3.984 kB / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.3526, allocations: 0 / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3526, allocations: 0 / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3527, allocations: 12 kB / 1.034 GB, free: 6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.3527, allocations: 0 / 1.034 GB, free: 6 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.3529, allocations: 155.4 kB / 1.035 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.3529, allocations: 7.953 kB / 1.035 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.152e-05/0.3529, allocations: 3.125 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3529, allocations: 4 kB / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3529, allocations: 0 / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3529, allocations: 0 / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.735e-05/0.353, allocations: 149.7 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.353, allocations: 0 / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-07/0.353, allocations: 0 / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.353, allocations: 7.938 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3531, allocations: 11.94 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3531, allocations: 0 / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3531, allocations: 0 / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.3532, allocations: 114.8 kB / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.3533, allocations: 89.08 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3533, allocations: 3.953 kB / 1.035 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.3534, allocations: 4 kB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.3534, allocations: 8 kB / 1.035 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.3534, allocations: 7.984 kB / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.975e-05/0.3535, allocations: 83.25 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3535, allocations: 0 / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001871/0.3537, allocations: 12 kB / 1.035 GB, free: 5.242 MB / 0.6823 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 (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.0002036/0.3539, allocations: 117.1 kB / 1.035 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.354, allocations: 91.38 kB / 1.035 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.354, allocations: 4.156 kB / 1.035 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.562e-05/0.3541, allocations: 67.39 kB / 1.035 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.362e-05/0.3542, allocations: 4 kB / 1.035 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.3547, allocations: 202.5 kB / 1.035 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.3549, allocations: 0.6731 MB / 1.036 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.735e-05/0.355, allocations: 11.92 kB / 1.036 GB, free: 4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.355, allocations: 7.438 kB / 1.036 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of SimCode: time 2.81e-07/0.355, allocations: 4.062 kB / 1.036 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of Templates: time 0.00292/0.3579, allocations: 1.019 MB / 1.037 GB, free: 2.984 MB / 0.6823 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