Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001743/0.001743, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001537/0.001537, allocations: 211.8 kB / 22.24 MB, free: 4.859 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.801 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.329/3.329, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [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.002092/0.002092, allocations: 69.61 kB / 1.186 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3693, allocations: 181.9 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001815/0.3711, allocations: 0.5942 MB / 1.364 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005072/0.3716, allocations: 175.8 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.291e-05/0.3716, allocations: 0 / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.3716, allocations: 0 / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-06/0.3716, allocations: 0 / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.372, allocations: 47.84 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.273e-05/0.372, allocations: 0 / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.3721, allocations: 8 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.438e-05/0.3721, allocations: 0 / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.191e-05/0.3721, allocations: 3.984 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.472e-06/0.3721, allocations: 0 / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.3723, allocations: 59.88 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.3723, allocations: 0 / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.301e-05/0.3723, allocations: 0 / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.3725, allocations: 43.81 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3725, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3725, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.3725, allocations: 0 / 1.365 GB, free: 12.55 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003179/0.3728, allocations: 246.4 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3728, allocations: 8.031 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.3729, allocations: 0.9375 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.932e-05/0.373, allocations: 106.5 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.373, allocations: 4.312 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.373, allocations: 4.375 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.385e-05/0.3731, allocations: 26.27 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3731, allocations: 4.188 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3731, allocations: 3.938 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3731, allocations: 0 / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.3731, allocations: 4 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.3732, allocations: 101.3 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.102e-05/0.3733, allocations: 18.52 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.3733, allocations: 8.859 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005401/0.3739, allocations: 68.02 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.3739, allocations: 34.56 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3739, allocations: 4 kB / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.374, allocations: 41.62 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.3741, allocations: 55.41 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.266e-05/0.3741, allocations: 89.86 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3741, allocations: 29.64 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.3742, allocations: 80.14 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.3742, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.3742, allocations: 13.72 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3744, allocations: 318.8 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.3744, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-06/0.3744, allocations: 4.125 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.487e-05/0.3744, allocations: 12.8 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3744, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.143e-05/0.3744, allocations: 33.69 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3745, allocations: 8 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.3745, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3745, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.012e-05/0.3745, allocations: 3.938 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3745, allocations: 0 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.212e-05/0.3745, allocations: 8.031 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.3745, allocations: 4 kB / 1.366 GB, free: 11.06 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 (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 7.776e-05/0.3746, allocations: 109.8 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-06/0.3746, allocations: 0 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.486e-05/0.3747, allocations: 36.69 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3747, allocations: 7.938 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3747, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3747, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.3e-05/0.3748, allocations: 93.33 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.3748, allocations: 0 / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.389e-05/0.3748, allocations: 12.02 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.3748, allocations: 0 / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.3748, allocations: 0 / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3748, allocations: 0 / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3748, allocations: 3.938 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.073e-05/0.3749, allocations: 61.08 kB / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-06/0.3749, allocations: 0 / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.3749, allocations: 3.984 kB / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.3749, allocations: 0 / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.3749, allocations: 11.92 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.3749, allocations: 4 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.375, allocations: 79.31 kB / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.375, allocations: 0 / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001945/0.3752, allocations: 15.94 kB / 1.366 GB, free: 10.57 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 (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.0001941/0.3754, allocations: 115.2 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.831e-05/0.3754, allocations: 7.938 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3754, allocations: 4.062 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.925e-06/0.3754, allocations: 11.88 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.3756, allocations: 0 / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001774/0.3757, allocations: 80.88 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.591e-05/0.3758, allocations: 59.34 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.024e-05/0.3758, allocations: 0 / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.3758, allocations: 11.44 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.3758, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of Templates: time 0.002608/0.3784, allocations: 385.6 kB / 1.367 GB, free: 9.848 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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: 8.777303207665682]