Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007712/0.007712, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001433, allocations: 201.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.736/2.736, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 70.14 kB / 0.9509 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3853, allocations: 140.4 MB / 1.088 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.00285/0.3883, allocations: 0.6942 MB / 1.089 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3898, allocations: 0.8277 MB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.3898, allocations: 0 / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.608e-05/0.3899, allocations: 7.922 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.39, allocations: 7.875 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.3903, allocations: 15.98 kB / 1.09 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.3904, allocations: 43.84 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.3906, allocations: 11.98 kB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.3907, allocations: 23.92 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.3908, allocations: 19.92 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.3909, allocations: 4 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.3909, allocations: 4 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.3909, allocations: 7.984 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.391, allocations: 15.88 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.3911, allocations: 47.73 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3911, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.028e-06/0.3912, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.3912, allocations: 3.984 kB / 1.09 GB, free: 15.81 MB / 0.8575 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.0007711/0.392, allocations: 363.4 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/0.392, allocations: 12.03 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.3921, allocations: 4.891 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.3923, allocations: 168.3 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3923, allocations: 384 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.3924, allocations: 4.312 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.3927, allocations: 82.2 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3927, allocations: 192 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.3928, allocations: 3.938 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3928, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.3931, allocations: 67.86 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.3936, allocations: 268.9 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.3939, allocations: 58.47 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.3941, allocations: 44.91 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.3941, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.3942, allocations: 34.5 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.3942, allocations: 4 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006378/0.3948, allocations: 129.5 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.3949, allocations: 51.41 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.395, allocations: 109.8 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.3951, allocations: 33.64 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/0.3951, allocations: 84.14 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3952, allocations: 7.953 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.3952, allocations: 17.72 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3954, allocations: 314.8 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3956, allocations: 27.97 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3957, allocations: 39.95 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.396, allocations: 64.73 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.396, allocations: 3.938 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003522/0.3964, allocations: 105.6 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.3964, allocations: 8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3964, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3965, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.3966, allocations: 11.98 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3966, allocations: 4.312 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3967, allocations: 11.98 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.3968, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 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.0001158/0.3969, allocations: 121.7 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.3969, allocations: 4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.3973, allocations: 101.5 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3974, allocations: 4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3974, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3974, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.3976, allocations: 177.6 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3976, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-05/0.3977, allocations: 15.97 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3978, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3978, allocations: 7.938 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3978, allocations: 3.984 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3978, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.3982, allocations: 207.7 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.3983, allocations: 77.11 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3983, allocations: 7.984 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3984, allocations: 7.984 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.3985, allocations: 8.031 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.3985, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.61e-05/0.3986, allocations: 99.2 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3986, allocations: 0 / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002378/0.3988, allocations: 11.89 kB / 1.093 GB, free: 12.54 MB / 0.8575 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.000224/0.3991, allocations: 103.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003879/0.3995, allocations: 71.86 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3995, allocations: 4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.3996, allocations: 35.95 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.4001, allocations: 7.938 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.4005, allocations: 117.5 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.401, allocations: 0.6846 MB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.4011, allocations: 8 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.4011, allocations: 7.438 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of SimCode: time 5.81e-07/0.4011, allocations: 0 / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of Templates: time 0.003963/0.4051, allocations: 0.6824 MB / 1.094 GB, free: 10.78 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches