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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.322/1.322, allocations: 252 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001108, allocations: 172.6 kB / 326.5 MB, free: 2.281 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.594/1.594, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008261/0.0008262, allocations: 102.5 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 13.16 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2155, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.3795, allocations: 131.5 MB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.3798, allocations: 75.95 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006432/0.3862, allocations: 2.181 MB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3863, allocations: 0 / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.3863, allocations: 0 / 1.031 GB, free: 10 MB / 0.6823 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.0002893/0.3866, allocations: 347.3 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3866, allocations: 8.031 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.3867, allocations: 0 / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.979e-05/0.3868, allocations: 171 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3868, allocations: 0 / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.3868, allocations: 4 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.095e-05/0.3869, allocations: 29.64 kB / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.3869, allocations: 0 / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.3869, allocations: 0 / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3869, allocations: 0 / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.983e-05/0.387, allocations: 4 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.3871, allocations: 157.5 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.554e-05/0.3872, allocations: 19.25 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006348/0.3878, allocations: 453.6 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.3878, allocations: 34.56 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3878, allocations: 3.938 kB / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.388, allocations: 33.69 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.388, allocations: 55.41 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.965e-05/0.3881, allocations: 85 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3881, allocations: 25.7 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.3881, allocations: 84.14 kB / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.3881, allocations: 128 / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-06/0.3882, allocations: 4 kB / 1.032 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3883, allocations: 310.8 kB / 1.032 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-06/0.3883, allocations: 4 kB / 1.032 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-06/0.3883, allocations: 3.938 kB / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.454e-05/0.3883, allocations: 0 / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3883, allocations: 0 / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.814e-05/0.3884, allocations: 41.58 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3884, allocations: 8 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3884, allocations: 4.094 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3884, allocations: 0 / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.931e-05/0.3885, allocations: 0 / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3885, allocations: 0 / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/0.3885, allocations: 8 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.3885, allocations: 3.984 kB / 1.033 GB, free: 7.836 MB / 0.6823 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 6.3e-05/0.3886, allocations: 109.8 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.3886, allocations: 7.938 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.3887, allocations: 44.75 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3887, allocations: 3.938 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3887, allocations: 4 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3887, allocations: 0 / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.977e-05/0.3888, allocations: 141.7 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.3888, allocations: 0 / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.3888, allocations: 3.984 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3888, allocations: 7.953 kB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.3888, allocations: 0 / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.3888, allocations: 0 / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3888, allocations: 0 / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.701e-05/0.3889, allocations: 57.17 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.3889, allocations: 77.11 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.389, allocations: 11.94 kB / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.636e-05/0.389, allocations: 0 / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.389, allocations: 3.938 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.389, allocations: 0 / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.451e-05/0.389, allocations: 75.28 kB / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3891, allocations: 4.031 kB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002351/0.3893, allocations: 43.88 kB / 1.033 GB, free: 7.148 MB / 0.6823 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.0003122/0.3896, allocations: 163.1 kB / 1.033 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 4.979e-05/0.3897, allocations: 0 / 1.033 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3897, allocations: 0 / 1.033 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.029e-06/0.3897, allocations: 4 kB / 1.033 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.746e-05/0.3898, allocations: 4 kB / 1.033 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001709/0.39, allocations: 76.3 kB / 1.033 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.3902, allocations: 0.6772 MB / 1.034 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.399e-05/0.3902, allocations: 7.969 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.112e-05/0.3902, allocations: 11.38 kB / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3902, allocations: 4 kB / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of Templates: time 0.002401/0.3926, allocations: 0.5837 MB / 1.035 GB, free: 5.562 MB / 0.6823 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