Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.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.324/1.324, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001233/0.001233, allocations: 185.6 kB / 326.5 MB, free: 2.262 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.752/1.752, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008502/0.0008502, allocations: 92.55 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 11.34 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2212, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.3933, allocations: 132.2 MB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.3936, allocations: 71.95 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007905/0.4016, allocations: 2.462 MB / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.285e-06/0.4016, allocations: 4 kB / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.4016, allocations: 0 / 1.032 GB, free: 9.008 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004478/0.4021, allocations: 375.8 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4021, allocations: 12.03 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.4022, allocations: 0 / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.4023, allocations: 167 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.4023, allocations: 4 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.4023, allocations: 4 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.4025, allocations: 57.61 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.4025, allocations: 0 / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4026, allocations: 3.938 kB / 1.032 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4026, allocations: 0 / 1.032 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.4027, allocations: 47.95 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.4032, allocations: 268.8 kB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.4033, allocations: 42.56 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006524/0.404, allocations: 457.5 kB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.404, allocations: 38.48 kB / 1.033 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.404, allocations: 4 kB / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003832/0.4044, allocations: 93.75 kB / 1.033 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.4045, allocations: 51.41 kB / 1.033 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.4045, allocations: 96.98 kB / 1.033 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.4045, allocations: 25.7 kB / 1.033 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.4046, allocations: 80.14 kB / 1.033 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.4046, allocations: 11.89 kB / 1.033 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.4046, allocations: 0 / 1.033 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4048, allocations: 326.8 kB / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.993e-05/0.4048, allocations: 23.92 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.4049, allocations: 23.92 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.591e-05/0.405, allocations: 24.05 kB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.405, allocations: 0 / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001898/0.4052, allocations: 73.66 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4052, allocations: 4 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4052, allocations: 4.031 kB / 1.034 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.4053, allocations: 0 / 1.034 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/0.4053, allocations: 11.98 kB / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4054, allocations: 4 kB / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.4054, allocations: 4 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.4054, allocations: 7.984 kB / 1.034 GB, free: 6.406 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 (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.286e-05/0.4055, allocations: 117.8 kB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.4055, allocations: 0 / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.4058, allocations: 88.62 kB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4058, allocations: 0 / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4058, allocations: 0 / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4058, allocations: 4.031 kB / 1.034 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.406, allocations: 161.6 kB / 1.034 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.406, allocations: 0 / 1.034 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.406, allocations: 8 kB / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.406, allocations: 4.188 kB / 1.034 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.4061, allocations: 0 / 1.034 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4061, allocations: 0 / 1.034 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4061, allocations: 3.984 kB / 1.034 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.4063, allocations: 179.4 kB / 1.034 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.4064, allocations: 85.03 kB / 1.035 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.4064, allocations: 8 kB / 1.035 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.4065, allocations: 8.031 kB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.4065, allocations: 7.984 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.4065, allocations: 0 / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.4066, allocations: 79.28 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4066, allocations: 0 / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002607/0.4068, allocations: 43.92 kB / 1.035 GB, free: 5.523 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 (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.0003086/0.4072, allocations: 159 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.4074, allocations: 51.95 kB / 1.035 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4074, allocations: 0 / 1.035 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.488e-05/0.4075, allocations: 27.92 kB / 1.035 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.4077, allocations: 3.953 kB / 1.035 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.4079, allocations: 114.5 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.4082, allocations: 0.677 MB / 1.036 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.4082, allocations: 4 kB / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/0.4082, allocations: 7.438 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.4082, allocations: 0 / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of Templates: time 0.00294/0.4112, allocations: 0.767 MB / 1.036 GB, free: 3.66 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_BesselY1.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches