Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.874/2.874, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1")
translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.11 kB / 1.145 GB, free: 30.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.274, allocations: 174.9 MB / 1.316 GB, free: 9.758 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002647/0.2767, allocations: 1.448 MB / 1.317 GB, free: 8.301 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0005483/0.2772, allocations: 255.2 kB / 1.318 GB, free: 8.051 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.2773, allocations: 0 / 1.318 GB, free: 8.051 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.2773, allocations: 3.938 kB / 1.318 GB, free: 8.047 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 3.648e-05/0.2773, allocations: 4 kB / 1.318 GB, free: 8.043 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.2777, allocations: 59.81 kB / 1.318 GB, free: 7.984 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 6.402e-05/0.2777, allocations: 27.86 kB / 1.318 GB, free: 7.957 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.132e-05/0.2778, allocations: 7.984 kB / 1.318 GB, free: 7.949 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.2779, allocations: 8 kB / 1.318 GB, free: 7.941 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.744e-05/0.2779, allocations: 15.92 kB / 1.318 GB, free: 7.926 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.2779, allocations: 0 / 1.318 GB, free: 7.926 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.2781, allocations: 59.89 kB / 1.318 GB, free: 7.867 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.2781, allocations: 7.984 kB / 1.318 GB, free: 7.859 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.2781, allocations: 11.92 kB / 1.318 GB, free: 7.848 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.2782, allocations: 47.88 kB / 1.318 GB, free: 7.801 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2782, allocations: 3.938 kB / 1.318 GB, free: 7.797 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.433e-06/0.2782, allocations: 4 kB / 1.318 GB, free: 7.793 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.075e-06/0.2783, allocations: 0 / 1.318 GB, free: 7.793 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.0004332/0.2787, allocations: 270.3 kB / 1.318 GB, free: 7.496 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2787, allocations: 12.02 kB / 1.318 GB, free: 7.484 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.2788, allocations: 4.891 kB / 1.318 GB, free: 7.48 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.2789, allocations: 118.5 kB / 1.318 GB, free: 7.34 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2789, allocations: 384 / 1.318 GB, free: 7.34 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.2789, allocations: 384 / 1.318 GB, free: 7.34 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.2791, allocations: 54.23 kB / 1.318 GB, free: 7.281 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2791, allocations: 192 / 1.318 GB, free: 7.281 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2791, allocations: 3.938 kB / 1.318 GB, free: 7.277 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2791, allocations: 4 kB / 1.318 GB, free: 7.273 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.2793, allocations: 27.97 kB / 1.318 GB, free: 7.246 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.2796, allocations: 220 kB / 1.319 GB, free: 6.988 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.2797, allocations: 42.5 kB / 1.319 GB, free: 6.938 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/0.2798, allocations: 24.91 kB / 1.319 GB, free: 6.91 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005164/0.2803, allocations: 83.91 kB / 1.319 GB, free: 6.828 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.2803, allocations: 30.56 kB / 1.319 GB, free: 6.789 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2803, allocations: 0 / 1.319 GB, free: 6.789 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.000356/0.2807, allocations: 85.53 kB / 1.319 GB, free: 6.699 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.2807, allocations: 55.41 kB / 1.319 GB, free: 6.633 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.843e-05/0.2808, allocations: 102 kB / 1.319 GB, free: 6.523 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2808, allocations: 25.7 kB / 1.319 GB, free: 6.492 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.2809, allocations: 84.14 kB / 1.319 GB, free: 6.406 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.2809, allocations: 7.953 kB / 1.319 GB, free: 6.398 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.2809, allocations: 9.719 kB / 1.319 GB, free: 6.383 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001212/0.281, allocations: 318.8 kB / 1.319 GB, free: 6.062 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.2811, allocations: 19.97 kB / 1.319 GB, free: 6.043 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.377e-05/0.2812, allocations: 19.98 kB / 1.319 GB, free: 6.023 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.2814, allocations: 36.83 kB / 1.32 GB, free: 5.984 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2814, allocations: 0 / 1.32 GB, free: 5.984 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.000202/0.2816, allocations: 73.53 kB / 1.32 GB, free: 5.906 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2816, allocations: 6.344 kB / 1.32 GB, free: 5.902 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.2816, allocations: 0 / 1.32 GB, free: 5.902 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2816, allocations: 8.031 kB / 1.32 GB, free: 5.895 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/0.2817, allocations: 11.98 kB / 1.32 GB, free: 5.883 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2817, allocations: 3.984 kB / 1.32 GB, free: 5.879 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.2817, allocations: 7.984 kB / 1.32 GB, free: 5.871 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2817, allocations: 0 / 1.32 GB, free: 5.871 MB / 1.014 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.434e-05/0.2818, allocations: 109.8 kB / 1.32 GB, free: 5.754 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.2819, allocations: 8 kB / 1.32 GB, free: 5.746 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.2821, allocations: 73.09 kB / 1.32 GB, free: 5.664 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2821, allocations: 0 / 1.32 GB, free: 5.664 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2821, allocations: 3.984 kB / 1.32 GB, free: 5.66 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2821, allocations: 0 / 1.32 GB, free: 5.66 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2823, allocations: 136.7 kB / 1.32 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2823, allocations: 0 / 1.32 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.2823, allocations: 4 kB / 1.32 GB, free: 5.48 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2823, allocations: 0 / 1.32 GB, free: 5.48 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2823, allocations: 0 / 1.32 GB, free: 5.48 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.2823, allocations: 12.02 kB / 1.32 GB, free: 5.469 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2823, allocations: 4 kB / 1.32 GB, free: 5.465 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.2826, allocations: 159.4 kB / 1.32 GB, free: 5.293 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.2826, allocations: 11.92 kB / 1.32 GB, free: 5.281 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.2826, allocations: 0 / 1.32 GB, free: 5.281 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.2827, allocations: 8.031 kB / 1.32 GB, free: 5.273 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.2827, allocations: 3.984 kB / 1.32 GB, free: 5.27 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.2827, allocations: 4 kB / 1.32 GB, free: 5.266 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.113e-05/0.2828, allocations: 83.22 kB / 1.32 GB, free: 5.184 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.2828, allocations: 0 / 1.32 GB, free: 5.184 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002332/0.283, allocations: 16 kB / 1.32 GB, free: 5.168 MB / 1.014 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.0001824/0.2832, allocations: 115.7 kB / 1.32 GB, free: 5.043 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002196/0.2834, allocations: 35.95 kB / 1.32 GB, free: 5.008 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2834, allocations: 0 / 1.32 GB, free: 5.008 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 8.34e-05/0.2835, allocations: 19.98 kB / 1.32 GB, free: 4.988 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.2837, allocations: 7.938 kB / 1.32 GB, free: 4.98 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.284, allocations: 121.5 kB / 1.321 GB, free: 4.836 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.2843, allocations: 0.6768 MB / 1.321 GB, free: 4.133 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.047e-05/0.2843, allocations: 0 / 1.321 GB, free: 4.133 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.2843, allocations: 11.38 kB / 1.321 GB, free: 4.121 MB / 1.014 GB
Notification: Performance of SimCode: time 2.71e-07/0.2843, allocations: 0 / 1.321 GB, free: 4.121 MB / 1.014 GB
Notification: Performance of Templates: time 0.003189/0.2875, allocations: 0.6754 MB / 1.322 GB, free: 3.449 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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: 7.802319503389299]