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.001977/0.001977, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00242/0.00242, allocations: 188.4 kB / 16.25 MB, free: 6.637 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.541/1.541, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.895/2.895, allocations: 469.8 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 65.88 kB / 0.908 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.321, allocations: 159.2 MB / 1.063 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.004054/0.3251, allocations: 1.504 MB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009133/0.3261, allocations: 243.3 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.3261, allocations: 0 / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.063e-05/0.3262, allocations: 0 / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.634e-05/0.3263, allocations: 7.938 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.3267, allocations: 43.91 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.75e-05/0.3268, allocations: 31.91 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3269, allocations: 4 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.264e-05/0.327, allocations: 8 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.405e-05/0.3271, allocations: 15.92 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.3271, allocations: 0 / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.3273, allocations: 71.81 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.3273, allocations: 0 / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.3274, allocations: 15.86 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.3276, allocations: 47.92 kB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.3276, allocations: 8 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3276, allocations: 3.938 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3276, allocations: 0 / 1.065 GB, free: 12.64 MB / 0.8262 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.000721/0.3283, allocations: 343.8 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3284, allocations: 8.031 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.3284, allocations: 4.844 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3286, allocations: 164.4 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3287, allocations: 384 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.3287, allocations: 384 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.3289, allocations: 58.17 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3289, allocations: 192 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.329, allocations: 3.938 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.329, allocations: 0 / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.3292, allocations: 35.95 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.3297, allocations: 249 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.3299, allocations: 42.48 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.33, allocations: 28.84 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.3311, allocations: 449.5 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.3312, allocations: 34.55 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.3312, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0005921/0.3318, allocations: 77.56 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3318, allocations: 55.39 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3319, allocations: 106 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.332, allocations: 25.7 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.332, allocations: 80.14 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.3321, allocations: 7.906 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/0.3321, allocations: 17.7 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3323, allocations: 314.8 kB / 1.067 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.3325, allocations: 15.98 kB / 1.067 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.967e-05/0.3326, allocations: 19.98 kB / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.3328, allocations: 36.81 kB / 1.067 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.3328, allocations: 4 kB / 1.067 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002628/0.3331, allocations: 65.61 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3331, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3331, allocations: 12.08 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3331, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3332, allocations: 7.938 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3333, allocations: 3.938 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/0.3333, allocations: 7.984 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3334, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8262 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 0.0001087/0.3335, allocations: 117.7 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.3335, allocations: 0 / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.3338, allocations: 76.78 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3338, allocations: 3.984 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3339, allocations: 192 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3339, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.3341, allocations: 165.6 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3341, allocations: 0 / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.454e-05/0.3342, allocations: 11.98 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3342, allocations: 0 / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3343, allocations: 4.031 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3343, allocations: 0 / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.3343, allocations: 3.938 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.3347, allocations: 163.5 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.3348, allocations: 84.95 kB / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.3348, allocations: 0 / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3349, allocations: 12.02 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.335, allocations: 4 kB / 1.068 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.335, allocations: 0 / 1.068 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.3351, allocations: 83.28 kB / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3351, allocations: 0 / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003906/0.3355, allocations: 19.98 kB / 1.068 GB, free: 9.246 MB / 0.8262 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.0002749/0.3358, allocations: 111.2 kB / 1.068 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.3361, allocations: 43.89 kB / 1.068 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3361, allocations: 0 / 1.068 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.3362, allocations: 19.98 kB / 1.068 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3366, allocations: 3.938 kB / 1.068 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.3369, allocations: 113.6 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.3374, allocations: 0.6768 MB / 1.069 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3e-05/0.3374, allocations: 0 / 1.069 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.3375, allocations: 11.44 kB / 1.069 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3375, allocations: 3.938 kB / 1.069 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of Templates: time 0.004146/0.3416, allocations: 0.5929 MB / 1.07 GB, free: 7.617 MB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches