Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001762/0.001762, allocations: 104.4 kB / 16.45 MB, free: 6.449 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.002192/0.002192, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.518/1.518, allocations: 230.6 MB / 252.8 MB, free: 9.145 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.122/3.122, allocations: 0.4899 GB / 0.7915 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.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.002057/0.002057, allocations: 76.33 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3589, allocations: 176.1 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00302/0.3619, allocations: 1.443 MB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006142/0.3625, allocations: 255.6 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.3626, allocations: 0 / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.3626, allocations: 0 / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.3627, allocations: 3.938 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.3631, allocations: 51.83 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.35e-05/0.3632, allocations: 23.98 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3633, allocations: 3.984 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.258e-05/0.3633, allocations: 11.98 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.3634, allocations: 11.92 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.437e-06/0.3634, allocations: 4 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.3636, allocations: 67.88 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.3636, allocations: 4 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.3636, allocations: 7.938 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.3639, allocations: 59.73 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3639, allocations: 0 / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.119e-06/0.3639, allocations: 3.984 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.3639, allocations: 0 / 1.323 GB, free: 0.8828 MB / 1.014 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.0007151/0.3646, allocations: 347.3 kB / 1.323 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.752e-05/0.3647, allocations: 19.98 kB / 1.324 GB, free: 484 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.3647, allocations: 0.9375 kB / 1.324 GB, free: 484 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.3649, allocations: 164.3 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.365, allocations: 4.375 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.365, allocations: 384 / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.3652, allocations: 54.17 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3652, allocations: 192 / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.3653, allocations: 3.938 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3653, allocations: 0 / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.3655, allocations: 43.89 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.3659, allocations: 241 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.3661, allocations: 38.5 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.3662, allocations: 28.89 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008378/0.367, allocations: 449.5 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.3671, allocations: 34.56 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.3671, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004224/0.3675, allocations: 85.58 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.3676, allocations: 51.41 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.3677, allocations: 101.8 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3677, allocations: 25.7 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.3678, allocations: 80.14 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.3678, allocations: 11.95 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3678, allocations: 13.78 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.368, allocations: 318.8 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.129e-05/0.3681, allocations: 19.98 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.3682, allocations: 11.98 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.3683, allocations: 44.75 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3683, allocations: 4.062 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002303/0.3686, allocations: 69.61 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3686, allocations: 8 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3686, allocations: 0 / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.3686, allocations: 0 / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.3687, allocations: 11.98 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3687, allocations: 0 / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.3688, allocations: 7.984 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3688, allocations: 4.031 kB / 1.325 GB, free: 14.31 MB / 1.029 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.273e-05/0.3689, allocations: 109.8 kB / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.3689, allocations: 7.953 kB / 1.325 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.3691, allocations: 72.72 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3691, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3691, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3691, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.3693, allocations: 169.6 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3693, allocations: 0 / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.3694, allocations: 11.98 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3694, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3694, allocations: 192 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3694, allocations: 3.938 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3694, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.3697, allocations: 175.4 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.3697, allocations: 81.11 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.3697, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.3698, allocations: 7.984 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.3698, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.3698, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.207e-05/0.3699, allocations: 83.28 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3699, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002486/0.3701, allocations: 23.95 kB / 1.326 GB, free: 13.48 MB / 1.029 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.0002294/0.3704, allocations: 119.1 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.3706, allocations: 35.95 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3706, allocations: 4.062 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.201e-05/0.3707, allocations: 23.92 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.371, allocations: 5.812 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.3713, allocations: 109.3 kB / 1.326 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.3716, allocations: 0.6768 MB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.3716, allocations: 4 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.3717, allocations: 11.5 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3717, allocations: 0 / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of Templates: time 0.003393/0.3751, allocations: 0.6513 MB / 1.328 GB, free: 11.79 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.76925847074017]