Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1") [: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.201/1.201, allocations: 249.4 MB / 256.7 MB, free: 0.7031 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 191.2 kB / 316 MB, free: 8.93 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.051/1.051, allocations: 205.1 MB / 0.5667 GB, free: 13.44 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000823/0.0008232, allocations: 92.36 kB / 0.671 GB, free: 51.53 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 8.416e-06/8.436e-06, allocations: 4 kB / 0.7807 GB, free: 9.965 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.407, allocations: 106.3 MB / 0.8846 GB, free: 89.31 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.5421, allocations: 130.7 MB / 1.012 GB, free: 15.08 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.5423, allocations: 74.91 kB / 1.012 GB, free: 15.01 MB / 0.659 GB Notification: Performance of FrontEnd: time 0.005984/0.5483, allocations: 1.838 MB / 1.014 GB, free: 13.22 MB / 0.659 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.5483, allocations: 0 / 1.014 GB, free: 13.22 MB / 0.659 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.0002175/0.5486, allocations: 335.7 kB / 1.014 GB, free: 12.85 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.5486, allocations: 8.031 kB / 1.014 GB, free: 12.84 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.5486, allocations: 4.344 kB / 1.014 GB, free: 12.84 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.805e-05/0.5487, allocations: 167 kB / 1.015 GB, free: 12.64 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.5487, allocations: 1 kB / 1.015 GB, free: 12.64 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.5488, allocations: 4 kB / 1.015 GB, free: 12.64 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.517e-05/0.5488, allocations: 0 / 1.015 GB, free: 12.64 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.435e-05/0.5488, allocations: 26.8 kB / 1.015 GB, free: 12.61 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.5489, allocations: 0 / 1.015 GB, free: 12.61 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.5489, allocations: 0.8438 kB / 1.015 GB, free: 12.61 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.5489, allocations: 0 / 1.015 GB, free: 12.61 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.549, allocations: 134.7 kB / 1.015 GB, free: 12.44 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 3.042e-05/0.549, allocations: 22 kB / 1.015 GB, free: 12.41 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.549, allocations: 14.3 kB / 1.015 GB, free: 12.4 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006184/0.5497, allocations: 457.7 kB / 1.015 GB, free: 11.86 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.5497, allocations: 31.28 kB / 1.015 GB, free: 11.82 MB / 0.659 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.5497, allocations: 2.031 kB / 1.015 GB, free: 11.82 MB / 0.659 GB Notification: Performance of matching and sorting (n=1): time 0.0001199/0.5498, allocations: 30.73 kB / 1.015 GB, free: 11.79 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.5499, allocations: 51.41 kB / 1.015 GB, free: 11.73 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.645e-05/0.5499, allocations: 88.94 kB / 1.015 GB, free: 11.63 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.5499, allocations: 26.42 kB / 1.015 GB, free: 11.6 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.5499, allocations: 82.98 kB / 1.015 GB, free: 11.52 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.55, allocations: 11.91 kB / 1.015 GB, free: 11.51 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-06/0.55, allocations: 0 / 1.015 GB, free: 11.51 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.5501, allocations: 310.8 kB / 1.016 GB, free: 11.2 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-06/0.5501, allocations: 0 / 1.016 GB, free: 11.2 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-06/0.5501, allocations: 3.984 kB / 1.016 GB, free: 11.19 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.624e-05/0.5501, allocations: 6.469 kB / 1.016 GB, free: 11.19 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5501, allocations: 4.875 kB / 1.016 GB, free: 11.18 MB / 0.659 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.261e-05/0.5502, allocations: 29.7 kB / 1.016 GB, free: 11.15 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.5502, allocations: 4 kB / 1.016 GB, free: 11.14 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.5502, allocations: 0 / 1.016 GB, free: 11.14 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/0.5502, allocations: 0 / 1.016 GB, free: 11.14 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.21e-05/0.5503, allocations: 5.5 kB / 1.016 GB, free: 11.14 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.5503, allocations: 0 / 1.016 GB, free: 11.14 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.898e-06/0.5503, allocations: 3.906 kB / 1.016 GB, free: 11.14 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.5503, allocations: 0 / 1.016 GB, free: 11.14 MB / 0.659 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 8.959e-05/0.5504, allocations: 105.7 kB / 1.016 GB, free: 11.03 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-06/0.5504, allocations: 5.906 kB / 1.016 GB, free: 11.02 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.549e-05/0.5505, allocations: 45.83 kB / 1.016 GB, free: 10.98 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.5505, allocations: 4 kB / 1.016 GB, free: 10.98 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.5505, allocations: 0 / 1.016 GB, free: 10.98 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5505, allocations: 3.906 kB / 1.016 GB, free: 10.97 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.483e-05/0.5506, allocations: 126.2 kB / 1.016 GB, free: 10.81 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.5506, allocations: 0 / 1.016 GB, free: 10.81 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.177e-05/0.5506, allocations: 4 kB / 1.016 GB, free: 10.81 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.5506, allocations: 0 / 1.016 GB, free: 10.81 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.5506, allocations: 0 / 1.016 GB, free: 10.81 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5506, allocations: 5.672 kB / 1.016 GB, free: 10.8 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5506, allocations: 0 / 1.016 GB, free: 10.8 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.161e-05/0.5507, allocations: 57.03 kB / 1.016 GB, free: 10.73 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.5507, allocations: 77.11 kB / 1.016 GB, free: 10.64 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.5507, allocations: 4 kB / 1.016 GB, free: 10.63 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-06/0.5507, allocations: 0 / 1.016 GB, free: 10.63 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.5508, allocations: 0.8125 kB / 1.016 GB, free: 10.63 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-06/0.5508, allocations: 7.969 kB / 1.016 GB, free: 10.62 MB / 0.659 GB Notification: Performance of sort global known variables: time 3.29e-05/0.5508, allocations: 79.28 kB / 1.016 GB, free: 10.55 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.0002169/0.551, allocations: 44.95 kB / 1.016 GB, free: 10.5 MB / 0.659 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.000322/0.5514, allocations: 168.8 kB / 1.017 GB, free: 10.33 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 4.255e-05/0.5514, allocations: 0 / 1.017 GB, free: 10.33 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.5514, allocations: 0 / 1.017 GB, free: 10.33 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 7.064e-06/0.5514, allocations: 7.984 kB / 1.017 GB, free: 10.32 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.346e-05/0.5515, allocations: 3.906 kB / 1.017 GB, free: 10.32 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001131/0.5516, allocations: 47.94 kB / 1.017 GB, free: 10.25 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.5518, allocations: 0.688 MB / 1.017 GB, free: 9.531 MB / 0.659 GB Notification: Performance of SimCode: time 2.51e-07/0.5518, allocations: 6.062 kB / 1.017 GB, free: 9.527 MB / 0.659 GB Notification: Performance of Templates: time 0.002036/0.5539, allocations: 0.6151 MB / 1.018 GB, free: 8.941 MB / 0.659 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches