Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.266/2.266, allocations: 255 MB / 269.9 MB, free: 9.645 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00252/0.002519, allocations: 201.9 kB / 329.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.325/2.325, allocations: 225.6 MB / 0.6001 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009225/0.0009223, allocations: 95.5 kB / 0.7074 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006586/0.0006587, allocations: 16.09 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2103, allocations: 109.1 MB / 0.9308 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006943/0.211, allocations: 314.1 kB / 0.9311 GB, free: 24.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00045/0.2115, allocations: 167.7 kB / 0.9312 GB, free: 24.42 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.031e-05/0.2115, allocations: 4 kB / 0.9312 GB, free: 24.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.2116, allocations: 0 / 0.9312 GB, free: 24.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.094e-06/0.2116, allocations: 0 / 0.9312 GB, free: 24.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.2119, allocations: 35.91 kB / 0.9313 GB, free: 24.38 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.561e-05/0.212, allocations: 4 kB / 0.9313 GB, free: 24.38 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.212, allocations: 7.938 kB / 0.9313 GB, free: 24.37 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.231e-05/0.212, allocations: 0 / 0.9313 GB, free: 24.37 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.238e-05/0.2121, allocations: 4 kB / 0.9313 GB, free: 24.37 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.682e-06/0.2121, allocations: 3.938 kB / 0.9313 GB, free: 24.36 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.2123, allocations: 63.86 kB / 0.9313 GB, free: 24.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.152e-06/0.2123, allocations: 4 kB / 0.9314 GB, free: 24.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.2123, allocations: 25.7 kB / 0.9314 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.437e-05/0.2124, allocations: 19.97 kB / 0.9314 GB, free: 24.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2124, allocations: 0 / 0.9314 GB, free: 24.25 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2124, allocations: 0 / 0.9314 GB, free: 24.25 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.2124, allocations: 0 / 0.9314 GB, free: 24.25 MB / 0.5886 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.0002128/0.2127, allocations: 315.5 kB / 0.9317 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2127, allocations: 12.03 kB / 0.9317 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.2128, allocations: 0.9375 kB / 0.9317 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.234e-05/0.2128, allocations: 168.4 kB / 0.9319 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2128, allocations: 384 / 0.9319 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.2129, allocations: 384 / 0.9319 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.285e-05/0.213, allocations: 38.19 kB / 0.9319 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.213, allocations: 4.188 kB / 0.9319 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.213, allocations: 3.938 kB / 0.9319 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.213, allocations: 0 / 0.9319 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.213, allocations: 4 kB / 0.9319 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.2131, allocations: 145.7 kB / 0.9321 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.581e-05/0.2132, allocations: 22.61 kB / 0.9321 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.2132, allocations: 12.8 kB / 0.9321 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008211/0.2141, allocations: 453.5 kB / 0.9325 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.2141, allocations: 34.56 kB / 0.9326 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.774e-06/0.2141, allocations: 0 / 0.9326 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001284/0.2142, allocations: 41.62 kB / 0.9326 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.2143, allocations: 55.41 kB / 0.9326 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.05e-05/0.2143, allocations: 89.86 kB / 0.9327 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.2143, allocations: 25.7 kB / 0.9328 GB, free: 22.56 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.35e-05/0.2143, allocations: 80.14 kB / 0.9328 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.2144, allocations: 0 / 0.9328 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.2144, allocations: 3.938 kB / 0.9328 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.286e-05/0.2145, allocations: 315 kB / 0.9331 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.2145, allocations: 3.938 kB / 0.9331 GB, free: 22.15 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/0.2145, allocations: 4 kB / 0.9331 GB, free: 22.15 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.772e-05/0.2145, allocations: 0 / 0.9331 GB, free: 22.15 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2145, allocations: 0 / 0.9331 GB, free: 22.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.586e-05/0.2146, allocations: 37.69 kB / 0.9332 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2146, allocations: 11.91 kB / 0.9332 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2146, allocations: 0 / 0.9332 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2146, allocations: 8.031 kB / 0.9332 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.266e-05/0.2147, allocations: 0 / 0.9332 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2147, allocations: 3.938 kB / 0.9332 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.268e-05/0.2147, allocations: 0 / 0.9332 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.2148, allocations: 4 kB / 0.9332 GB, free: 22.08 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.2148, allocations: 105.8 kB / 0.9333 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.2148, allocations: 0 / 0.9333 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.355e-05/0.2149, allocations: 44.69 kB / 0.9334 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2149, allocations: 0 / 0.9334 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.2149, allocations: 4.031 kB / 0.9334 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.215, allocations: 4 kB / 0.9334 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.877e-05/0.215, allocations: 149.7 kB / 0.9335 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2151, allocations: 0 / 0.9335 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.606e-05/0.2151, allocations: 0 / 0.9335 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2151, allocations: 0 / 0.9335 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.2151, allocations: 7.938 kB / 0.9335 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2151, allocations: 0 / 0.9335 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2151, allocations: 0 / 0.9335 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.117e-05/0.2152, allocations: 61.08 kB / 0.9336 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.2152, allocations: 81.09 kB / 0.9336 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.2152, allocations: 7.938 kB / 0.9337 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-06/0.2153, allocations: 0 / 0.9337 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.2153, allocations: 0 / 0.9337 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.2153, allocations: 0 / 0.9337 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.382e-05/0.2153, allocations: 75.28 kB / 0.9337 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2153, allocations: 0 / 0.9337 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000264/0.2156, allocations: 12 kB / 0.9337 GB, free: 21.43 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002307/0.2158, allocations: 135.7 kB / 0.9339 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.787e-05/0.2159, allocations: 4 kB / 0.9339 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2159, allocations: 0 / 0.9339 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.216, allocations: 0 / 0.9339 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.2161, allocations: 8.062 kB / 0.9339 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001539/0.2163, allocations: 86.66 kB / 0.934 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.2164, allocations: 0.6692 MB / 0.9346 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.557e-05/0.2164, allocations: 4 kB / 0.9346 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.143e-05/0.2164, allocations: 7.438 kB / 0.9346 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of SimCode: time 9.72e-07/0.2164, allocations: 0 / 0.9346 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of Templates: time 0.002772/0.2192, allocations: 405.3 kB / 0.935 GB, free: 20.07 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)