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.0094/0.0094, allocations: 96.42 kB / 15.73 MB, free: 5.988 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.001819/0.001819, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.494/2.494, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 69.28 kB / 0.9509 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3297, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001447/0.3312, allocations: 0.561 MB / 1.089 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000402/0.3316, allocations: 195.7 kB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.119e-05/0.3316, allocations: 0 / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.111e-05/0.3317, allocations: 0 / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-06/0.3317, allocations: 0 / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.332, allocations: 47.83 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.016e-05/0.332, allocations: 4 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.3321, allocations: 3.984 kB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.077e-05/0.3321, allocations: 0 / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.251e-05/0.3321, allocations: 7.984 kB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.724e-06/0.3321, allocations: 3.938 kB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.3323, allocations: 59.89 kB / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.324e-06/0.3323, allocations: 3.984 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.355e-05/0.3323, allocations: 3.938 kB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.159e-05/0.3324, allocations: 31.89 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3324, allocations: 0 / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3324, allocations: 0 / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3324, allocations: 0 / 1.089 GB, free: 0.5625 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002488/0.3327, allocations: 323.5 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.3327, allocations: 12.03 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.3328, allocations: 0.9375 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.953e-05/0.3328, allocations: 160.4 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.3329, allocations: 4.375 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.3329, allocations: 4.312 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.459e-05/0.333, allocations: 26.27 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.333, allocations: 192 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.333, allocations: 3.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.333, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.59e-05/0.333, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.3331, allocations: 153.7 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.274e-05/0.3332, allocations: 18.61 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.3332, allocations: 8.797 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006039/0.3338, allocations: 457.5 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.3338, allocations: 34.56 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.3338, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001027/0.3339, allocations: 33.64 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.334, allocations: 55.34 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.307e-05/0.334, allocations: 89.86 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.334, allocations: 25.7 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.309e-05/0.3341, allocations: 84.25 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.3341, allocations: 8 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.3341, allocations: 13.72 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.3342, allocations: 314.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.3342, allocations: 7.938 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-06/0.3342, allocations: 4 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.953e-05/0.3343, allocations: 4.859 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3343, allocations: 0 / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.589e-05/0.3343, allocations: 41.77 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.3343, allocations: 5.719 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.3343, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3343, allocations: 3.938 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.211e-05/0.3344, allocations: 7.984 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3344, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.849e-06/0.3344, allocations: 3.953 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.3344, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 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 4.984e-05/0.3345, allocations: 113.7 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-06/0.3345, allocations: 4.031 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.309e-05/0.3346, allocations: 36.77 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3346, allocations: 7.984 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3346, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3346, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.666e-05/0.3347, allocations: 145.7 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3347, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.3347, allocations: 4 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.3347, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.3347, allocations: 3.938 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3347, allocations: 4.031 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3347, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.526e-05/0.3348, allocations: 61.06 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.3348, allocations: 81.11 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.3348, allocations: 3.938 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-06/0.3348, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-06/0.3349, allocations: 3.938 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.3349, allocations: 4.031 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.58e-05/0.3349, allocations: 79.27 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.3349, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001852/0.3351, allocations: 15.94 kB / 1.091 GB, free: 13.71 MB / 0.8575 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.0001613/0.3352, allocations: 115.2 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.078e-05/0.3353, allocations: 15.98 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3353, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.621e-06/0.3353, allocations: 3.938 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.3355, allocations: 4 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001366/0.3356, allocations: 77.06 kB / 1.091 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.3358, allocations: 0.669 MB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.048e-05/0.3358, allocations: 4 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.319e-05/0.3358, allocations: 11.44 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3358, allocations: 4.125 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of Templates: time 0.002043/0.3379, allocations: 409.8 kB / 1.093 GB, free: 12.35 MB / 0.8575 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/jenkins/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