Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_11_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_11_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.00161/0.00161, 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.001952/0.001952, allocations: 193.3 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.482/1.482, allocations: 222.9 MB / 239.9 MB, free: 4.48 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 3.131/3.131, allocations: 469.8 MB / 0.7421 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 75.25 kB / 0.9081 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3211, allocations: 159.2 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002006/0.3232, allocations: 0.6387 MB / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005305/0.3237, allocations: 191.3 kB / 1.064 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.21e-05/0.3237, allocations: 0 / 1.064 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.3238, allocations: 0 / 1.064 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-06/0.3238, allocations: 4 kB / 1.064 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.3242, allocations: 43.91 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.113e-05/0.3242, allocations: 7.984 kB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.3243, allocations: 4 kB / 1.064 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.475e-05/0.3243, allocations: 0 / 1.064 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.105e-05/0.3243, allocations: 4 kB / 1.064 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.163e-06/0.3243, allocations: 0 / 1.064 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.3245, allocations: 67.86 kB / 1.064 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.3245, allocations: 3.938 kB / 1.064 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.3245, allocations: 0 / 1.064 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.3247, allocations: 31.95 kB / 1.064 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3247, allocations: 4 kB / 1.064 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3247, allocations: 0 / 1.064 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.3247, allocations: 0 / 1.064 GB, free: 13.61 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003582/0.3251, allocations: 319.5 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3251, allocations: 8.031 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.3251, allocations: 0.9375 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3253, allocations: 166.2 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.3253, allocations: 384 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.3253, allocations: 4.375 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.273e-05/0.3254, allocations: 30.27 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.3254, allocations: 192 / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.3254, allocations: 3.938 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3254, allocations: 0 / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.981e-05/0.3254, allocations: 4 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.3256, allocations: 145.7 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.12e-05/0.3257, allocations: 22.5 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.3257, allocations: 8.953 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007511/0.3264, allocations: 457.5 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.3265, allocations: 30.56 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3265, allocations: 4 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001277/0.3266, allocations: 41.66 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3267, allocations: 55.44 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.828e-05/0.3267, allocations: 89.86 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3267, allocations: 29.64 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.3268, allocations: 84.14 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.3268, allocations: 0 / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.3269, allocations: 17.66 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.327, allocations: 310.8 kB / 1.066 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.327, allocations: 4 kB / 1.066 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-06/0.327, allocations: 4 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.358e-05/0.3271, allocations: 8.859 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.3271, allocations: 3.984 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.518e-05/0.3271, allocations: 41.62 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3271, allocations: 9.094 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.3272, allocations: 0 / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3272, allocations: 3.938 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.265e-05/0.3272, allocations: 0 / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.3272, allocations: 4.094 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.111e-05/0.3272, allocations: 4 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.3272, allocations: 0 / 1.066 GB, free: 11.42 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 (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.0001394/0.3274, allocations: 105.8 kB / 1.066 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.3274, allocations: 3.984 kB / 1.066 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.662e-05/0.3275, allocations: 40.77 kB / 1.066 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.3275, allocations: 0 / 1.066 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3275, allocations: 0 / 1.066 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3275, allocations: 4 kB / 1.066 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.3276, allocations: 153.6 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3276, allocations: 0 / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.427e-05/0.3277, allocations: 3.938 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3277, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.3277, allocations: 7.938 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3277, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3277, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.327e-05/0.3278, allocations: 61.12 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.3278, allocations: 77.11 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.3278, allocations: 7.938 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.3279, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-06/0.3279, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.3279, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.3279, allocations: 79.22 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3279, allocations: 0 / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001993/0.3281, allocations: 16 kB / 1.067 GB, free: 10.77 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 (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.000279/0.3284, allocations: 119.3 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.887e-05/0.3285, allocations: 7.938 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3285, allocations: 0 / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.169e-06/0.3285, allocations: 0 / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.3287, allocations: 0 / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001823/0.3288, allocations: 96.98 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.3292, allocations: 0.669 MB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.302e-05/0.3292, allocations: 4 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.557e-05/0.3292, allocations: 7.438 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3292, allocations: 4 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of Templates: time 0.002569/0.3318, allocations: 405.4 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches