Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.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.001779/0.001779, 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.002064/0.002064, allocations: 188.5 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.64/1.64, 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.254/3.254, allocations: 495.8 MB / 0.783 GB, free: 33.89 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.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.83 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3936, allocations: 173.6 MB / 1.307 GB, free: 1.777 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002088/0.3957, allocations: 0.7301 MB / 1.307 GB, free: 1.047 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001068/0.3968, allocations: 0.8394 MB / 1.308 GB, free: 200 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.3968, allocations: 0 / 1.308 GB, free: 200 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.3969, allocations: 3.938 kB / 1.308 GB, free: 196 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.3969, allocations: 7.938 kB / 1.308 GB, free: 188 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.3971, allocations: 11.98 kB / 1.308 GB, free: 176 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001035/0.3972, allocations: 51.84 kB / 1.308 GB, free: 124 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3973, allocations: 8 kB / 1.308 GB, free: 116 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.3974, allocations: 19.92 kB / 1.308 GB, free: 96 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.3975, allocations: 23.91 kB / 1.308 GB, free: 72 kB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3975, allocations: 7.938 kB / 1.308 GB, free: 64 kB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.3975, allocations: 4 kB / 1.308 GB, free: 60 kB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.3975, allocations: 11.92 kB / 1.308 GB, free: 48 kB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.3976, allocations: 11.94 kB / 1.308 GB, free: 36 kB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.3977, allocations: 39.88 kB / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3977, allocations: 0 / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.853e-06/0.3977, allocations: 0 / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.26e-06/0.3977, allocations: 8 kB / 1.309 GB, free: 15.98 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0005751/0.3983, allocations: 292.7 kB / 1.309 GB, free: 15.67 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3983, allocations: 8.031 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.3984, allocations: 4.891 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3985, allocations: 118.4 kB / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3985, allocations: 8.312 kB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.3985, allocations: 384 / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.3988, allocations: 74.2 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3988, allocations: 192 / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.3988, allocations: 7.938 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3988, allocations: 0 / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.3991, allocations: 63.92 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.3995, allocations: 240 kB / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.3998, allocations: 58.47 kB / 1.309 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.3999, allocations: 36.92 kB / 1.309 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.4, allocations: 0 / 1.309 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.4, allocations: 38.55 kB / 1.309 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4, allocations: 0 / 1.309 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0005979/0.4006, allocations: 129.5 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.4006, allocations: 55.41 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.4008, allocations: 109.8 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.4008, allocations: 29.7 kB / 1.31 GB, free: 14.58 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.4008, allocations: 88.12 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.4009, allocations: 11.91 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.4009, allocations: 13.72 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001374/0.401, allocations: 314.8 kB / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4012, allocations: 31.95 kB / 1.31 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.4013, allocations: 35.97 kB / 1.31 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.4016, allocations: 64.78 kB / 1.31 GB, free: 14.01 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.4016, allocations: 7.938 kB / 1.31 GB, free: 14 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003397/0.402, allocations: 101.6 kB / 1.31 GB, free: 13.9 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.402, allocations: 5.25 kB / 1.31 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.402, allocations: 0 / 1.31 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.402, allocations: 0 / 1.31 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.4022, allocations: 19.97 kB / 1.31 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4022, allocations: 3.938 kB / 1.31 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-05/0.4023, allocations: 15.94 kB / 1.31 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.4023, allocations: 4 kB / 1.31 GB, free: 13.85 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 (3):
 * Single equations (assignments): 3
 * 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 0.0001012/0.4024, allocations: 122.5 kB / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.4024, allocations: 4 kB / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.4028, allocations: 105.5 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4028, allocations: 3.938 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4028, allocations: 3.984 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4028, allocations: 4 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.403, allocations: 140.7 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.403, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.4031, allocations: 19.98 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.4031, allocations: 0 / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.4031, allocations: 0 / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.4031, allocations: 0 / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4031, allocations: 0 / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.4035, allocations: 203.4 kB / 1.311 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.4035, allocations: 4 kB / 1.311 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.4035, allocations: 0 / 1.311 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.4037, allocations: 15.98 kB / 1.311 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.4037, allocations: 7.922 kB / 1.311 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-06/0.4037, allocations: 4 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 5.869e-05/0.4038, allocations: 91.27 kB / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4038, allocations: 0 / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002228/0.404, allocations: 8 kB / 1.311 GB, free: 13.05 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 (3):
 * Single equations (assignments): 3
 * 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.000139/0.4041, allocations: 91.25 kB / 1.311 GB, free: 12.95 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003765/0.4045, allocations: 72.34 kB / 1.311 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4045, allocations: 0 / 1.311 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.4047, allocations: 35.95 kB / 1.311 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.405, allocations: 12.48 kB / 1.311 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.4054, allocations: 122.3 kB / 1.311 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.4057, allocations: 0.6846 MB / 1.312 GB, free: 11.98 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.393e-05/0.4058, allocations: 7.969 kB / 1.312 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.4058, allocations: 11.44 kB / 1.312 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of SimCode: time 3.91e-07/0.4058, allocations: 0 / 1.312 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of Templates: time 0.003446/0.4092, allocations: 0.6982 MB / 1.313 GB, free: 11.27 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.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.378341967239976]