Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.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.00131/0.00131, 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.001397/0.001397, allocations: 190.9 kB / 22.11 MB, free: 5.152 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.444/1.444, allocations: 225.6 MB / 250.8 MB, free: 13.09 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.182/3.182, allocations: 495.8 MB / 0.783 GB, free: 33.47 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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselY0")
translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselY0") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 73.09 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3853, allocations: 173.6 MB / 1.307 GB, free: 1.844 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002715/0.388, allocations: 1.447 MB / 1.308 GB, free: 396 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0007028/0.3887, allocations: 346.8 kB / 1.308 GB, free: 48 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.3887, allocations: 4 kB / 1.308 GB, free: 44 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.3887, allocations: 0 / 1.308 GB, free: 44 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.3888, allocations: 3.938 kB / 1.308 GB, free: 40 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.3892, allocations: 107.6 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 6.273e-05/0.3893, allocations: 19.94 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.3894, allocations: 7.984 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.3894, allocations: 8 kB / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.3894, allocations: 11.92 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.3895, allocations: 4 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.3897, allocations: 115.8 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.3897, allocations: 8 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.3897, allocations: 11.92 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.3899, allocations: 91.62 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3899, allocations: 0 / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.393e-06/0.3899, allocations: 4 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.21e-06/0.3899, allocations: 0 / 1.309 GB, free: 15.66 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.0004473/0.3903, allocations: 278.2 kB / 1.309 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3904, allocations: 12.03 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.3904, allocations: 4.891 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.3905, allocations: 110.5 kB / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3905, allocations: 384 / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.3906, allocations: 384 / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.3908, allocations: 54.23 kB / 1.309 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3908, allocations: 192 / 1.309 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3908, allocations: 3.938 kB / 1.309 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3908, allocations: 3.938 kB / 1.309 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.391, allocations: 35.95 kB / 1.309 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.3913, allocations: 216 kB / 1.31 GB, free: 14.85 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.3914, allocations: 46.48 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.416e-05/0.3915, allocations: 20.91 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005271/0.392, allocations: 75.92 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.3921, allocations: 42.48 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3921, allocations: 4 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0003768/0.3925, allocations: 77.64 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.3925, allocations: 51.41 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.778e-05/0.3926, allocations: 109.9 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3926, allocations: 25.7 kB / 1.31 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.3926, allocations: 88.09 kB / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.3927, allocations: 3.953 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.3927, allocations: 13.72 kB / 1.31 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001295/0.3928, allocations: 318.8 kB / 1.31 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.3929, allocations: 11.98 kB / 1.31 GB, free: 13.9 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.317e-05/0.393, allocations: 31.86 kB / 1.31 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.3931, allocations: 32.83 kB / 1.31 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3931, allocations: 3.984 kB / 1.31 GB, free: 13.83 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.3933, allocations: 65.61 kB / 1.311 GB, free: 13.76 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3934, allocations: 4 kB / 1.311 GB, free: 13.76 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3934, allocations: 8.094 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3934, allocations: 0 / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/0.3935, allocations: 7.984 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3935, allocations: 3.984 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.3935, allocations: 7.984 kB / 1.311 GB, free: 13.73 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.3935, allocations: 0 / 1.311 GB, free: 13.73 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.366e-05/0.3936, allocations: 121.7 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.3936, allocations: 3.938 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.3939, allocations: 72.97 kB / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3939, allocations: 0 / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3939, allocations: 0 / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3939, allocations: 0 / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.394, allocations: 132.7 kB / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.394, allocations: 0 / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.3941, allocations: 11.98 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3941, allocations: 0 / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.3941, allocations: 0 / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3941, allocations: 4.031 kB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3941, allocations: 0 / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.3944, allocations: 171.3 kB / 1.311 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.3944, allocations: 4 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3944, allocations: 0 / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.3945, allocations: 12.02 kB / 1.311 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.3945, allocations: 4 kB / 1.311 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.3945, allocations: 4 kB / 1.311 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.346e-05/0.3946, allocations: 79.28 kB / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.3946, allocations: 0 / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002708/0.3948, allocations: 31.92 kB / 1.311 GB, free: 13.02 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.0002441/0.3951, allocations: 135.9 kB / 1.311 GB, free: 12.87 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002312/0.3953, allocations: 35.91 kB / 1.311 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3953, allocations: 3.938 kB / 1.311 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.773e-05/0.3954, allocations: 31.97 kB / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.3957, allocations: 4.875 kB / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.3959, allocations: 109.5 kB / 1.311 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.3962, allocations: 0.6729 MB / 1.312 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.13e-05/0.3962, allocations: 0 / 1.312 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.3963, allocations: 15.44 kB / 1.312 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of SimCode: time 3e-07/0.3963, allocations: 0 / 1.312 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of Templates: time 0.003544/0.3998, allocations: 0.8941 MB / 1.313 GB, free: 11.06 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselY0  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.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.06547083798796]