Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.8/2.8, allocations: 437.8 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003789, allocations: 8 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8814/0.8818, allocations: 153.8 MB / 1.022 GB, free: 16 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002099/0.884, allocations: 1.153 MB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006527/0.8846, allocations: 232.2 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.8847, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.8847, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.328e-05/0.8848, allocations: 3.984 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.8853, allocations: 47.89 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.394e-05/0.8854, allocations: 15.94 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.8855, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.287e-05/0.8855, allocations: 15.98 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.8856, allocations: 15.91 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.8856, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.8858, allocations: 59.89 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-06/0.8858, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.8859, allocations: 29.7 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.886, allocations: 35.94 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.886, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.721e-06/0.886, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.886, allocations: 3.938 kB / 1.024 GB, free: 14.38 MB / 0.7794 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.0005014/0.8865, allocations: 349.3 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.8866, allocations: 12.5 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.8866, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.8868, allocations: 167.1 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.8868, allocations: 3.938 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.8868, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.887, allocations: 61.62 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.887, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.887, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.8871, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.8872, allocations: 51.95 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.8876, allocations: 256.7 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.8878, allocations: 46.55 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.149e-05/0.8879, allocations: 32.91 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006816/0.8885, allocations: 449.5 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.8886, allocations: 42.55 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.8886, allocations: 4 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003636/0.889, allocations: 89.59 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.889, allocations: 55.53 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.8892, allocations: 105.8 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.8892, allocations: 25.7 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.8892, allocations: 84.14 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.8892, allocations: 7.906 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.8893, allocations: 0 / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.8894, allocations: 314.8 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/0.8895, allocations: 27.98 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.8896, allocations: 15.98 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.046e-05/0.8896, allocations: 23.98 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.8896, allocations: 0 / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001979/0.8898, allocations: 85.61 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.8899, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.8899, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.8899, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.89, allocations: 16.02 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.89, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.8901, allocations: 7.984 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.8901, allocations: 4 kB / 1.026 GB, free: 11.77 MB / 0.7794 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 8.983e-05/0.8902, allocations: 109.8 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.8902, allocations: 3.953 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.8904, allocations: 88.72 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.8904, allocations: 0 / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.8905, allocations: 0 / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.8905, allocations: 4 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.8906, allocations: 165.6 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8906, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.8907, allocations: 12.03 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.8907, allocations: 7.891 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.8907, allocations: 3.984 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8907, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8907, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.891, allocations: 175.5 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.8911, allocations: 77.11 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.8911, allocations: 3.953 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.8912, allocations: 4 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.8912, allocations: 7.984 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.8912, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.685e-05/0.8913, allocations: 91.25 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8913, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002228/0.8915, allocations: 12 kB / 1.027 GB, free: 10.92 MB / 0.7794 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.0002291/0.8917, allocations: 119.2 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.8919, allocations: 47.97 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.892, allocations: 0 / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.892, allocations: 27.97 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.8923, allocations: 8.125 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.8926, allocations: 104.6 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.8929, allocations: 0.677 MB / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.8929, allocations: 4 kB / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.8929, allocations: 11.42 kB / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8929, allocations: 0 / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of Templates: time 0.003242/0.8962, allocations: 0.5666 MB / 1.028 GB, free: 9.301 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches