Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001951/0.001951, allocations: 113.9 kB / 18.94 MB, free: 2.785 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.002257/0.002257, allocations: 191.2 kB / 22.23 MB, free: 5.227 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.458/1.458, 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.179/3.179, allocations: 496 MB / 0.7835 GB, free: 33.68 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 65.06 kB / 1.138 GB, free: 33.87 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3468, allocations: 173.6 MB / 1.307 GB, free: 1.797 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00191/0.3487, allocations: 0.5919 MB / 1.308 GB, free: 1.207 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0005354/0.3493, allocations: 207.7 kB / 1.308 GB, free: 1.004 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.236e-05/0.3493, allocations: 0 / 1.308 GB, free: 1.004 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.3493, allocations: 0 / 1.308 GB, free: 1.004 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 5.7e-06/0.3493, allocations: 0 / 1.308 GB, free: 1.004 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.3497, allocations: 51.81 kB / 1.308 GB, free: 0.9531 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 4.007e-05/0.3497, allocations: 4 kB / 1.308 GB, free: 0.9492 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.3498, allocations: 0 / 1.308 GB, free: 0.9492 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.495e-05/0.3498, allocations: 4 kB / 1.308 GB, free: 0.9453 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.39e-05/0.3498, allocations: 3.984 kB / 1.308 GB, free: 0.9414 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 6.453e-06/0.3498, allocations: 0 / 1.308 GB, free: 0.9414 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.35, allocations: 67.88 kB / 1.308 GB, free: 0.875 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.35, allocations: 0 / 1.308 GB, free: 0.875 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 1.5e-05/0.35, allocations: 0 / 1.308 GB, free: 0.875 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.3502, allocations: 43.81 kB / 1.308 GB, free: 0.832 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3502, allocations: 0 / 1.308 GB, free: 0.832 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.303e-06/0.3502, allocations: 0 / 1.308 GB, free: 0.832 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 4.949e-06/0.3502, allocations: 0 / 1.308 GB, free: 0.832 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.000313/0.3505, allocations: 246.4 kB / 1.308 GB, free: 0.5586 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3505, allocations: 12.92 kB / 1.309 GB, free: 0.5469 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.3505, allocations: 0.9375 kB / 1.309 GB, free: 0.5469 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.102e-05/0.3506, allocations: 102.5 kB / 1.309 GB, free: 432 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3506, allocations: 4.375 kB / 1.309 GB, free: 428 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.3506, allocations: 384 / 1.309 GB, free: 428 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.983e-05/0.3507, allocations: 38.19 kB / 1.309 GB, free: 384 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3508, allocations: 192 / 1.309 GB, free: 384 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3508, allocations: 3.938 kB / 1.309 GB, free: 380 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3508, allocations: 3.984 kB / 1.309 GB, free: 376 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.668e-05/0.3508, allocations: 4 kB / 1.309 GB, free: 372 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.3509, allocations: 120.8 kB / 1.309 GB, free: 208 kB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.139e-05/0.351, allocations: 14.58 kB / 1.309 GB, free: 184 kB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.351, allocations: 8.953 kB / 1.309 GB, free: 172 kB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006027/0.3516, allocations: 83.84 kB / 1.309 GB, free: 88 kB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3516, allocations: 30.56 kB / 1.309 GB, free: 48 kB / 0.9981 GB
Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3516, allocations: 0 / 1.309 GB, free: 48 kB / 0.9981 GB
Notification: Performance of matching and sorting (n=1): time 0.0001219/0.3517, allocations: 37.64 kB / 1.309 GB, free: 4 kB / 0.9981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.3518, allocations: 55.39 kB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.69e-05/0.3519, allocations: 93.8 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3519, allocations: 25.83 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.3519, allocations: 84.14 kB / 1.309 GB, free: 15.72 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.352, allocations: 4 kB / 1.309 GB, free: 15.71 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.352, allocations: 9.719 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001406/0.3521, allocations: 310.8 kB / 1.31 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.3521, allocations: 0 / 1.31 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/0.3521, allocations: 11.94 kB / 1.31 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.866e-05/0.3522, allocations: 4.859 kB / 1.31 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3522, allocations: 4.062 kB / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 5.689e-05/0.3522, allocations: 41.62 kB / 1.31 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3522, allocations: 4 kB / 1.31 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3522, allocations: 0 / 1.31 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3523, allocations: 3.938 kB / 1.31 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.925e-05/0.3523, allocations: 4 kB / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.3523, allocations: 0 / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.796e-06/0.3523, allocations: 0 / 1.31 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.3523, allocations: 0 / 1.31 GB, free: 15.3 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.364e-05/0.3524, allocations: 113.8 kB / 1.31 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-06/0.3524, allocations: 0 / 1.31 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.983e-05/0.3525, allocations: 52.56 kB / 1.31 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3525, allocations: 0 / 1.31 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3525, allocations: 0 / 1.31 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.3525, allocations: 0 / 1.31 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.298e-05/0.3526, allocations: 112.8 kB / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3526, allocations: 0 / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.3526, allocations: 7.984 kB / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3526, allocations: 32 / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3526, allocations: 7.938 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.3526, allocations: 0 / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3526, allocations: 4 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.208e-05/0.3527, allocations: 61.08 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.428e-06/0.3527, allocations: 0 / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.3527, allocations: 7.922 kB / 1.31 GB, free: 14.87 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-06/0.3527, allocations: 0 / 1.31 GB, free: 14.87 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.224e-05/0.3527, allocations: 4.031 kB / 1.31 GB, free: 14.87 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3527, allocations: 4 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 3.814e-05/0.3528, allocations: 75.28 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3528, allocations: 0 / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002096/0.353, allocations: 11.94 kB / 1.31 GB, free: 14.78 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.0001981/0.3532, allocations: 124 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 6.726e-05/0.3532, allocations: 4 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3532, allocations: 3.938 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.3533, allocations: 7.938 kB / 1.31 GB, free: 14.63 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.3534, allocations: 0 / 1.31 GB, free: 14.63 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000191/0.3536, allocations: 76.81 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.354, allocations: 0.6768 MB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 9.558e-06/0.354, allocations: 0 / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.357e-05/0.354, allocations: 11.56 kB / 1.311 GB, free: 13.81 MB / 1.014 GB
Notification: Performance of SimCode: time 2.91e-07/0.354, allocations: 0 / 1.311 GB, free: 13.81 MB / 1.014 GB
Notification: Performance of Templates: time 0.00278/0.3568, allocations: 420.4 kB / 1.311 GB, free: 13.4 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.73519984818995]