Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.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.001581/0.001581, allocations: 80.44 kB / 19.18 MB, free: 2.527 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.001645/0.001645, allocations: 166.6 kB / 22.46 MB, free: 5.355 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.516/1.516, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.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 2.901/2.901, allocations: 389 MB / 0.633 GB, free: 0.9648 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 1 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.371e-05/3.582e-05, allocations: 9.172 kB / 1 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002913/0.002949, allocations: 1.462 MB / 1.002 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.000594/0.003543, allocations: 239.2 kB / 1.002 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.003578, allocations: 0 / 1.002 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.434e-05/0.003602, allocations: 0 / 1.002 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.00365, allocations: 3.938 kB / 1.002 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.004047, allocations: 55.77 kB / 1.002 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.422e-05/0.004131, allocations: 31.92 kB / 1.002 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.045e-05/0.004222, allocations: 7.984 kB / 1.002 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.063e-05/0.004282, allocations: 15.92 kB / 1.002 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.004317, allocations: 4 kB / 1.002 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.00433, allocations: 4 kB / 1.002 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.004487, allocations: 55.94 kB / 1.002 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.004502, allocations: 3.938 kB / 1.002 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.004527, allocations: 8 kB / 1.002 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.004709, allocations: 63.83 kB / 1.002 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004712, allocations: 0 / 1.002 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004713, allocations: 4 kB / 1.002 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.004717, allocations: 0 / 1.002 GB, free: 4.223 MB / 0.9044 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.0005025/0.00522, allocations: 262.3 kB / 1.002 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.005259, allocations: 15.97 kB / 1.002 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.005293, allocations: 4.891 kB / 1.002 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.005419, allocations: 113.7 kB / 1.002 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.005433, allocations: 384 / 1.002 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.005441, allocations: 384 / 1.002 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.005639, allocations: 54.22 kB / 1.002 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.005648, allocations: 192 / 1.002 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.005657, allocations: 4.375 kB / 1.002 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.005667, allocations: 384 / 1.002 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.005856, allocations: 39.89 kB / 1.002 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.006184, allocations: 192.5 kB / 1.003 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.006332, allocations: 42.53 kB / 1.003 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.444e-05/0.006426, allocations: 20.91 kB / 1.003 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005391/0.006965, allocations: 75.83 kB / 1.003 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.006999, allocations: 30.56 kB / 1.003 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.007001, allocations: 0 / 1.003 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.000393/0.007394, allocations: 97.56 kB / 1.003 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.007444, allocations: 51.41 kB / 1.003 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.007539, allocations: 105.8 kB / 1.003 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.007558, allocations: 25.7 kB / 1.003 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.007612, allocations: 84.12 kB / 1.003 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.007633, allocations: 3.953 kB / 1.003 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.007681, allocations: 17.72 kB / 1.003 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.00784, allocations: 314.8 kB / 1.004 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.505e-05/0.007935, allocations: 19.98 kB / 1.004 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.008016, allocations: 16.02 kB / 1.004 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.008179, allocations: 36.83 kB / 1.004 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.008185, allocations: 4 kB / 1.004 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002257/0.00841, allocations: 65.59 kB / 1.004 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.008425, allocations: 8 kB / 1.004 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.008432, allocations: 3.938 kB / 1.004 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.008448, allocations: 4.094 kB / 1.004 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.008539, allocations: 11.98 kB / 1.004 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.008544, allocations: 0 / 1.004 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.008608, allocations: 11.98 kB / 1.004 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.008613, allocations: 0 / 1.004 GB, free: 2.344 MB / 0.9044 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.776e-05/0.008701, allocations: 110.3 kB / 1.004 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.008729, allocations: 4 kB / 1.004 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.009005, allocations: 84.78 kB / 1.004 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.009007, allocations: 0 / 1.004 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.009011, allocations: 0 / 1.004 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.009014, allocations: 0 / 1.004 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.00916, allocations: 101.3 kB / 1.004 GB, free: 2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.009161, allocations: 4 kB / 1.004 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.009223, allocations: 7.984 kB / 1.004 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.009226, allocations: 0 / 1.004 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.009237, allocations: 4 kB / 1.004 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.009241, allocations: 3.938 kB / 1.004 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.009242, allocations: 4 kB / 1.004 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.009536, allocations: 163.5 kB / 1.004 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.009544, allocations: 0 / 1.004 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.009557, allocations: 0 / 1.004 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.009638, allocations: 11.92 kB / 1.004 GB, free: 1.789 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.009681, allocations: 3.938 kB / 1.004 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.009684, allocations: 4 kB / 1.004 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.575e-05/0.00974, allocations: 91.39 kB / 1.004 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of sort global known variables: time 7.1e-08/0.00974, allocations: 0 / 1.004 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002615/0.01, allocations: 23.95 kB / 1.004 GB, free: 1.668 MB / 0.9044 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.000232/0.01023, allocations: 111.2 kB / 1.004 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.01046, allocations: 35.95 kB / 1.004 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01046, allocations: 4.062 kB / 1.004 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.181e-05/0.01056, allocations: 19.98 kB / 1.004 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.0108, allocations: 6.188 kB / 1.004 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.01114, allocations: 96.83 kB / 1.005 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.878e-05/0.01121, allocations: 67.28 kB / 1.005 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.01123, allocations: 4 kB / 1.005 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.01126, allocations: 8.5 kB / 1.005 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/0.01126, allocations: 64 / 1.005 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.003761/0.01502, allocations: 0.6898 MB / 1.005 GB, free: 0.5859 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.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: 7.873491078615189]