Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.381/1.381, allocations: 251.9 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.001033/0.001033, allocations: 182.4 kB / 326.5 MB, free: 2.246 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.877/1.877, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0008006/0.0008006, allocations: 91.94 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003886, allocations: 9.688 kB / 0.7962 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2256, allocations: 106.3 MB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.3935, allocations: 132.1 MB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.3938, allocations: 71.95 kB / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006967/0.4008, allocations: 2.384 MB / 1.032 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4008, allocations: 8 kB / 1.032 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.4008, allocations: 0 / 1.032 GB, free: 9.684 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.0004234/0.4013, allocations: 375.1 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4013, allocations: 8.031 kB / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.4014, allocations: 0 / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.4015, allocations: 167 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4015, allocations: 3.938 kB / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.4015, allocations: 4 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.4017, allocations: 54.5 kB / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4017, allocations: 0 / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4018, allocations: 4 kB / 1.032 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4018, allocations: 0 / 1.032 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.4019, allocations: 47.95 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.4024, allocations: 264.8 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.4025, allocations: 50.53 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006048/0.4031, allocations: 445.5 kB / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.4032, allocations: 34.56 kB / 1.033 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.4032, allocations: 0 / 1.033 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.00038/0.4036, allocations: 101.7 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.4036, allocations: 51.41 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.4037, allocations: 96.94 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.4037, allocations: 25.7 kB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.4038, allocations: 84.12 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.4038, allocations: 7.844 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.4038, allocations: 0 / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.404, allocations: 322.8 kB / 1.034 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.4041, allocations: 20.02 kB / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.4042, allocations: 23.98 kB / 1.034 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.934e-05/0.4043, allocations: 24.03 kB / 1.034 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4043, allocations: 3.938 kB / 1.034 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001888/0.4045, allocations: 69.67 kB / 1.034 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4045, allocations: 8 kB / 1.034 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4045, allocations: 3.984 kB / 1.034 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4045, allocations: 32 / 1.034 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.4046, allocations: 16 kB / 1.034 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-05/0.4047, allocations: 7.922 kB / 1.034 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.4047, allocations: 15.92 kB / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.4047, allocations: 4 kB / 1.034 GB, free: 7.086 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 9.418e-05/0.4048, allocations: 109.8 kB / 1.034 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.4049, allocations: 7.906 kB / 1.034 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.4051, allocations: 84.78 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4051, allocations: 3.984 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4052, allocations: 0 / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4052, allocations: 0 / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.4054, allocations: 161.6 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4054, allocations: 4.031 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.4054, allocations: 11.98 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4054, allocations: 192 / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.4055, allocations: 0 / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4055, allocations: 4 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.37e-05/0.4055, allocations: 3.938 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.4057, allocations: 175.5 kB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.4058, allocations: 77.11 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.4058, allocations: 4 kB / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.4059, allocations: 11.98 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.4059, allocations: 4.031 kB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.406, allocations: 0 / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.406, allocations: 83.27 kB / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/0.406, allocations: 0 / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002669/0.4063, allocations: 47.94 kB / 1.035 GB, free: 6.207 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.0003259/0.4066, allocations: 147.2 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.4068, allocations: 51.91 kB / 1.035 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4068, allocations: 0 / 1.035 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.4069, allocations: 27.97 kB / 1.035 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.4071, allocations: 7.953 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.4074, allocations: 112.7 kB / 1.035 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.4077, allocations: 0.6809 MB / 1.036 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.4077, allocations: 3.984 kB / 1.036 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.4078, allocations: 7.438 kB / 1.036 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.4078, allocations: 3.938 kB / 1.036 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of Templates: time 0.002814/0.4106, allocations: 0.7617 MB / 1.036 GB, free: 4.352 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_BesselY0.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches