Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.00143/0.00143, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.001421/0.001421, allocations: 191.6 kB / 22.1 MB, free: 4.223 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.475/1.475, allocations: 225.6 MB / 250.8 MB, free: 2.898 MB / 190.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 2.95/2.95, allocations: 495.8 MB / 0.783 GB, free: 12.31 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1")
translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 63.89 kB / 1.137 GB, free: 12.18 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.125, allocations: 173.6 MB / 1.307 GB, free: 33.78 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002746/1.127, allocations: 1.44 MB / 1.308 GB, free: 32.79 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0006013/1.128, allocations: 259.3 kB / 1.308 GB, free: 32.62 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/1.128, allocations: 0 / 1.308 GB, free: 32.62 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 3.381e-05/1.128, allocations: 3.938 kB / 1.308 GB, free: 32.61 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 4.523e-05/1.128, allocations: 0 / 1.308 GB, free: 32.61 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003955/1.128, allocations: 65.33 kB / 1.308 GB, free: 32.59 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 7.265e-05/1.128, allocations: 19.72 kB / 1.308 GB, free: 32.58 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/1.129, allocations: 10.5 kB / 1.308 GB, free: 32.57 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.389e-05/1.129, allocations: 13.92 kB / 1.309 GB, free: 32.56 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/1.129, allocations: 5.953 kB / 1.309 GB, free: 32.56 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 1.103e-05/1.129, allocations: 2.5 kB / 1.309 GB, free: 32.56 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/1.129, allocations: 62.83 kB / 1.309 GB, free: 32.54 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 1.864e-05/1.129, allocations: 11.92 kB / 1.309 GB, free: 32.53 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 2.127e-05/1.129, allocations: 6.109 kB / 1.309 GB, free: 32.53 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001482/1.129, allocations: 56.12 kB / 1.309 GB, free: 32.51 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.129, allocations: 0 / 1.309 GB, free: 32.51 MB / 1.061 GB
Notification: Performance of FrontEnd: time 2.074e-06/1.129, allocations: 0 / 1.309 GB, free: 32.51 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 1.08e-05/1.129, allocations: 0 / 1.309 GB, free: 32.51 MB / 1.061 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.0004364/1.129, allocations: 274.1 kB / 1.309 GB, free: 32.24 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/1.13, allocations: 8.781 kB / 1.309 GB, free: 32.24 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/1.13, allocations: 8.891 kB / 1.309 GB, free: 32.23 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 7.864e-05/1.13, allocations: 108.7 kB / 1.309 GB, free: 32.11 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/1.13, allocations: 11.72 kB / 1.309 GB, free: 32.1 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/1.13, allocations: 384 / 1.309 GB, free: 32.1 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/1.13, allocations: 51.7 kB / 1.309 GB, free: 32.06 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.13, allocations: 4.188 kB / 1.309 GB, free: 32.05 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/1.13, allocations: 3.938 kB / 1.309 GB, free: 32.05 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/1.13, allocations: 0 / 1.309 GB, free: 32.05 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/1.13, allocations: 34.55 kB / 1.309 GB, free: 32.05 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/1.13, allocations: 219.2 kB / 1.309 GB, free: 31.81 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/1.13, allocations: 48.91 kB / 1.309 GB, free: 31.77 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/1.131, allocations: 17.72 kB / 1.309 GB, free: 31.76 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005315/1.131, allocations: 78.61 kB / 1.309 GB, free: 31.75 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/1.131, allocations: 34.56 kB / 1.31 GB, free: 31.71 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.131, allocations: 0 / 1.31 GB, free: 31.71 MB / 1.061 GB
Notification: Performance of matching and sorting (n=2): time 0.0003471/1.131, allocations: 82.53 kB / 1.31 GB, free: 31.67 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/1.131, allocations: 55.34 kB / 1.31 GB, free: 31.61 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.389e-05/1.132, allocations: 99.64 kB / 1.31 GB, free: 31.5 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 7.624e-06/1.132, allocations: 25.7 kB / 1.31 GB, free: 31.47 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/1.132, allocations: 91.69 kB / 1.31 GB, free: 31.38 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/1.132, allocations: 11.05 kB / 1.31 GB, free: 31.38 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/1.132, allocations: 13.72 kB / 1.31 GB, free: 31.36 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 5.213e-05/1.132, allocations: 313.8 kB / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/1.132, allocations: 15.48 kB / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/1.132, allocations: 16.53 kB / 1.31 GB, free: 31.04 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/1.132, allocations: 40.52 kB / 1.31 GB, free: 31.02 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.132, allocations: 0 / 1.31 GB, free: 31.02 MB / 1.061 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001693/1.132, allocations: 70 kB / 1.31 GB, free: 30.98 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/1.132, allocations: 5.375 kB / 1.31 GB, free: 30.98 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.132, allocations: 2.719 kB / 1.31 GB, free: 30.98 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.132, allocations: 192 / 1.31 GB, free: 30.98 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/1.132, allocations: 13.08 kB / 1.31 GB, free: 30.98 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.132, allocations: 0 / 1.31 GB, free: 30.98 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/1.132, allocations: 6.438 kB / 1.31 GB, free: 30.98 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/1.132, allocations: 2.75 kB / 1.31 GB, free: 30.98 MB / 1.061 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 4.899e-05/1.132, allocations: 117.7 kB / 1.31 GB, free: 30.85 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/1.132, allocations: 6.641 kB / 1.31 GB, free: 30.85 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/1.133, allocations: 77.33 kB / 1.311 GB, free: 30.8 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.133, allocations: 0 / 1.311 GB, free: 30.8 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.133, allocations: 0 / 1.311 GB, free: 30.8 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.133, allocations: 3.938 kB / 1.311 GB, free: 30.8 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/1.133, allocations: 130.6 kB / 1.311 GB, free: 30.64 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/1.133, allocations: 6.625 kB / 1.311 GB, free: 30.63 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/1.133, allocations: 9.031 kB / 1.311 GB, free: 30.63 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/1.133, allocations: 3.938 kB / 1.311 GB, free: 30.63 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/1.133, allocations: 4 kB / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/1.133, allocations: 0 / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.133, allocations: 3.984 kB / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/1.133, allocations: 168.5 kB / 1.311 GB, free: 30.48 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.103e-06/1.133, allocations: 8 kB / 1.311 GB, free: 30.47 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/1.133, allocations: 2.594 kB / 1.311 GB, free: 30.47 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/1.133, allocations: 6.219 kB / 1.311 GB, free: 30.47 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/1.133, allocations: 0 / 1.311 GB, free: 30.47 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/1.133, allocations: 9.969 kB / 1.311 GB, free: 30.46 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 2.125e-05/1.133, allocations: 77.94 kB / 1.311 GB, free: 30.39 MB / 1.061 GB
Notification: Performance of sort global known variables: time 6e-08/1.133, allocations: 0 / 1.311 GB, free: 30.39 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002258/1.133, allocations: 13.5 kB / 1.311 GB, free: 30.39 MB / 1.061 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.000174/1.134, allocations: 120.2 kB / 1.311 GB, free: 30.29 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0002191/1.134, allocations: 40.83 kB / 1.311 GB, free: 30.28 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.134, allocations: 0 / 1.311 GB, free: 30.28 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 8.155e-05/1.134, allocations: 17.86 kB / 1.311 GB, free: 30.28 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/1.134, allocations: 7.938 kB / 1.311 GB, free: 30.27 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/1.134, allocations: 99.86 kB / 1.311 GB, free: 30.17 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/1.134, allocations: 0.6823 MB / 1.312 GB, free: 29.47 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 2.038e-05/1.134, allocations: 0 / 1.312 GB, free: 29.47 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/1.134, allocations: 9.656 kB / 1.312 GB, free: 29.46 MB / 1.061 GB
Notification: Performance of SimCode: time 3.71e-07/1.134, allocations: 3.938 kB / 1.312 GB, free: 29.46 MB / 1.061 GB
Notification: Performance of Templates: time 0.003295/1.138, allocations: 0.6641 MB / 1.313 GB, free: 29.38 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 9.437384403310716]