Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_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.001543/0.001543, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.00149/0.00149, allocations: 195.3 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.669/2.669, allocations: 469.8 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 68.66 kB / 0.9087 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3203, allocations: 159.1 MB / 1.064 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002879/0.3232, allocations: 1.502 MB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005033/0.3237, allocations: 235.3 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.3238, allocations: 7.938 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.3238, allocations: 0 / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.02e-05/0.3239, allocations: 7.922 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.3242, allocations: 43.97 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.418e-05/0.3243, allocations: 19.94 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.702e-05/0.3244, allocations: 11.97 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.3244, allocations: 4 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.3244, allocations: 15.92 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.236e-06/0.3245, allocations: 0 / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.3246, allocations: 71.88 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.345e-06/0.3246, allocations: 0 / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.3246, allocations: 11.94 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.768e-05/0.3248, allocations: 35.94 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3248, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3248, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3248, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 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.0004817/0.3253, allocations: 343.8 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3253, allocations: 12.02 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.3254, allocations: 4.844 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.3255, allocations: 172.3 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3255, allocations: 384 / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.3255, allocations: 4.375 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3257, allocations: 50.23 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3257, allocations: 192 / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3258, allocations: 3.938 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3258, allocations: 4 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.3259, allocations: 31.95 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.3263, allocations: 252.9 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3264, allocations: 42.44 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.3265, allocations: 24.89 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007108/0.3272, allocations: 453.5 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.3272, allocations: 34.56 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3273, allocations: 0 / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003626/0.3276, allocations: 89.42 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.3277, allocations: 55.53 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/0.3278, allocations: 105.8 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3278, allocations: 25.7 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.3279, allocations: 80.14 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.3279, allocations: 3.906 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.3279, allocations: 17.72 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3281, allocations: 314.8 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/0.3282, allocations: 11.98 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.3282, allocations: 23.98 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.3284, allocations: 36.83 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3284, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001896/0.3286, allocations: 69.53 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3286, allocations: 12.09 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3286, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3287, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.242e-05/0.3287, allocations: 7.984 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3288, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.3288, allocations: 7.984 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.3288, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.093e-05/0.3289, allocations: 113.8 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.3289, allocations: 8 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.3292, allocations: 76.72 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3292, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3292, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3292, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.3294, allocations: 165.6 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3294, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.3295, allocations: 8 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3295, allocations: 8.016 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.3295, allocations: 0 / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3295, allocations: 3.938 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3295, allocations: 0 / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.3297, allocations: 159.5 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.3298, allocations: 84.95 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3298, allocations: 12.03 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.3299, allocations: 3.984 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.3299, allocations: 4 kB / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3299, allocations: 3.938 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.33, allocations: 79.28 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.33, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002361/0.3302, allocations: 16 kB / 1.069 GB, free: 9.793 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002026/0.3304, allocations: 123.2 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3307, allocations: 39.95 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3307, allocations: 0 / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.3308, allocations: 15.98 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.331, allocations: 8.062 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.3313, allocations: 146 kB / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.3316, allocations: 0.6768 MB / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.3316, allocations: 7.438 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3316, allocations: 4 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of Templates: time 0.002445/0.334, allocations: 0.7677 MB / 1.071 GB, free: 7.949 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches