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.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.001615/0.001615, allocations: 110 kB / 18.93 MB, free: 2.945 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.001934/0.001934, allocations: 188.8 kB / 22.23 MB, free: 5.16 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.448/1.448, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.123/3.123, allocations: 496 MB / 0.7835 GB, free: 33.52 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-maint.12.x/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_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: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.39 kB / 1.138 GB, free: 33.74 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.328, allocations: 173.6 MB / 1.307 GB, free: 1.727 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002587/0.3306, allocations: 1.459 MB / 1.309 GB, free: 264 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0005238/0.3311, allocations: 243.2 kB / 1.309 GB, free: 20 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.207e-05/0.3311, allocations: 0 / 1.309 GB, free: 20 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.3311, allocations: 8 kB / 1.309 GB, free: 12 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.544e-05/0.3312, allocations: 3.938 kB / 1.309 GB, free: 8 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.3315, allocations: 51.83 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 6.919e-05/0.3316, allocations: 23.97 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.407e-05/0.3317, allocations: 7.938 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.115e-05/0.3317, allocations: 11.94 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.948e-05/0.3317, allocations: 15.92 kB / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 8.185e-06/0.3318, allocations: 0 / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.3319, allocations: 59.94 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.3319, allocations: 0 / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.3319, allocations: 19.92 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.3321, allocations: 47.81 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3321, allocations: 0 / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.483e-06/0.3321, allocations: 0 / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 4.819e-06/0.3321, allocations: 0 / 1.309 GB, free: 15.77 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.0004452/0.3325, allocations: 266.3 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3326, allocations: 16.86 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.3326, allocations: 16.81 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.3327, allocations: 102.5 kB / 1.31 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3327, allocations: 8.375 kB / 1.31 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.3327, allocations: 384 / 1.31 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3329, allocations: 50.23 kB / 1.31 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3329, allocations: 192 / 1.31 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3329, allocations: 3.938 kB / 1.31 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3329, allocations: 0 / 1.31 GB, free: 15.26 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.3331, allocations: 35.91 kB / 1.31 GB, free: 15.22 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.3334, allocations: 224 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.3335, allocations: 38.5 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.43e-05/0.3336, allocations: 20.91 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004815/0.3341, allocations: 79.91 kB / 1.31 GB, free: 14.81 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3341, allocations: 42.5 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.3341, allocations: 0 / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0003499/0.3345, allocations: 73.64 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3345, allocations: 59.53 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.3346, allocations: 101.8 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.3346, allocations: 25.7 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.3347, allocations: 84.09 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.3347, allocations: 11.94 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.3347, allocations: 13.72 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001411/0.3349, allocations: 310.8 kB / 1.311 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.314e-05/0.335, allocations: 23.98 kB / 1.311 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.76e-05/0.335, allocations: 15.97 kB / 1.311 GB, free: 14 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3352, allocations: 40.77 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3352, allocations: 0 / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001888/0.3354, allocations: 69.66 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3354, allocations: 12.03 kB / 1.311 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.3354, allocations: 0 / 1.311 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3354, allocations: 0 / 1.311 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.647e-05/0.3355, allocations: 7.984 kB / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3355, allocations: 4 kB / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.3355, allocations: 0 / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.3355, allocations: 4 kB / 1.311 GB, free: 13.86 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.708e-05/0.3356, allocations: 113.7 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.3356, allocations: 7.938 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.3359, allocations: 84.89 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.3359, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3359, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.3359, allocations: 0 / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.336, allocations: 132.6 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.336, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.668e-05/0.3361, allocations: 11.98 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3361, allocations: 4.031 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.3361, allocations: 0 / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3361, allocations: 0 / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3361, allocations: 0 / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.3363, allocations: 171.3 kB / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.3364, allocations: 7.938 kB / 1.311 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.3364, allocations: 4.031 kB / 1.311 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.3364, allocations: 7.984 kB / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.3365, allocations: 0 / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3365, allocations: 0 / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.713e-05/0.3365, allocations: 87.27 kB / 1.311 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3365, allocations: 0 / 1.311 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002408/0.3368, allocations: 16 kB / 1.311 GB, free: 13.15 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.0001884/0.3369, allocations: 116 kB / 1.312 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002056/0.3372, allocations: 31.97 kB / 1.312 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3372, allocations: 0 / 1.312 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 8.541e-05/0.3372, allocations: 23.92 kB / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.3375, allocations: 17.73 kB / 1.312 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.3377, allocations: 97.55 kB / 1.312 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.3381, allocations: 0.6768 MB / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.226e-05/0.3381, allocations: 0 / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.3381, allocations: 7.438 kB / 1.312 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of SimCode: time 3.01e-07/0.3381, allocations: 0 / 1.312 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of Templates: time 0.003243/0.3414, allocations: 0.6686 MB / 1.313 GB, free: 11.45 MB / 1.014 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.79784123506397]