Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0") [: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.202/1.202, allocations: 249.4 MB / 256.7 MB, free: 6.965 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.00105/0.00105, allocations: 181.2 kB / 316 MB, free: 3.492 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.073/1.073, allocations: 205.2 MB / 0.5667 GB, free: 15.55 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.0008512/0.0008514, allocations: 86.27 kB / 0.671 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.074e-06/7.094e-06, allocations: 4 kB / 0.7807 GB, free: 51.28 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1558, allocations: 106.3 MB / 0.8846 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3927/0.5485, allocations: 130.6 MB / 1.012 GB, free: 55.18 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/0.5487, allocations: 77.98 kB / 1.012 GB, free: 55.18 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.005144/0.5539, allocations: 1.768 MB / 1.014 GB, free: 55.12 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.5539, allocations: 0 / 1.014 GB, free: 55.12 MB / 0.6667 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.0001559/0.5541, allocations: 344.7 kB / 1.014 GB, free: 54.76 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.5541, allocations: 7.75 kB / 1.014 GB, free: 54.76 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.975e-05/0.5541, allocations: 0.5625 kB / 1.014 GB, free: 54.76 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.584e-05/0.5542, allocations: 159.7 kB / 1.014 GB, free: 54.56 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.5542, allocations: 7.875 kB / 1.014 GB, free: 54.56 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-06/0.5542, allocations: 3.547 kB / 1.014 GB, free: 54.56 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.483e-05/0.5543, allocations: 0 / 1.014 GB, free: 54.56 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.954e-05/0.5543, allocations: 31.88 kB / 1.014 GB, free: 54.53 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.5543, allocations: 0 / 1.014 GB, free: 54.53 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.5543, allocations: 4.516 kB / 1.014 GB, free: 54.52 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.5543, allocations: 0 / 1.014 GB, free: 54.52 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.206e-05/0.5544, allocations: 127 kB / 1.015 GB, free: 54.37 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 2.31e-05/0.5544, allocations: 17.48 kB / 1.015 GB, free: 54.34 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.243e-05/0.5545, allocations: 7.859 kB / 1.015 GB, free: 54.34 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004503/0.5549, allocations: 444.5 kB / 1.015 GB, free: 53.86 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.5549, allocations: 40.25 kB / 1.015 GB, free: 53.82 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.5549, allocations: 0 / 1.015 GB, free: 53.82 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.5551, allocations: 29.3 kB / 1.015 GB, free: 53.79 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.366e-05/0.5551, allocations: 52.11 kB / 1.015 GB, free: 53.73 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.064e-05/0.5551, allocations: 91.53 kB / 1.015 GB, free: 53.63 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-06/0.5551, allocations: 25.7 kB / 1.015 GB, free: 53.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.398e-06/0.5551, allocations: 80.14 kB / 1.015 GB, free: 53.52 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.5551, allocations: 4.656 kB / 1.015 GB, free: 53.52 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-06/0.5551, allocations: 0 / 1.015 GB, free: 53.52 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 3.331e-05/0.5552, allocations: 311.5 kB / 1.016 GB, free: 53.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-06/0.5552, allocations: 6.75 kB / 1.016 GB, free: 53.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-06/0.5552, allocations: 0 / 1.016 GB, free: 53.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.69e-05/0.5552, allocations: 7.078 kB / 1.016 GB, free: 53.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5552, allocations: 0 / 1.016 GB, free: 53.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.004e-05/0.5553, allocations: 36.23 kB / 1.016 GB, free: 53.16 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.5553, allocations: 2.5 kB / 1.016 GB, free: 53.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.5553, allocations: 3.391 kB / 1.016 GB, free: 53.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.5553, allocations: 0 / 1.016 GB, free: 53.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.017e-05/0.5554, allocations: 1.031 kB / 1.016 GB, free: 53.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.5554, allocations: 3.781 kB / 1.016 GB, free: 53.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-06/0.5554, allocations: 3.906 kB / 1.016 GB, free: 53.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.5554, allocations: 4.781 kB / 1.016 GB, free: 53.16 MB / 0.6667 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): 1 * 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 2.987e-05/0.5554, allocations: 105.7 kB / 1.016 GB, free: 53.05 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-06/0.5554, allocations: 3.953 kB / 1.016 GB, free: 53.05 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/0.5555, allocations: 37.45 kB / 1.016 GB, free: 53.01 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.5555, allocations: 0 / 1.016 GB, free: 53.01 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.5555, allocations: 0 / 1.016 GB, free: 53.01 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.5555, allocations: 7.109 kB / 1.016 GB, free: 53.01 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.226e-05/0.5556, allocations: 127.5 kB / 1.016 GB, free: 52.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.5556, allocations: 0 / 1.016 GB, free: 52.85 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.085e-05/0.5556, allocations: 4.828 kB / 1.016 GB, free: 52.85 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.5556, allocations: 4.031 kB / 1.016 GB, free: 52.84 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-06/0.5556, allocations: 0.75 kB / 1.016 GB, free: 52.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.5556, allocations: 0 / 1.016 GB, free: 52.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5556, allocations: 3.938 kB / 1.016 GB, free: 52.84 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.957e-05/0.5557, allocations: 60.78 kB / 1.016 GB, free: 52.78 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.5557, allocations: 77.72 kB / 1.016 GB, free: 52.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.5557, allocations: 3.453 kB / 1.016 GB, free: 52.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-06/0.5557, allocations: 4.031 kB / 1.016 GB, free: 52.68 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.5557, allocations: 2.906 kB / 1.016 GB, free: 52.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.5557, allocations: 0 / 1.016 GB, free: 52.68 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.058e-05/0.5558, allocations: 75.28 kB / 1.016 GB, free: 52.61 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002108/0.556, allocations: 40.53 kB / 1.016 GB, free: 52.59 MB / 0.6667 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): 1 * 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.0002824/0.5563, allocations: 170.7 kB / 1.016 GB, free: 52.48 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 4.508e-05/0.5563, allocations: 5 kB / 1.016 GB, free: 52.48 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.5563, allocations: 0 / 1.016 GB, free: 52.48 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-06/0.5563, allocations: 0.5625 kB / 1.016 GB, free: 52.48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.124e-05/0.5564, allocations: 8.438 kB / 1.016 GB, free: 52.48 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001174/0.5565, allocations: 47.83 kB / 1.016 GB, free: 52.41 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.726e-05/0.5566, allocations: 0.6847 MB / 1.017 GB, free: 51.71 MB / 0.6667 GB Notification: Performance of SimCode: time 2.31e-07/0.5566, allocations: 0 / 1.017 GB, free: 51.71 MB / 0.6667 GB Notification: Performance of Templates: time 0.002153/0.5588, allocations: 0.6047 MB / 1.018 GB, free: 51.67 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches