Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.392/2.392, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001006/0.001006, allocations: 176 kB / 0.4902 GB, free: 2.242 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.498/1.498, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009552/0.0009549, allocations: 107.9 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004125, allocations: 13.72 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3325, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.5337, allocations: 149.8 MB / 1.375 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.534, allocations: 79.94 kB / 1.376 GB, free: 3.746 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006268/0.5403, allocations: 2.106 MB / 1.378 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5403, allocations: 0 / 1.378 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.5403, allocations: 0 / 1.378 GB, free: 1.637 MB / 0.8698 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.0003535/0.5407, allocations: 347.2 kB / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.5407, allocations: 8.562 kB / 1.378 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.5408, allocations: 0 / 1.378 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.5409, allocations: 167 kB / 1.378 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.5409, allocations: 4 kB / 1.378 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.541, allocations: 0 / 1.378 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.5411, allocations: 29.7 kB / 1.378 GB, free: 1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.5411, allocations: 0 / 1.378 GB, free: 1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.5411, allocations: 0 / 1.378 GB, free: 1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.5411, allocations: 0 / 1.378 GB, free: 1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.234e-05/0.5411, allocations: 0 / 1.378 GB, free: 1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.5413, allocations: 165.5 kB / 1.378 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.938e-05/0.5414, allocations: 18.58 kB / 1.378 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006552/0.5421, allocations: 445.6 kB / 1.379 GB, free: 240 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.5421, allocations: 30.56 kB / 1.379 GB, free: 200 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.5421, allocations: 0 / 1.379 GB, free: 200 kB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.5423, allocations: 41.64 kB / 1.379 GB, free: 152 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.5423, allocations: 51.41 kB / 1.379 GB, free: 88 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.248e-05/0.5424, allocations: 85 kB / 1.379 GB, free: 16 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.5424, allocations: 25.7 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.5424, allocations: 80.14 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.5425, allocations: 7.984 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.5425, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5427, allocations: 310.8 kB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.5427, allocations: 8.125 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-06/0.5427, allocations: 0 / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.758e-05/0.5427, allocations: 0 / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5427, allocations: 3.953 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.135e-05/0.5428, allocations: 33.7 kB / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.5428, allocations: 4 kB / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5428, allocations: 0 / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5428, allocations: 0 / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-05/0.5429, allocations: 7.922 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.5429, allocations: 8.094 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.137e-05/0.5429, allocations: 3.984 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.5429, allocations: 3.938 kB / 1.379 GB, free: 15.48 MB / 0.8855 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 () * Number of clocked 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 7.441e-05/0.543, allocations: 113.8 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.543, allocations: 3.953 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.415e-05/0.5431, allocations: 36.73 kB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.5431, allocations: 3.984 kB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5431, allocations: 8 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.5432, allocations: 4.031 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.5433, allocations: 141.7 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.5433, allocations: 0 / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.215e-05/0.5433, allocations: 3.953 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.5433, allocations: 4 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.5433, allocations: 0 / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.5433, allocations: 0 / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5433, allocations: 3.938 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.592e-05/0.5434, allocations: 61.12 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.5434, allocations: 81.11 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.5435, allocations: 3.953 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.5435, allocations: 0 / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.5435, allocations: 0 / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.5435, allocations: 0 / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.834e-05/0.5435, allocations: 75.28 kB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5435, allocations: 0 / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002504/0.5438, allocations: 47.92 kB / 1.38 GB, free: 14.8 MB / 0.8855 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 () * Number of clocked 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.0003401/0.5441, allocations: 152 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.194e-05/0.5442, allocations: 11.94 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5442, allocations: 0 / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.394e-06/0.5442, allocations: 4 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.095e-05/0.5443, allocations: 2.344 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001959/0.5445, allocations: 82.64 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.5448, allocations: 0.677 MB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.408e-05/0.5448, allocations: 0 / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.343e-05/0.5449, allocations: 7.438 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/0.5449, allocations: 4.125 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of Templates: time 0.002832/0.5477, allocations: 0.5699 MB / 1.381 GB, free: 13.24 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches