Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001382/0.001382, 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.001562/0.001562, allocations: 212.6 kB / 22.25 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.812 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.344/3.344, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.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.00227/0.00227, allocations: 67.84 kB / 1.186 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3621, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002036/0.3642, allocations: 0.5902 MB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005636/0.3647, allocations: 179.9 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.208e-05/0.3648, allocations: 3.938 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.3648, allocations: 0 / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.404e-06/0.3648, allocations: 4 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.3652, allocations: 51.83 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.128e-05/0.3652, allocations: 7.984 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.3653, allocations: 0 / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.262e-05/0.3653, allocations: 3.938 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.644e-05/0.3653, allocations: 3.984 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.632e-06/0.3653, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.3655, allocations: 55.89 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.3655, allocations: 0 / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.49e-05/0.3655, allocations: 0 / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.3657, allocations: 55.8 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3657, allocations: 0 / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3657, allocations: 0 / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3657, allocations: 0 / 1.365 GB, free: 12.64 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.0003201/0.366, allocations: 238.4 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.366, allocations: 12.03 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.3661, allocations: 0.9375 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.085e-05/0.3661, allocations: 102.5 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3662, allocations: 384 / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.3662, allocations: 4.375 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.3663, allocations: 34.25 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3663, allocations: 4.188 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3663, allocations: 7.922 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3663, allocations: 3.938 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.3663, allocations: 4 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.3665, allocations: 93.33 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.3665, allocations: 22.55 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.3665, allocations: 4.859 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006485/0.3672, allocations: 79.97 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.3672, allocations: 30.56 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.803e-06/0.3672, allocations: 0 / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.000167/0.3674, allocations: 45.58 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.3674, allocations: 51.41 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.026e-05/0.3675, allocations: 89.86 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3675, allocations: 25.7 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.3676, allocations: 80.14 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.3676, allocations: 4.125 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.3676, allocations: 17.7 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3678, allocations: 310.8 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.3678, allocations: 4 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.385e-06/0.3678, allocations: 4 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.931e-05/0.3678, allocations: 8.797 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3678, allocations: 0 / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.716e-05/0.3679, allocations: 33.7 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3679, allocations: 4 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3679, allocations: 8.078 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3679, allocations: 0 / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.494e-05/0.368, allocations: 7.938 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.368, allocations: 0 / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-06/0.368, allocations: 0 / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.368, allocations: 0 / 1.366 GB, free: 11.16 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 9.438e-05/0.3681, allocations: 105.8 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.3681, allocations: 7.938 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.839e-05/0.3682, allocations: 44.62 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3682, allocations: 3.938 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3682, allocations: 4.031 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3682, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.475e-05/0.3683, allocations: 93.33 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3683, allocations: 0 / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.368e-05/0.3683, allocations: 4 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3683, allocations: 0 / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3683, allocations: 4 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3683, allocations: 3.938 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3683, allocations: 3.938 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.74e-05/0.3684, allocations: 61.12 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.3684, allocations: 7.969 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.3684, allocations: 4 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-06/0.3684, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.3684, allocations: 3.938 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.3684, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.3685, allocations: 75.28 kB / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3685, allocations: 0 / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002203/0.3687, allocations: 19.92 kB / 1.367 GB, free: 10.66 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.0002557/0.3689, allocations: 115.2 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.167e-05/0.369, allocations: 11.98 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.369, allocations: 0 / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.256e-06/0.369, allocations: 4 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.3692, allocations: 0 / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.3694, allocations: 84.81 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.898e-05/0.3695, allocations: 51.36 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.016e-05/0.3695, allocations: 4 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.3695, allocations: 11.56 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3695, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of Templates: time 0.00273/0.3722, allocations: 407.7 kB / 1.367 GB, free: 9.926 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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.770811066031456]