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.SingleUTubeResistances.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.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [: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.196/1.196, allocations: 249.4 MB / 256.7 MB, free: 6.984 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.0009681/0.0009682, allocations: 197 kB / 316 MB, free: 3.488 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.035/1.035, allocations: 205.2 MB / 0.5667 GB, free: 15.56 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.0008159/0.0008159, allocations: 94.52 kB / 0.671 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.881e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1455, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4372/0.5828, allocations: 135 MB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.583, allocations: 91.42 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01218/0.5952, allocations: 3.078 MB / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.5953, allocations: 4 kB / 1.02 GB, free: 0.8125 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002415/0.5955, allocations: 357.4 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.5956, allocations: 8.031 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.5956, allocations: 79.19 kB / 1.02 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.5958, allocations: 264.4 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/0.5959, allocations: 158 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.5959, allocations: 154.6 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.665e-05/0.596, allocations: 159.4 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.134e-05/0.596, allocations: 103.4 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.5961, allocations: 75.28 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.5961, allocations: 150.6 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/0.5962, allocations: 158.5 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.5964, allocations: 441.7 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 5.991e-05/0.5964, allocations: 165.1 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.5965, allocations: 87.27 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.5965, allocations: 79.28 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.5965, allocations: 105.8 kB / 1.022 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.5965, allocations: 3.938 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.06e-05/0.5966, allocations: 37.55 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.5966, allocations: 51.41 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.009e-05/0.5967, allocations: 119.1 kB / 1.022 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.5968, allocations: 25.7 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.5968, allocations: 91.06 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-06/0.5968, allocations: 4 kB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.5968, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.5969, allocations: 313.9 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.5969, allocations: 7.688 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-06/0.5969, allocations: 0 / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.5971, allocations: 23.97 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5971, allocations: 4.219 kB / 1.023 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001813/0.5972, allocations: 68.69 kB / 1.023 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.5973, allocations: 7.938 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.5973, allocations: 8.062 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.5973, allocations: 0 / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.184e-06/0.5973, allocations: 3.938 kB / 1.023 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.5973, allocations: 0 / 1.023 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/0.5973, allocations: 3.906 kB / 1.023 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.5974, allocations: 0 / 1.023 GB, free: 13.4 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: 0 * Record equations: 1 * 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.233e-05/0.5974, allocations: 183.4 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.5975, allocations: 108.1 kB / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.5975, allocations: 116.6 kB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.864e-05/0.5976, allocations: 180.2 kB / 1.023 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-05/0.5976, allocations: 176.3 kB / 1.023 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.186e-05/0.5977, allocations: 181 kB / 1.024 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.5978, allocations: 399.9 kB / 1.024 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.787e-05/0.5979, allocations: 109 kB / 1.024 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/0.5979, allocations: 101 kB / 1.024 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.125e-05/0.598, allocations: 184.2 kB / 1.024 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.598, allocations: 183.5 kB / 1.025 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-05/0.5981, allocations: 180.2 kB / 1.025 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.213e-05/0.5981, allocations: 184.2 kB / 1.025 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.501e-05/0.5982, allocations: 308.4 kB / 1.025 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.5983, allocations: 189.9 kB / 1.025 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/0.5983, allocations: 180.3 kB / 1.026 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.5984, allocations: 101 kB / 1.026 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.5985, allocations: 188.2 kB / 1.026 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.5985, allocations: 101 kB / 1.026 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.455e-05/0.5985, allocations: 101.4 kB / 1.026 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002431/0.5988, allocations: 43.81 kB / 1.026 GB, free: 9.797 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0002798/0.5991, allocations: 240.7 kB / 1.026 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.354e-05/0.5991, allocations: 41.58 kB / 1.026 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5992, allocations: 0 / 1.026 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/0.5992, allocations: 3.938 kB / 1.026 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.5994, allocations: 0.5213 MB / 1.027 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.5996, allocations: 154.8 kB / 1.027 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.5998, allocations: 0.6958 MB / 1.028 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.5999, allocations: 0 / 1.028 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of Templates: time 0.00323/0.6031, allocations: 1.427 MB / 1.029 GB, free: 6.707 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches