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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.215/1.215, allocations: 249.4 MB / 256.7 MB, free: 7.02 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.000968/0.000968, allocations: 177.2 kB / 316 MB, free: 3.586 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.051/1.051, allocations: 205.2 MB / 0.5667 GB, free: 15.7 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.000792/0.000792, allocations: 90.16 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.771e-06/5.791e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1347, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/0.5351, allocations: 132.1 MB / 1.014 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.5354, allocations: 82.12 kB / 1.014 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.009384/0.5448, allocations: 3.436 MB / 1.017 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.5448, allocations: 7.375 kB / 1.017 GB, free: 3.707 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.0002327/0.545, allocations: 332.2 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.5451, allocations: 12.03 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.5451, allocations: 7.891 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.5452, allocations: 167 kB / 1.018 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.5452, allocations: 0 / 1.018 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.5453, allocations: 4 kB / 1.018 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.663e-05/0.5453, allocations: 10.62 kB / 1.018 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.13e-05/0.5454, allocations: 53.02 kB / 1.018 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.5454, allocations: 4 kB / 1.018 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.5454, allocations: 0 / 1.018 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5454, allocations: 7.922 kB / 1.018 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.5455, allocations: 133.8 kB / 1.018 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.464e-05/0.5456, allocations: 26.11 kB / 1.018 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.5456, allocations: 12.91 kB / 1.018 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.5456, allocations: 8 kB / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.5457, allocations: 30.56 kB / 1.018 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.5457, allocations: 0 / 1.018 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.5458, allocations: 56.72 kB / 1.018 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.5459, allocations: 81.11 kB / 1.018 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.473e-05/0.5459, allocations: 92.94 kB / 1.018 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.546, allocations: 28.95 kB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.546, allocations: 84.3 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.546, allocations: 7.938 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.546, allocations: 0 / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.5461, allocations: 314.8 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.5462, allocations: 11.31 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.77e-05/0.5462, allocations: 4 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.152e-05/0.5462, allocations: 6.812 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5462, allocations: 0 / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.359e-05/0.5463, allocations: 65.08 kB / 1.019 GB, free: 2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5463, allocations: 4 kB / 1.019 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.5463, allocations: 3.938 kB / 1.019 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.5464, allocations: 4 kB / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-07/0.5464, allocations: 0 / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.5464, allocations: 0 / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.5465, allocations: 4 kB / 1.019 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.5465, allocations: 7.375 kB / 1.019 GB, free: 1.98 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 7.424e-05/0.5466, allocations: 134.7 kB / 1.019 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.5466, allocations: 11.94 kB / 1.019 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.374e-05/0.5466, allocations: 7.109 kB / 1.019 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.5466, allocations: 3.938 kB / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5466, allocations: 0 / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.5466, allocations: 0 / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.5467, allocations: 130.2 kB / 1.019 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5468, allocations: 3.906 kB / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-06/0.5468, allocations: 7.922 kB / 1.019 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.5468, allocations: 0 / 1.019 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.5468, allocations: 7.562 kB / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.5468, allocations: 0 / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5468, allocations: 4 kB / 1.019 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001056/0.5469, allocations: 84.38 kB / 1.019 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.5469, allocations: 81.02 kB / 1.019 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.547, allocations: 7.984 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.706e-05/0.5471, allocations: 4 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.5471, allocations: 0 / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.5471, allocations: 11.66 kB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.364e-05/0.5471, allocations: 75.78 kB / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001792/0.5473, allocations: 19.98 kB / 1.019 GB, free: 1.328 MB / 0.6355 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.0001936/0.5475, allocations: 116.4 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.539e-05/0.5476, allocations: 53.28 kB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.5476, allocations: 0 / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.5477, allocations: 41.33 kB / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.835e-05/0.5478, allocations: 7.906 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.5482, allocations: 157.5 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.5484, allocations: 0.6802 MB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of SimCode: time 2.11e-07/0.5484, allocations: 4 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of Templates: time 0.002489/0.5509, allocations: 0.9763 MB / 1.021 GB, free: 15.27 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