Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.054/2.054, allocations: 387.2 MB / 394.5 MB, free: 7.457 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 183.8 kB / 487 MB, free: 7.789 MB / 382.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.3 MB / 0.7819 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009431/0.0009431, allocations: 92.11 kB / 0.9213 GB, free: 64.98 MB / 0.67 GB Notification: Performance of FrontEnd - loaded program: time 7.745e-06/7.755e-06, allocations: 0 / 1.066 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3145, allocations: 142.3 MB / 1.205 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7779/1.092, allocations: 148.6 MB / 1.35 GB, free: 57.49 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/1.093, allocations: 83.94 kB / 1.35 GB, free: 57.41 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.008826/1.102, allocations: 3.473 MB / 1.354 GB, free: 54.01 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.826e-06/1.102, allocations: 0 / 1.354 GB, free: 54.01 MB / 0.8731 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.000219/1.102, allocations: 341.2 kB / 1.354 GB, free: 53.62 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.102, allocations: 13.03 kB / 1.354 GB, free: 53.61 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/1.102, allocations: 3.938 kB / 1.354 GB, free: 53.61 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.612e-05/1.102, allocations: 170.5 kB / 1.354 GB, free: 53.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/1.102, allocations: 0 / 1.354 GB, free: 53.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/1.102, allocations: 4.938 kB / 1.354 GB, free: 53.4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.965e-05/1.102, allocations: 8 kB / 1.354 GB, free: 53.39 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.128e-05/1.102, allocations: 57.64 kB / 1.354 GB, free: 53.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/1.102, allocations: 0 / 1.354 GB, free: 53.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/1.102, allocations: 4.75 kB / 1.354 GB, free: 53.33 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.102, allocations: 0 / 1.354 GB, free: 53.33 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.006e-05/1.102, allocations: 130.8 kB / 1.355 GB, free: 53.17 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 4.834e-05/1.102, allocations: 31.17 kB / 1.355 GB, free: 53.13 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/1.102, allocations: 9.953 kB / 1.355 GB, free: 53.12 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/1.102, allocations: 0 / 1.355 GB, free: 53.12 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/1.102, allocations: 37.22 kB / 1.355 GB, free: 53.07 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/1.102, allocations: 0 / 1.355 GB, free: 53.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0001576/1.103, allocations: 63.34 kB / 1.355 GB, free: 53.01 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/1.103, allocations: 81.11 kB / 1.355 GB, free: 52.91 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.041e-05/1.103, allocations: 92.19 kB / 1.355 GB, free: 52.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/1.103, allocations: 25.7 kB / 1.355 GB, free: 52.79 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 1.182e-05/1.103, allocations: 80.14 kB / 1.355 GB, free: 52.7 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/1.103, allocations: 11.84 kB / 1.355 GB, free: 52.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/1.103, allocations: 0 / 1.355 GB, free: 52.69 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 4.462e-05/1.103, allocations: 314.8 kB / 1.355 GB, free: 52.38 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/1.103, allocations: 12.48 kB / 1.355 GB, free: 52.36 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/1.103, allocations: 8.688 kB / 1.355 GB, free: 52.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.259e-05/1.103, allocations: 4.625 kB / 1.355 GB, free: 52.35 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/1.103, allocations: 0 / 1.355 GB, free: 52.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.696e-05/1.103, allocations: 55.75 kB / 1.355 GB, free: 52.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/1.103, allocations: 4 kB / 1.355 GB, free: 52.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/1.103, allocations: 0 / 1.355 GB, free: 52.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/1.103, allocations: 7.984 kB / 1.355 GB, free: 52.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/1.103, allocations: 0 / 1.355 GB, free: 52.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/1.103, allocations: 3.969 kB / 1.355 GB, free: 52.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/1.103, allocations: 7.906 kB / 1.355 GB, free: 52.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/1.103, allocations: 4 kB / 1.355 GB, free: 52.27 MB / 0.8731 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 6.264e-05/1.103, allocations: 143.5 kB / 1.355 GB, free: 52.12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/1.103, allocations: 8.875 kB / 1.355 GB, free: 52.11 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.515e-05/1.103, allocations: 3.156 kB / 1.355 GB, free: 52.11 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/1.103, allocations: 0.625 kB / 1.355 GB, free: 52.11 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.103, allocations: 4.469 kB / 1.355 GB, free: 52.11 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/1.103, allocations: 0 / 1.355 GB, free: 52.11 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.091e-05/1.103, allocations: 130.7 kB / 1.356 GB, free: 51.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.103, allocations: 1.031 kB / 1.356 GB, free: 51.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-07/1.103, allocations: 0 / 1.356 GB, free: 51.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/1.103, allocations: 0 / 1.356 GB, free: 51.94 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/1.103, allocations: 8.984 kB / 1.356 GB, free: 51.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/1.103, allocations: 2.906 kB / 1.356 GB, free: 51.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/1.103, allocations: 0 / 1.356 GB, free: 51.93 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001033/1.104, allocations: 88.41 kB / 1.356 GB, free: 51.83 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/1.104, allocations: 81.8 kB / 1.356 GB, free: 51.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/1.104, allocations: 4 kB / 1.356 GB, free: 51.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/1.104, allocations: 8.609 kB / 1.356 GB, free: 51.72 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/1.104, allocations: 7.375 kB / 1.356 GB, free: 51.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/1.104, allocations: 4.625 kB / 1.356 GB, free: 51.71 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.769e-05/1.104, allocations: 76.09 kB / 1.356 GB, free: 51.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002062/1.104, allocations: 12 kB / 1.356 GB, free: 51.63 MB / 0.8731 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.0002113/1.104, allocations: 127.3 kB / 1.356 GB, free: 51.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.593e-05/1.104, allocations: 46.52 kB / 1.356 GB, free: 51.45 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.104, allocations: 0.875 kB / 1.356 GB, free: 51.45 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.272e-05/1.104, allocations: 45.69 kB / 1.356 GB, free: 51.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.835e-05/1.104, allocations: 6.406 kB / 1.356 GB, free: 51.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/1.105, allocations: 156.9 kB / 1.356 GB, free: 51.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/1.105, allocations: 0.6807 MB / 1.357 GB, free: 50.52 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.105, allocations: 4 kB / 1.357 GB, free: 50.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.002747/1.108, allocations: 0.982 MB / 1.358 GB, free: 49.61 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches