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.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.001365/0.001365, allocations: 112.7 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.001535/0.001535, allocations: 190.7 kB / 22.22 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.3/1.3, 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.893/2.893, allocations: 0.4893 GB / 0.7884 GB, free: 33.27 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.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: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 66.72 kB / 1.145 GB, free: 30.62 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2881, allocations: 174.9 MB / 1.316 GB, free: 9.707 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002689/0.2908, allocations: 1.448 MB / 1.317 GB, free: 8.25 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0005599/0.2913, allocations: 247.2 kB / 1.318 GB, free: 8.008 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.2914, allocations: 0 / 1.318 GB, free: 8.008 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.2914, allocations: 0 / 1.318 GB, free: 8.008 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 4.376e-05/0.2914, allocations: 3.938 kB / 1.318 GB, free: 8.004 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.2918, allocations: 59.81 kB / 1.318 GB, free: 7.945 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 6.443e-05/0.2918, allocations: 19.92 kB / 1.318 GB, free: 7.926 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.2919, allocations: 4 kB / 1.318 GB, free: 7.922 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.973e-05/0.2919, allocations: 11.98 kB / 1.318 GB, free: 7.91 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.168e-05/0.292, allocations: 11.94 kB / 1.318 GB, free: 7.898 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.292, allocations: 4 kB / 1.318 GB, free: 7.895 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.2922, allocations: 67.88 kB / 1.318 GB, free: 7.828 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.2922, allocations: 7.984 kB / 1.318 GB, free: 7.82 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.2922, allocations: 3.938 kB / 1.318 GB, free: 7.816 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.2923, allocations: 59.78 kB / 1.318 GB, free: 7.758 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2924, allocations: 0 / 1.318 GB, free: 7.758 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.182e-06/0.2924, allocations: 3.938 kB / 1.318 GB, free: 7.754 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 4.999e-06/0.2924, allocations: 4 kB / 1.318 GB, free: 7.75 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.000453/0.2928, allocations: 270.3 kB / 1.318 GB, free: 7.453 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2929, allocations: 8.031 kB / 1.318 GB, free: 7.445 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.2929, allocations: 4.891 kB / 1.318 GB, free: 7.441 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.293, allocations: 110.5 kB / 1.318 GB, free: 7.309 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.293, allocations: 384 / 1.318 GB, free: 7.309 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-06/0.293, allocations: 384 / 1.318 GB, free: 7.309 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.2932, allocations: 50.23 kB / 1.318 GB, free: 7.254 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2932, allocations: 192 / 1.318 GB, free: 7.254 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.2932, allocations: 3.938 kB / 1.318 GB, free: 7.25 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.2932, allocations: 8 kB / 1.318 GB, free: 7.242 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.2934, allocations: 35.89 kB / 1.318 GB, free: 7.207 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.2937, allocations: 216.1 kB / 1.319 GB, free: 6.953 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.2938, allocations: 38.5 kB / 1.319 GB, free: 6.906 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.955e-05/0.2939, allocations: 28.89 kB / 1.319 GB, free: 6.875 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000463/0.2944, allocations: 71.92 kB / 1.319 GB, free: 6.805 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.2944, allocations: 30.56 kB / 1.319 GB, free: 6.766 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.502e-06/0.2944, allocations: 0 / 1.319 GB, free: 6.766 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0003695/0.2948, allocations: 93.53 kB / 1.319 GB, free: 6.668 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2948, allocations: 51.41 kB / 1.319 GB, free: 6.605 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.2949, allocations: 101.8 kB / 1.319 GB, free: 6.496 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.2949, allocations: 25.7 kB / 1.319 GB, free: 6.465 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.295, allocations: 84.14 kB / 1.319 GB, free: 6.379 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.295, allocations: 3.953 kB / 1.319 GB, free: 6.375 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.295, allocations: 25.78 kB / 1.319 GB, free: 6.344 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001259/0.2951, allocations: 310.8 kB / 1.319 GB, free: 6.031 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.52e-05/0.2952, allocations: 15.97 kB / 1.319 GB, free: 6.016 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.856e-05/0.2953, allocations: 15.98 kB / 1.319 GB, free: 6 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.2955, allocations: 44.83 kB / 1.319 GB, free: 5.953 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2955, allocations: 4 kB / 1.319 GB, free: 5.949 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001957/0.2957, allocations: 69.59 kB / 1.32 GB, free: 5.875 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2957, allocations: 4 kB / 1.32 GB, free: 5.871 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2957, allocations: 0 / 1.32 GB, free: 5.871 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2957, allocations: 0 / 1.32 GB, free: 5.871 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.435e-05/0.2958, allocations: 15.92 kB / 1.32 GB, free: 5.855 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2958, allocations: 0 / 1.32 GB, free: 5.855 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.2958, allocations: 8.031 kB / 1.32 GB, free: 5.848 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.2958, allocations: 3.984 kB / 1.32 GB, free: 5.844 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.442e-05/0.2959, allocations: 117.8 kB / 1.32 GB, free: 5.719 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.2959, allocations: 0 / 1.32 GB, free: 5.719 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.2962, allocations: 68.91 kB / 1.32 GB, free: 5.641 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2962, allocations: 0 / 1.32 GB, free: 5.641 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2962, allocations: 4 kB / 1.32 GB, free: 5.637 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2962, allocations: 4.031 kB / 1.32 GB, free: 5.633 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.2964, allocations: 136.7 kB / 1.32 GB, free: 5.457 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2964, allocations: 0 / 1.32 GB, free: 5.457 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.2964, allocations: 4 kB / 1.32 GB, free: 5.453 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2964, allocations: 4 kB / 1.32 GB, free: 5.449 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.2964, allocations: 0 / 1.32 GB, free: 5.449 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2964, allocations: 0 / 1.32 GB, free: 5.449 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2964, allocations: 0 / 1.32 GB, free: 5.449 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.2967, allocations: 171.3 kB / 1.32 GB, free: 5.266 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.2967, allocations: 8.109 kB / 1.32 GB, free: 5.258 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.2967, allocations: 4 kB / 1.32 GB, free: 5.254 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.2968, allocations: 4 kB / 1.32 GB, free: 5.25 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.2968, allocations: 11.97 kB / 1.32 GB, free: 5.238 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.2968, allocations: 0 / 1.32 GB, free: 5.238 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.178e-05/0.2969, allocations: 79.28 kB / 1.32 GB, free: 5.16 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.2969, allocations: 4.031 kB / 1.32 GB, free: 5.156 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002275/0.2971, allocations: 12 kB / 1.32 GB, free: 5.145 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.0002004/0.2973, allocations: 115.7 kB / 1.32 GB, free: 5.02 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002173/0.2975, allocations: 39.97 kB / 1.32 GB, free: 4.98 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2975, allocations: 0 / 1.32 GB, free: 4.98 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 8.762e-05/0.2976, allocations: 23.91 kB / 1.32 GB, free: 4.957 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.2978, allocations: 14.27 kB / 1.32 GB, free: 4.945 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.2981, allocations: 109.5 kB / 1.32 GB, free: 4.812 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.2984, allocations: 0.6729 MB / 1.321 GB, free: 4.113 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.83e-05/0.2984, allocations: 12.11 kB / 1.321 GB, free: 4.102 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.2984, allocations: 11.44 kB / 1.321 GB, free: 4.09 MB / 1.014 GB
Notification: Performance of SimCode: time 4.61e-07/0.2984, allocations: 3.938 kB / 1.321 GB, free: 4.086 MB / 1.014 GB
Notification: Performance of Templates: time 0.002941/0.3014, allocations: 0.6614 MB / 1.322 GB, free: 3.43 MB / 1.014 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: 7.800827068276703]