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.001711/0.001711, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002047/0.002047, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.777 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.378/3.378, 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.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: 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.002215/0.002215, allocations: 67.84 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3629, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00299/0.3659, allocations: 1.451 MB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006122/0.3665, allocations: 231.3 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.3666, allocations: 4 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.3666, allocations: 0 / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.3666, allocations: 3.938 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.367, allocations: 55.81 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.233e-05/0.3671, allocations: 31.86 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.097e-05/0.3672, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.3672, allocations: 11.98 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.066e-05/0.3673, allocations: 7.938 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.3673, allocations: 4 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.3674, allocations: 63.88 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.3674, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.3675, allocations: 15.97 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.3676, allocations: 47.81 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3676, allocations: 0 / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3676, allocations: 0 / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.3676, allocations: 0 / 1.366 GB, free: 11.6 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004758/0.3681, allocations: 266.3 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3682, allocations: 12.03 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.3682, allocations: 8.891 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.3683, allocations: 110.5 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3683, allocations: 4.375 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.3683, allocations: 384 / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.3685, allocations: 50.23 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3685, allocations: 8.062 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3685, allocations: 3.938 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3685, allocations: 0 / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.3687, allocations: 35.95 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.369, allocations: 196.6 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3692, allocations: 34.59 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.886e-05/0.3692, allocations: 24.91 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005211/0.3698, allocations: 79.86 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.3698, allocations: 34.5 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.3698, allocations: 4 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003792/0.3702, allocations: 77.64 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.3702, allocations: 51.41 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.118e-05/0.3703, allocations: 101.8 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3703, allocations: 29.7 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.3704, allocations: 84.22 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.3704, allocations: 7.953 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.3704, allocations: 13.72 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3706, allocations: 318.8 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.689e-05/0.3707, allocations: 19.92 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-05/0.3708, allocations: 19.92 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3709, allocations: 40.81 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3709, allocations: 4.062 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002041/0.3711, allocations: 65.61 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3711, allocations: 6.969 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3711, allocations: 0 / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3712, allocations: 0 / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.3712, allocations: 11.98 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3713, allocations: 4 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.3713, allocations: 7.984 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.3713, allocations: 4.031 kB / 1.367 GB, free: 9.723 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 (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 9.761e-05/0.3714, allocations: 113.8 kB / 1.367 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.3714, allocations: 7.938 kB / 1.367 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.3717, allocations: 64.97 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3717, allocations: 0 / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3717, allocations: 0 / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3717, allocations: 0 / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.3718, allocations: 113.2 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3718, allocations: 4.031 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.3719, allocations: 7.984 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.3719, allocations: 3.938 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.3719, allocations: 0 / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3719, allocations: 4 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3719, allocations: 0 / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.3722, allocations: 167.6 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.3722, allocations: 11.86 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.3722, allocations: 4.031 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.3723, allocations: 7.984 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.3723, allocations: 4 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3723, allocations: 0 / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.3723, allocations: 87.27 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3723, allocations: 0 / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002449/0.3726, allocations: 12 kB / 1.368 GB, free: 9.055 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 (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.0002079/0.3728, allocations: 111.2 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.373, allocations: 43.89 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.373, allocations: 0 / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.291e-05/0.3731, allocations: 15.98 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.3734, allocations: 7.938 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.3737, allocations: 113.6 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.971e-05/0.3737, allocations: 63.28 kB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.3738, allocations: 4 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.3738, allocations: 7.438 kB / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3738, allocations: 0 / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of Templates: time 0.003258/0.377, allocations: 0.6826 MB / 1.369 GB, free: 7.961 MB / 1.061 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: 8.966618498787284]