Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [: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.958/1.958, 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.001075/0.001075, allocations: 193.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.35/1.35, allocations: 221.4 MB / 0.7863 GB, free: 13.66 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.001053/0.001053, allocations: 93.36 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.045e-05/1.048e-05, allocations: 3.938 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2829, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7093/0.9922, allocations: 157.9 MB / 1.366 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.9925, allocations: 107.5 kB / 1.366 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.04794/1.04, allocations: 17.69 MB / 1.383 GB, free: 14.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.538e-05/1.041, allocations: 6.438 kB / 1.383 GB, free: 14.5 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008409/1.041, allocations: 0.584 MB / 1.384 GB, free: 30 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/1.041, allocations: 9.25 kB / 1.384 GB, free: 30 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/1.042, allocations: 45.84 kB / 1.384 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/1.042, allocations: 355.8 kB / 1.384 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/1.042, allocations: 6.5 kB / 1.384 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/1.042, allocations: 15.12 kB / 1.384 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002698/1.042, allocations: 121 kB / 1.384 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/1.043, allocations: 161.3 kB / 1.384 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/1.043, allocations: 1.125 kB / 1.384 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/1.043, allocations: 0 / 1.384 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/1.043, allocations: 5.312 kB / 1.384 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/1.044, allocations: 0.8198 MB / 1.385 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/1.044, allocations: 109.3 kB / 1.385 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/1.044, allocations: 91.91 kB / 1.385 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/1.044, allocations: 6.25 kB / 1.385 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/1.044, allocations: 42.75 kB / 1.385 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 2.063e-06/1.044, allocations: 0 / 1.385 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0003143/1.045, allocations: 162.4 kB / 1.386 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.783e-05/1.045, allocations: 52.78 kB / 1.386 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/1.045, allocations: 330.5 kB / 1.386 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/1.045, allocations: 25.7 kB / 1.386 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/1.045, allocations: 151.1 kB / 1.386 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/1.045, allocations: 62.06 kB / 1.386 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/1.045, allocations: 0 / 1.386 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.045, allocations: 348.3 kB / 1.387 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-05/1.045, allocations: 42.22 kB / 1.387 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/1.046, allocations: 42.16 kB / 1.387 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.955e-05/1.046, allocations: 43.58 kB / 1.387 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.046, allocations: 1.438 kB / 1.387 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000248/1.046, allocations: 173.3 kB / 1.387 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.046, allocations: 4 kB / 1.387 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.046, allocations: 1.312 kB / 1.387 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/1.046, allocations: 1.344 kB / 1.387 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/1.046, allocations: 62.8 kB / 1.387 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/1.046, allocations: 1.312 kB / 1.387 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/1.046, allocations: 22.08 kB / 1.387 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/1.046, allocations: 7.938 kB / 1.387 GB, free: 28.17 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 6.743e-05/1.047, allocations: 106.2 kB / 1.387 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/1.047, allocations: 38.59 kB / 1.387 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.623e-05/1.047, allocations: 33.09 kB / 1.387 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.047, allocations: 2 kB / 1.387 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.047, allocations: 0 / 1.387 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/1.047, allocations: 0 / 1.387 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/1.047, allocations: 334 kB / 1.387 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/1.047, allocations: 3.906 kB / 1.387 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/1.047, allocations: 61.39 kB / 1.387 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.047, allocations: 1.312 kB / 1.387 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/1.047, allocations: 3.625 kB / 1.387 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.047, allocations: 1.844 kB / 1.387 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.047, allocations: 3.938 kB / 1.387 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003921/1.048, allocations: 327.9 kB / 1.388 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/1.048, allocations: 115.2 kB / 1.388 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/1.048, allocations: 1.656 kB / 1.388 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/1.048, allocations: 15.11 kB / 1.388 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/1.048, allocations: 11.8 kB / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/1.048, allocations: 3.438 kB / 1.388 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003236/1.049, allocations: 266.8 kB / 1.388 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003606/1.049, allocations: 76.73 kB / 1.388 GB, free: 27.37 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0003535/1.049, allocations: 262.3 kB / 1.388 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002112/1.049, allocations: 113.2 kB / 1.389 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/1.049, allocations: 4 kB / 1.389 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.297e-05/1.05, allocations: 64.06 kB / 1.389 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/1.05, allocations: 68.98 kB / 1.389 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000993/1.051, allocations: 0.5202 MB / 1.389 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/1.052, allocations: 0.8366 MB / 1.39 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.052, allocations: 0 / 1.39 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of Templates: time 0.007626/1.059, allocations: 3.621 MB / 1.394 GB, free: 24.39 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches