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.437/1.437, allocations: 249.3 MB / 261.8 MB, free: 5.938 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.00114/0.00114, allocations: 174.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008544/0.0008544, allocations: 90.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.422e-05, allocations: 3.984 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1922, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6491/0.8414, allocations: 131.8 MB / 1.021 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.8417, allocations: 84.33 kB / 1.021 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01016/0.8519, allocations: 3.802 MB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.493e-06/0.852, allocations: 3.938 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.852, allocations: 0 / 1.024 GB, free: 15.63 MB / 0.6511 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.0002781/0.8523, allocations: 343.2 kB / 1.025 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.8523, allocations: 16.02 kB / 1.025 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.8524, allocations: 3.938 kB / 1.025 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.8525, allocations: 171 kB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.8525, allocations: 4 kB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.8526, allocations: 4 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.8527, allocations: 56.8 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.8527, allocations: 0 / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.8527, allocations: 0 / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.8527, allocations: 0 / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.8528, allocations: 11.75 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.8529, allocations: 157.2 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.377e-05/0.853, allocations: 30.61 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.853, allocations: 20.59 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.64e-06/0.853, allocations: 0 / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.8531, allocations: 38.5 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.8531, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001878/0.8533, allocations: 86.64 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.8533, allocations: 81.11 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.8534, allocations: 93.02 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.8534, allocations: 29.7 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.8535, allocations: 80.14 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.8535, allocations: 11.81 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.8535, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.8536, allocations: 310.8 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.8537, allocations: 8 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.293e-05/0.8537, allocations: 11.38 kB / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.8537, allocations: 45.81 kB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.8538, allocations: 3.953 kB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001274/0.8539, allocations: 94.42 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.8539, allocations: 42.72 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.854, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.854, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.854, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.854, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.8541, allocations: 4 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.8541, allocations: 8.031 kB / 1.026 GB, free: 13.69 MB / 0.6511 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 8.891e-05/0.8542, allocations: 138.4 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.8542, allocations: 7.953 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.8543, allocations: 7.078 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.8543, allocations: 0 / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.8543, allocations: 4 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.8543, allocations: 0 / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.8544, allocations: 149.7 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.8544, allocations: 3.938 kB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-06/0.8544, allocations: 11.94 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.8544, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.8544, allocations: 7.5 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.8545, allocations: 4 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.8545, allocations: 3.938 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.8546, allocations: 110.3 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.8547, allocations: 81.09 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.8547, allocations: 7.953 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/0.8548, allocations: 8.031 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.8548, allocations: 4 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.8548, allocations: 7.734 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.8549, allocations: 79.28 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8549, allocations: 0 / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001998/0.8551, allocations: 12 kB / 1.027 GB, free: 12.97 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.0002555/0.8554, allocations: 113.7 kB / 1.027 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.8555, allocations: 87.27 kB / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.8555, allocations: 0 / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.284e-05/0.8556, allocations: 70.91 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.876e-05/0.8557, allocations: 4 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.8562, allocations: 175.9 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.8565, allocations: 0.6731 MB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.381e-05/0.8566, allocations: 15.86 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.077e-05/0.8566, allocations: 7.438 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of SimCode: time 5.61e-07/0.8566, allocations: 0 / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of Templates: time 0.002993/0.8596, allocations: 1.018 MB / 1.029 GB, free: 10.79 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