Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.00133/0.00133, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001593/0.001593, allocations: 187.8 kB / 22.11 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.438/1.438, allocations: 225.6 MB / 250.8 MB, free: 13.07 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.194/3.194, allocations: 495.8 MB / 0.783 GB, free: 33.6 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0")
translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 65.7 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3405, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001768/0.3423, allocations: 0.5906 MB / 1.307 GB, free: 1.223 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0004561/0.3427, allocations: 195.7 kB / 1.308 GB, free: 1.031 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.194e-05/0.3427, allocations: 3.938 kB / 1.308 GB, free: 1.027 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.3428, allocations: 0 / 1.308 GB, free: 1.027 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 5.932e-06/0.3428, allocations: 0 / 1.308 GB, free: 1.027 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.3431, allocations: 51.83 kB / 1.308 GB, free: 0.9766 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 3.852e-05/0.3432, allocations: 4 kB / 1.308 GB, free: 0.9727 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.975e-05/0.3432, allocations: 0 / 1.308 GB, free: 0.9727 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.175e-05/0.3432, allocations: 0 / 1.308 GB, free: 0.9727 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.097e-05/0.3432, allocations: 0 / 1.308 GB, free: 0.9727 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 5.71e-06/0.3432, allocations: 4 kB / 1.308 GB, free: 0.9688 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.3434, allocations: 63.92 kB / 1.308 GB, free: 0.9062 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.3434, allocations: 0 / 1.308 GB, free: 0.9062 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 1.415e-05/0.3434, allocations: 3.938 kB / 1.308 GB, free: 0.9023 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.000111/0.3435, allocations: 35.88 kB / 1.308 GB, free: 0.8672 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3435, allocations: 0 / 1.308 GB, free: 0.8672 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.753e-06/0.3435, allocations: 0 / 1.308 GB, free: 0.8672 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 8.456e-06/0.3436, allocations: 0 / 1.308 GB, free: 0.8672 MB / 0.9981 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.0003052/0.3439, allocations: 252.9 kB / 1.308 GB, free: 0.5898 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3439, allocations: 8.031 kB / 1.308 GB, free: 0.582 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.3439, allocations: 4.938 kB / 1.308 GB, free: 0.5781 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.233e-05/0.344, allocations: 110.5 kB / 1.308 GB, free: 456 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.344, allocations: 384 / 1.308 GB, free: 456 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.344, allocations: 384 / 1.308 GB, free: 456 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.09e-05/0.3441, allocations: 26.27 kB / 1.308 GB, free: 424 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3441, allocations: 4.188 kB / 1.308 GB, free: 420 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3441, allocations: 3.938 kB / 1.308 GB, free: 416 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3441, allocations: 0 / 1.308 GB, free: 416 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.3442, allocations: 3.938 kB / 1.308 GB, free: 412 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.3443, allocations: 120.8 kB / 1.308 GB, free: 248 kB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.415e-05/0.3443, allocations: 18.58 kB / 1.308 GB, free: 220 kB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.3444, allocations: 8.844 kB / 1.308 GB, free: 208 kB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005533/0.3449, allocations: 75.98 kB / 1.308 GB, free: 132 kB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.345, allocations: 34.56 kB / 1.308 GB, free: 88 kB / 0.9981 GB
Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.345, allocations: 0 / 1.308 GB, free: 88 kB / 0.9981 GB
Notification: Performance of matching and sorting (n=1): time 0.0001347/0.3451, allocations: 37.58 kB / 1.308 GB, free: 44 kB / 0.9981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.3451, allocations: 51.41 kB / 1.308 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.44e-05/0.3452, allocations: 89.86 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3452, allocations: 29.69 kB / 1.309 GB, free: 15.85 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.3452, allocations: 84.14 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.3453, allocations: 4.125 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.3453, allocations: 13.72 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000131/0.3454, allocations: 310.8 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.3454, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.3454, allocations: 7.938 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.674e-05/0.3455, allocations: 4.859 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3455, allocations: 4 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 8.624e-05/0.3456, allocations: 49.69 kB / 1.309 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3456, allocations: 4 kB / 1.309 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3456, allocations: 0 / 1.309 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3456, allocations: 7.922 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.071e-05/0.3456, allocations: 4 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3456, allocations: 0 / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.007e-06/0.3456, allocations: 0 / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.3456, allocations: 3.938 kB / 1.309 GB, free: 15.33 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 (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 7.929e-05/0.3457, allocations: 109.8 kB / 1.309 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-06/0.3457, allocations: 4.031 kB / 1.309 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.244e-05/0.3458, allocations: 48.56 kB / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3458, allocations: 4 kB / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3458, allocations: 0 / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3458, allocations: 0 / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.771e-05/0.3459, allocations: 112.8 kB / 1.309 GB, free: 15 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3459, allocations: 0 / 1.309 GB, free: 15 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.311e-05/0.3459, allocations: 4 kB / 1.309 GB, free: 15 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3459, allocations: 3.984 kB / 1.309 GB, free: 15 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.3459, allocations: 3.938 kB / 1.309 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3459, allocations: 4.031 kB / 1.309 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3459, allocations: 0 / 1.309 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 6.846e-05/0.346, allocations: 57.14 kB / 1.309 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.967e-06/0.346, allocations: 0 / 1.309 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.346, allocations: 3.938 kB / 1.309 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-06/0.346, allocations: 3.984 kB / 1.309 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.3461, allocations: 3.938 kB / 1.309 GB, free: 14.9 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3461, allocations: 0 / 1.309 GB, free: 14.9 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 3.29e-05/0.3461, allocations: 83.31 kB / 1.309 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.3461, allocations: 0 / 1.309 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001916/0.3463, allocations: 11.94 kB / 1.309 GB, free: 14.81 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 (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.000192/0.3465, allocations: 116 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 7.865e-05/0.3466, allocations: 8 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3466, allocations: 0 / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 8.045e-06/0.3466, allocations: 4 kB / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.3467, allocations: 5.406 kB / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001779/0.3469, allocations: 76.88 kB / 1.31 GB, free: 14.57 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.3472, allocations: 0.6768 MB / 1.31 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 1.242e-05/0.3472, allocations: 4 kB / 1.31 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.3472, allocations: 15.31 kB / 1.31 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of SimCode: time 3.71e-07/0.3472, allocations: 128 / 1.31 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of Templates: time 0.002611/0.3498, allocations: 410.8 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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.88106076978147]