Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.989/1.989, allocations: 390.4 MB / 397.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009823/0.0009825, allocations: 185.2 kB / 490.8 MB, free: 1.926 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 221.3 MB / 0.7863 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009446/0.0009446, allocations: 99.78 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.855e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2941, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7041/0.9983, allocations: 152.3 MB / 1.36 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.9986, allocations: 86.33 kB / 1.36 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01349/1.012, allocations: 3.187 MB / 1.364 GB, free: 17.04 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.578e-06/1.012, allocations: 0 / 1.364 GB, free: 17.04 MB / 0.823 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.0004219/1.013, allocations: 351 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/1.013, allocations: 12.88 kB / 1.364 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.819e-05/1.013, allocations: 86.38 kB / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/1.013, allocations: 270.6 kB / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.181e-05/1.013, allocations: 151.9 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.326e-05/1.013, allocations: 151.9 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.521e-05/1.013, allocations: 159.1 kB / 1.365 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.774e-05/1.013, allocations: 103.7 kB / 1.365 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/1.013, allocations: 75.28 kB / 1.365 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.931e-05/1.013, allocations: 150.6 kB / 1.365 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-05/1.014, allocations: 154.7 kB / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/1.014, allocations: 449.8 kB / 1.366 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.751e-05/1.014, allocations: 166.2 kB / 1.366 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/1.014, allocations: 85.78 kB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/1.014, allocations: 75.28 kB / 1.366 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/1.014, allocations: 111.4 kB / 1.366 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/1.014, allocations: 4 kB / 1.366 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.819e-05/1.014, allocations: 37.38 kB / 1.366 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/1.014, allocations: 51.41 kB / 1.366 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/1.014, allocations: 118.2 kB / 1.366 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/1.014, allocations: 25.7 kB / 1.366 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/1.015, allocations: 86.91 kB / 1.366 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/1.015, allocations: 1.25 kB / 1.366 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/1.015, allocations: 0 / 1.366 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.015, allocations: 326.4 kB / 1.367 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/1.015, allocations: 2.5 kB / 1.367 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.628e-05/1.015, allocations: 6.625 kB / 1.367 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/1.015, allocations: 27.25 kB / 1.367 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.015, allocations: 0 / 1.367 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002569/1.015, allocations: 61.58 kB / 1.367 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.015, allocations: 9.062 kB / 1.367 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/1.015, allocations: 5.844 kB / 1.367 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/1.015, allocations: 4.547 kB / 1.367 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.203e-06/1.015, allocations: 0 / 1.367 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.015, allocations: 1 kB / 1.367 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.159e-05/1.015, allocations: 6.078 kB / 1.367 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/1.015, allocations: 0 / 1.367 GB, free: 29.8 MB / 0.8386 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 0.0001109/1.015, allocations: 177.7 kB / 1.367 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/1.016, allocations: 113.8 kB / 1.367 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/1.016, allocations: 111.1 kB / 1.367 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.571e-05/1.016, allocations: 183.1 kB / 1.367 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-05/1.016, allocations: 181.1 kB / 1.367 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-05/1.016, allocations: 185.3 kB / 1.368 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/1.016, allocations: 393.9 kB / 1.368 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.588e-05/1.016, allocations: 102.6 kB / 1.368 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/1.016, allocations: 109.6 kB / 1.368 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-05/1.016, allocations: 182.3 kB / 1.368 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.716e-05/1.016, allocations: 181.2 kB / 1.369 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.209e-05/1.016, allocations: 180.9 kB / 1.369 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.086e-05/1.016, allocations: 178 kB / 1.369 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001463/1.017, allocations: 319.2 kB / 1.369 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/1.017, allocations: 182.2 kB / 1.369 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.204e-05/1.017, allocations: 185.8 kB / 1.37 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/1.017, allocations: 103 kB / 1.37 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/1.017, allocations: 177.1 kB / 1.37 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/1.017, allocations: 103.1 kB / 1.37 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.234e-05/1.017, allocations: 103.9 kB / 1.37 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003676/1.017, allocations: 43.98 kB / 1.37 GB, free: 26.29 MB / 0.8386 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.0004322/1.018, allocations: 230.5 kB / 1.37 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.998e-05/1.018, allocations: 39.75 kB / 1.37 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.018, allocations: 0.9688 kB / 1.37 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/1.018, allocations: 4.062 kB / 1.37 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/1.019, allocations: 0.5259 MB / 1.371 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/1.019, allocations: 152.4 kB / 1.371 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/1.019, allocations: 0.6995 MB / 1.372 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.019, allocations: 0 / 1.372 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of Templates: time 0.004833/1.024, allocations: 1.44 MB / 1.373 GB, free: 24.61 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches