Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.00119/0.00119, 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.001258/0.001258, allocations: 190.9 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.285/1.285, allocations: 225.6 MB / 251 MB, free: 13.01 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.832/2.832, allocations: 495.7 MB / 0.7831 GB, free: 33.37 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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1")
translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 61.56 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2905, allocations: 173.6 MB / 1.307 GB, free: 1.914 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001701/0.2922, allocations: 0.5932 MB / 1.308 GB, free: 1.324 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0004882/0.2926, allocations: 203.7 kB / 1.308 GB, free: 1.125 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.185e-05/0.2927, allocations: 0 / 1.308 GB, free: 1.125 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.193e-05/0.2927, allocations: 0 / 1.308 GB, free: 1.125 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.2927, allocations: 0 / 1.308 GB, free: 1.125 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.2931, allocations: 55.81 kB / 1.308 GB, free: 1.07 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 3.627e-05/0.2931, allocations: 7.938 kB / 1.308 GB, free: 1.062 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.2931, allocations: 0 / 1.308 GB, free: 1.062 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.153e-05/0.2931, allocations: 0 / 1.308 GB, free: 1.062 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.238e-05/0.2932, allocations: 4 kB / 1.308 GB, free: 1.059 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 5.741e-06/0.2932, allocations: 0 / 1.308 GB, free: 1.059 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.2933, allocations: 67.86 kB / 1.308 GB, free: 0.9922 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 7.684e-06/0.2934, allocations: 0 / 1.308 GB, free: 0.9922 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.2934, allocations: 0 / 1.308 GB, free: 0.9922 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.2935, allocations: 47.81 kB / 1.308 GB, free: 0.9453 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2935, allocations: 0 / 1.308 GB, free: 0.9453 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.332e-06/0.2935, allocations: 4 kB / 1.308 GB, free: 0.9414 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 4.469e-06/0.2935, allocations: 0 / 1.308 GB, free: 0.9414 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.0003118/0.2938, allocations: 238.4 kB / 1.308 GB, free: 0.6758 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2938, allocations: 12.03 kB / 1.308 GB, free: 0.6641 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.2939, allocations: 4.938 kB / 1.308 GB, free: 0.6602 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.008e-05/0.294, allocations: 106.5 kB / 1.308 GB, free: 0.5312 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.294, allocations: 384 / 1.308 GB, free: 0.5312 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-06/0.294, allocations: 384 / 1.308 GB, free: 0.5312 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.628e-05/0.2941, allocations: 34.27 kB / 1.308 GB, free: 0.4922 MB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2941, allocations: 192 / 1.308 GB, free: 0.4922 MB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2941, allocations: 3.938 kB / 1.308 GB, free: 500 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2941, allocations: 0 / 1.308 GB, free: 500 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.601e-05/0.2941, allocations: 0 / 1.308 GB, free: 500 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.2942, allocations: 124.8 kB / 1.308 GB, free: 332 kB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 3.592e-05/0.2943, allocations: 18.52 kB / 1.308 GB, free: 304 kB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.2943, allocations: 8.953 kB / 1.308 GB, free: 292 kB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005265/0.2948, allocations: 75.91 kB / 1.309 GB, free: 216 kB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.2949, allocations: 34.56 kB / 1.309 GB, free: 172 kB / 0.9981 GB
Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2949, allocations: 0 / 1.309 GB, free: 172 kB / 0.9981 GB
Notification: Performance of matching and sorting (n=1): time 0.0001062/0.295, allocations: 33.64 kB / 1.309 GB, free: 132 kB / 0.9981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.295, allocations: 55.53 kB / 1.309 GB, free: 64 kB / 0.9981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.089e-05/0.2951, allocations: 89.86 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2951, allocations: 29.64 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.2951, allocations: 80.14 kB / 1.309 GB, free: 15.85 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.2951, allocations: 8 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.2952, allocations: 9.719 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001282/0.2953, allocations: 314.8 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-06/0.2953, allocations: 0 / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.2953, allocations: 12 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.253e-05/0.2953, allocations: 4.859 kB / 1.309 GB, free: 15.49 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2953, allocations: 0 / 1.309 GB, free: 15.49 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 4.973e-05/0.2954, allocations: 37.7 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2954, allocations: 10.28 kB / 1.309 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2954, allocations: 3.938 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2954, allocations: 3.938 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.674e-05/0.2954, allocations: 11.92 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2954, allocations: 96 / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.236e-06/0.2954, allocations: 4 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.2955, allocations: 0 / 1.309 GB, free: 15.41 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 6.417e-05/0.2955, allocations: 109.8 kB / 1.309 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-06/0.2955, allocations: 0 / 1.309 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.15e-05/0.2956, allocations: 40.64 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.2956, allocations: 0 / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2956, allocations: 3.984 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2956, allocations: 3.984 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.343e-05/0.2957, allocations: 120.8 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.2957, allocations: 0 / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.2957, allocations: 4 kB / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.2957, allocations: 0 / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.2957, allocations: 3.938 kB / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.2957, allocations: 0 / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2957, allocations: 3.938 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.419e-05/0.2958, allocations: 61.12 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.845e-06/0.2958, allocations: 4.031 kB / 1.31 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.2958, allocations: 3.938 kB / 1.31 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-06/0.2958, allocations: 0 / 1.31 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-06/0.2958, allocations: 0 / 1.31 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.2958, allocations: 4 kB / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 2.946e-05/0.2958, allocations: 75.28 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.2958, allocations: 0 / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001877/0.296, allocations: 15.92 kB / 1.31 GB, free: 14.89 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.0001864/0.2962, allocations: 116 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 6.153e-05/0.2963, allocations: 11.92 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2963, allocations: 0 / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 7.594e-06/0.2963, allocations: 4 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.2964, allocations: 0 / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001663/0.2966, allocations: 81 kB / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.2969, allocations: 0.6729 MB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 1.3e-05/0.2969, allocations: 7.938 kB / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.2969, allocations: 7.438 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of SimCode: time 2.9e-07/0.2969, allocations: 0 / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of Templates: time 0.0025/0.2994, allocations: 416.4 kB / 1.311 GB, free: 13.53 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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.671225588768721]