Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.463/2.463, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001208/0.001207, allocations: 176 kB / 0.4902 GB, free: 2.301 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.635/1.635, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.00111/0.00111, allocations: 101.1 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0003999, allocations: 6.938 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.285, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.4812, allocations: 150.6 MB / 1.376 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.4815, allocations: 71.95 kB / 1.376 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007318/0.4888, allocations: 2.477 MB / 1.379 GB, free: 484 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4889, allocations: 0 / 1.379 GB, free: 484 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.4889, allocations: 0 / 1.379 GB, free: 484 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000397/0.4893, allocations: 368.1 kB / 1.379 GB, free: 68 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.4893, allocations: 16.55 kB / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.4894, allocations: 11.91 kB / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.4895, allocations: 167 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.4896, allocations: 0 / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.4896, allocations: 7.938 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.4898, allocations: 53.67 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.4898, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.4898, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.4898, allocations: 4 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.49, allocations: 43.95 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.4904, allocations: 268.9 kB / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.4905, allocations: 42.5 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006064/0.4911, allocations: 457.5 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.4912, allocations: 34.56 kB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.4912, allocations: 0 / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0003446/0.4915, allocations: 97.64 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.4916, allocations: 51.41 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.542e-05/0.4917, allocations: 96.98 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.4917, allocations: 25.7 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.4917, allocations: 92.19 kB / 1.381 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.4918, allocations: 11.91 kB / 1.381 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.4918, allocations: 0 / 1.381 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.4919, allocations: 314.8 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.934e-05/0.492, allocations: 15.98 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.37e-05/0.492, allocations: 31.97 kB / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.425e-05/0.4921, allocations: 23.92 kB / 1.381 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4921, allocations: 0 / 1.381 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002073/0.4923, allocations: 77.73 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4924, allocations: 10.17 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4924, allocations: 0 / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4924, allocations: 0 / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.4925, allocations: 8 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.4925, allocations: 0 / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.4926, allocations: 15.89 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.4926, allocations: 7.969 kB / 1.381 GB, free: 13.87 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 (2): * Single equations (assignments): 2 * 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.203e-05/0.4927, allocations: 117.7 kB / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.4927, allocations: 0 / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.4929, allocations: 88.77 kB / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4929, allocations: 0 / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4929, allocations: 0 / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4929, allocations: 0 / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.4931, allocations: 157.6 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4931, allocations: 0 / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.4932, allocations: 11.98 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4932, allocations: 4 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.4932, allocations: 0 / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4932, allocations: 0 / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4932, allocations: 4.031 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.4934, allocations: 175.4 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.4935, allocations: 77.14 kB / 1.382 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.4935, allocations: 12 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.4936, allocations: 7.984 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.4936, allocations: 4 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.4936, allocations: 0 / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.4937, allocations: 87.27 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4937, allocations: 0 / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002543/0.4939, allocations: 39.94 kB / 1.382 GB, free: 13 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 (2): * Single equations (assignments): 2 * 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.0003095/0.4942, allocations: 163.8 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.4945, allocations: 51.91 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4945, allocations: 0 / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.879e-05/0.4946, allocations: 32.03 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.4948, allocations: 3.953 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.495, allocations: 116.5 kB / 1.382 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.4953, allocations: 0.677 MB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.4953, allocations: 0 / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.4954, allocations: 11.44 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/0.4954, allocations: 4.062 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of Templates: time 0.002884/0.4983, allocations: 0.77 MB / 1.384 GB, free: 11.11 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches