Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.977/1.977, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.001068/0.001068, allocations: 188.6 kB / 487 MB, free: 5.402 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.7819 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 105.4 kB / 0.9213 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.01e-05/1.026e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2492, allocations: 142.3 MB / 1.205 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7264/0.9756, allocations: 148.2 MB / 1.35 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.9759, allocations: 74.27 kB / 1.35 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.005844/0.9818, allocations: 1.785 MB / 1.352 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.381e-06/0.9818, allocations: 1.375 kB / 1.352 GB, free: 15.81 MB / 0.8073 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.0002016/0.982, allocations: 330.8 kB / 1.352 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.982, allocations: 10.8 kB / 1.352 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.9821, allocations: 0 / 1.352 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.948e-05/0.9821, allocations: 162.1 kB / 1.352 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.9822, allocations: 1.125 kB / 1.352 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.9822, allocations: 9.359 kB / 1.352 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.578e-05/0.9822, allocations: 1.844 kB / 1.352 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.664e-05/0.9823, allocations: 26.98 kB / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.9823, allocations: 3.938 kB / 1.352 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.9823, allocations: 1.469 kB / 1.352 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.9823, allocations: 0 / 1.352 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.791e-05/0.9824, allocations: 123.8 kB / 1.352 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 2.968e-05/0.9824, allocations: 17.08 kB / 1.352 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.9825, allocations: 18.67 kB / 1.352 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005428/0.983, allocations: 437.9 kB / 1.353 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.9831, allocations: 35.08 kB / 1.353 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.9831, allocations: 1.375 kB / 1.353 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001426/0.9832, allocations: 41.25 kB / 1.353 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.882e-05/0.9832, allocations: 55.34 kB / 1.353 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.831e-05/0.9833, allocations: 86.94 kB / 1.353 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-06/0.9833, allocations: 25.7 kB / 1.353 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.04e-05/0.9833, allocations: 80.14 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.9833, allocations: 1.375 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.9833, allocations: 4.031 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.9834, allocations: 312 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-06/0.9834, allocations: 1.375 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-06/0.9834, allocations: 1.375 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.766e-05/0.9834, allocations: 1.891 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9834, allocations: 3.938 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.549e-05/0.9835, allocations: 35.14 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.9835, allocations: 7.656 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.9835, allocations: 1.609 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.9835, allocations: 4 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.289e-05/0.9836, allocations: 2.938 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.9836, allocations: 0 / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.408e-06/0.9836, allocations: 0 / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.9836, allocations: 1.094 kB / 1.353 GB, free: 13.84 MB / 0.8073 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 4.521e-05/0.9837, allocations: 111.3 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-06/0.9837, allocations: 7.594 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.057e-05/0.9838, allocations: 35 kB / 1.354 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.9838, allocations: 4.734 kB / 1.354 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.9838, allocations: 0 / 1.354 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.9838, allocations: 0 / 1.354 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.659e-05/0.9839, allocations: 124.6 kB / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9839, allocations: 1.547 kB / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.9839, allocations: 0.9688 kB / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.9839, allocations: 1.641 kB / 1.354 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.9839, allocations: 3.906 kB / 1.354 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.9839, allocations: 1.656 kB / 1.354 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9839, allocations: 4.594 kB / 1.354 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.575e-05/0.984, allocations: 63.98 kB / 1.354 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.984, allocations: 77.86 kB / 1.354 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.984, allocations: 1.859 kB / 1.354 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-06/0.984, allocations: 5.812 kB / 1.354 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.9841, allocations: 0.6094 kB / 1.354 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.9841, allocations: 0.9375 kB / 1.354 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.48e-05/0.9841, allocations: 75.28 kB / 1.354 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002206/0.9843, allocations: 44.98 kB / 1.354 GB, free: 13.27 MB / 0.8073 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.0003391/0.9846, allocations: 162.8 kB / 1.354 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.021e-05/0.9847, allocations: 7.406 kB / 1.354 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9847, allocations: 0 / 1.354 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.47e-06/0.9847, allocations: 5.312 kB / 1.354 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.012e-05/0.9848, allocations: 1.375 kB / 1.354 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001293/0.985, allocations: 40.84 kB / 1.354 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.9851, allocations: 0.6826 MB / 1.355 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of SimCode: time 2.01e-07/0.9851, allocations: 0 / 1.355 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of Templates: time 0.002891/0.988, allocations: 0.6166 MB / 1.356 GB, free: 12.32 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches