Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 107 kB / 15.99 MB, free: 5.895 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.001349/0.001349, allocations: 188.8 kB / 16.91 MB, free: 5.746 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.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.3 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 68.44 kB / 0.8127 GB, free: 33.36 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3008, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002301/0.3032, allocations: 0.65 MB / 0.9504 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005303/0.3037, allocations: 181.5 kB / 0.9506 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.3038, allocations: 4 kB / 0.9506 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.3038, allocations: 3.938 kB / 0.9506 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.3038, allocations: 4 kB / 0.9506 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.3043, allocations: 43.94 kB / 0.9506 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.34e-05/0.3044, allocations: 4 kB / 0.9506 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.3044, allocations: 4 kB / 0.9506 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.383e-05/0.3044, allocations: 0 / 0.9506 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.367e-05/0.3045, allocations: 0 / 0.9506 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.335e-06/0.3045, allocations: 3.938 kB / 0.9507 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.3047, allocations: 67.86 kB / 0.9507 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.3047, allocations: 0 / 0.9507 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.3047, allocations: 0 / 0.9507 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.813e-05/0.3048, allocations: 19.91 kB / 0.9507 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3048, allocations: 4 kB / 0.9507 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.845e-06/0.3048, allocations: 4 kB / 0.9507 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3048, allocations: 0 / 0.9507 GB, free: 8.219 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003995/0.3053, allocations: 327.5 kB / 0.9511 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3053, allocations: 8.031 kB / 0.9511 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.3053, allocations: 0.9375 kB / 0.9511 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.3055, allocations: 164.4 kB / 0.9512 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3055, allocations: 384 / 0.9512 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.3055, allocations: 384 / 0.9512 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.3056, allocations: 30.27 kB / 0.9512 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.3056, allocations: 192 / 0.9512 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3056, allocations: 7.922 kB / 0.9513 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3057, allocations: 4 kB / 0.9513 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.205e-05/0.3057, allocations: 3.938 kB / 0.9513 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.3059, allocations: 149.6 kB / 0.9514 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.033e-05/0.306, allocations: 18.61 kB / 0.9514 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.485e-05/0.306, allocations: 4.859 kB / 0.9514 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.3071, allocations: 461.5 kB / 0.9519 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.3072, allocations: 30.56 kB / 0.9519 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.3072, allocations: 0 / 0.9519 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0002869/0.3075, allocations: 37.7 kB / 0.9519 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.3076, allocations: 55.41 kB / 0.952 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.3077, allocations: 89.86 kB / 0.9521 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.3077, allocations: 25.7 kB / 0.9521 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.3077, allocations: 80.14 kB / 0.9522 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.3078, allocations: 7.984 kB / 0.9522 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.3079, allocations: 13.72 kB / 0.9522 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002865/0.3081, allocations: 310.8 kB / 0.9525 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.3082, allocations: 0 / 0.9525 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.103e-05/0.3082, allocations: 8 kB / 0.9525 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.3082, allocations: 4.859 kB / 0.9525 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3082, allocations: 0 / 0.9525 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.893e-05/0.3083, allocations: 41.64 kB / 0.9525 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.3084, allocations: 7.938 kB / 0.9526 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3084, allocations: 3.984 kB / 0.9526 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3084, allocations: 3.938 kB / 0.9526 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.3085, allocations: 4 kB / 0.9526 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3085, allocations: 4.094 kB / 0.9526 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.265e-05/0.3085, allocations: 0 / 0.9526 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.3085, allocations: 0 / 0.9526 GB, free: 6.031 MB / 0.7325 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 (1): * Single equations (assignments): 1 * 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.0001297/0.3087, allocations: 105.8 kB / 0.9527 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.3087, allocations: 0 / 0.9527 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.3088, allocations: 52.69 kB / 0.9527 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3088, allocations: 0 / 0.9527 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.3089, allocations: 0 / 0.9527 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3089, allocations: 3.938 kB / 0.9527 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.309, allocations: 153.7 kB / 0.9529 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3091, allocations: 0 / 0.9529 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.3091, allocations: 4 kB / 0.9529 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3091, allocations: 0 / 0.9529 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3091, allocations: 7.922 kB / 0.9529 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3091, allocations: 0 / 0.9529 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3091, allocations: 0 / 0.9529 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.3092, allocations: 53.14 kB / 0.9529 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.3093, allocations: 85.14 kB / 0.953 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3093, allocations: 3.938 kB / 0.953 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-06/0.3094, allocations: 0 / 0.953 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.3094, allocations: 3.984 kB / 0.953 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.3094, allocations: 0 / 0.953 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.3094, allocations: 79.22 kB / 0.9531 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3095, allocations: 0 / 0.9531 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002587/0.3097, allocations: 12 kB / 0.9531 GB, free: 5.375 MB / 0.7325 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 (1): * Single equations (assignments): 1 * 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.0003609/0.3101, allocations: 127.2 kB / 0.9532 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.3102, allocations: 4 kB / 0.9532 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3102, allocations: 0 / 0.9532 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.622e-06/0.3102, allocations: 0 / 0.9532 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.3104, allocations: 4 kB / 0.9532 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.3108, allocations: 106.6 kB / 0.9533 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.3113, allocations: 0.6805 MB / 0.954 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.3113, allocations: 11.44 kB / 0.954 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.3113, allocations: 0 / 0.954 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of Templates: time 0.002917/0.3143, allocations: 0.5619 MB / 0.9546 GB, free: 3.82 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches