Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.00111/0.00111, allocations: 180.6 kB / 326.5 MB, free: 2.23 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.729/1.729, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.000802/0.0008019, allocations: 95.84 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003247, allocations: 12.41 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2149, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.385, allocations: 131.8 MB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.3853, allocations: 71.97 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004325/0.3897, allocations: 1.53 MB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.025e-06/0.3897, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3897, allocations: 0 / 1.03 GB, free: 10.32 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.0003785/0.3901, allocations: 363.2 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3902, allocations: 12.03 kB / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.3902, allocations: 0 / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.3903, allocations: 171 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3903, allocations: 0 / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.3904, allocations: 4 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3905, allocations: 61.61 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.3906, allocations: 0 / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3906, allocations: 0 / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3906, allocations: 0 / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.3908, allocations: 43.95 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.3912, allocations: 268.8 kB / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.3913, allocations: 50.48 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005376/0.3919, allocations: 441.5 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3919, allocations: 34.56 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3919, allocations: 0 / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003623/0.3923, allocations: 93.64 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.3923, allocations: 55.41 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/0.3924, allocations: 92.98 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3924, allocations: 29.83 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.3925, allocations: 92.08 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.3925, allocations: 3.906 kB / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.3925, allocations: 0 / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.3926, allocations: 318.8 kB / 1.032 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.3927, allocations: 23.98 kB / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-05/0.3928, allocations: 19.98 kB / 1.032 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.384e-05/0.3928, allocations: 23.98 kB / 1.032 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3929, allocations: 0 / 1.032 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001895/0.3931, allocations: 77.72 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3931, allocations: 4 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3931, allocations: 7.984 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3931, allocations: 4 kB / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.729e-05/0.3932, allocations: 15.92 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3932, allocations: 0 / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.3933, allocations: 12.69 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3933, allocations: 7.938 kB / 1.033 GB, free: 7.73 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 6.788e-05/0.3934, allocations: 113.7 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.3934, allocations: 4 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.3936, allocations: 84.69 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3936, allocations: 0 / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3936, allocations: 0 / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3936, allocations: 0 / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.3938, allocations: 165.6 kB / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3938, allocations: 0 / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.3939, allocations: 11.98 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3939, allocations: 0 / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3939, allocations: 4.031 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.3939, allocations: 0 / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3939, allocations: 0 / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.3941, allocations: 183.4 kB / 1.033 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.3942, allocations: 77.11 kB / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.3942, allocations: 0 / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.3943, allocations: 7.984 kB / 1.033 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.3943, allocations: 4 kB / 1.033 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.3943, allocations: 0 / 1.033 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.14e-05/0.3944, allocations: 83.28 kB / 1.033 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3944, allocations: 0 / 1.033 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002307/0.3946, allocations: 31.95 kB / 1.033 GB, free: 6.875 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.0002349/0.3948, allocations: 131.2 kB / 1.033 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.3951, allocations: 47.91 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3951, allocations: 0 / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.447e-05/0.3952, allocations: 27.98 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.3953, allocations: 7.938 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.3956, allocations: 112.8 kB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.3958, allocations: 0.677 MB / 1.034 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.3958, allocations: 0 / 1.034 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.3959, allocations: 7.438 kB / 1.034 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/0.3959, allocations: 4 kB / 1.034 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of Templates: time 0.002479/0.3984, allocations: 0.5449 MB / 1.035 GB, free: 5.262 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_BesselJ0.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches