Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002482/0.002482, allocations: 206.7 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.297/3.297, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 68.5 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3804, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002727/0.3831, allocations: 1.462 MB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005848/0.3837, allocations: 235.2 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.3837, allocations: 0 / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.3837, allocations: 0 / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.051e-05/0.3838, allocations: 3.938 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.3841, allocations: 63.81 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.3842, allocations: 23.94 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.671e-05/0.3843, allocations: 11.97 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.3843, allocations: 11.94 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.51e-05/0.3844, allocations: 7.984 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.3844, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.3845, allocations: 55.89 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.3845, allocations: 11.92 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.3845, allocations: 4 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.3847, allocations: 55.8 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3847, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3847, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3847, allocations: 4 kB / 1.366 GB, free: 11.67 MB / 1.061 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.0004773/0.3852, allocations: 270.3 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3852, allocations: 8.031 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.3853, allocations: 8.875 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.3854, allocations: 106.5 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3854, allocations: 4.359 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.3854, allocations: 384 / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.3856, allocations: 54.17 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3856, allocations: 192 / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3856, allocations: 7.938 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3856, allocations: 4 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.3858, allocations: 27.97 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.3862, allocations: 192.6 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.3863, allocations: 38.5 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.492e-05/0.3864, allocations: 28.89 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005809/0.387, allocations: 87.8 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.387, allocations: 30.56 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.387, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003906/0.3874, allocations: 85.67 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.3875, allocations: 51.41 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3876, allocations: 105.8 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3876, allocations: 25.7 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.3877, allocations: 92.08 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.3877, allocations: 3.953 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.3878, allocations: 13.72 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3879, allocations: 314.8 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-05/0.388, allocations: 23.92 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.3881, allocations: 16.02 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3882, allocations: 40.83 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3882, allocations: 0 / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.3884, allocations: 65.59 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3885, allocations: 8 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3885, allocations: 4.094 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3885, allocations: 0 / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.189e-05/0.3886, allocations: 7.984 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3886, allocations: 4 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.3886, allocations: 3.984 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.3887, allocations: 4 kB / 1.367 GB, free: 9.793 MB / 1.061 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.494e-05/0.3887, allocations: 109.8 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.3888, allocations: 3.938 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.389, allocations: 76.97 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.389, allocations: 0 / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.389, allocations: 0 / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.389, allocations: 0 / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.3892, allocations: 109.3 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3892, allocations: 0 / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.3892, allocations: 11.98 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3892, allocations: 3.938 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3892, allocations: 0 / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.3892, allocations: 3.938 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3892, allocations: 4.031 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.3895, allocations: 171.4 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.3895, allocations: 7.875 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.3895, allocations: 0 / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.376e-05/0.3896, allocations: 7.984 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.3896, allocations: 192 / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.3896, allocations: 4 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.3897, allocations: 79.27 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3897, allocations: 8.031 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002473/0.3899, allocations: 19.98 kB / 1.368 GB, free: 9.117 MB / 1.061 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.0002105/0.3901, allocations: 111.1 kB / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.3904, allocations: 43.89 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3904, allocations: 4.062 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/0.3904, allocations: 11.98 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.3907, allocations: 11.94 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.391, allocations: 109.5 kB / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.727e-05/0.391, allocations: 59.34 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.104e-05/0.391, allocations: 0 / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.3911, allocations: 11.44 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.3911, allocations: 4.062 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of Templates: time 0.003499/0.3946, allocations: 0.6798 MB / 1.369 GB, free: 8.027 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.864097017794847]