Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001451/0.001451, allocations: 198.8 kB / 16.91 MB, free: 6.195 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.33/1.33, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.557/2.557, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 71.64 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3082, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001857/0.3101, allocations: 0.7338 MB / 1.065 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008767/0.311, allocations: 0.804 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.311, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.311, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.054e-05/0.3111, allocations: 7.938 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.3112, allocations: 7.984 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.654e-05/0.3113, allocations: 23.98 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.402e-05/0.3114, allocations: 3.938 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.3114, allocations: 19.92 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.531e-05/0.3115, allocations: 11.98 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.3115, allocations: 3.938 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.3115, allocations: 4 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.3115, allocations: 0 / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.3115, allocations: 11.94 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.63e-05/0.3116, allocations: 23.95 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3116, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3116, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3116, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8419 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.0004345/0.3121, allocations: 335.8 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.3121, allocations: 8.031 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.3121, allocations: 8.844 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3123, allocations: 164.4 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.3123, allocations: 384 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.3123, allocations: 4.375 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.3125, allocations: 46.23 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.3125, allocations: 8.125 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.3125, allocations: 7.938 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.3125, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.3127, allocations: 31.97 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.313, allocations: 241 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.3131, allocations: 50.48 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.25e-05/0.3132, allocations: 20.91 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.3132, allocations: 3.938 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.3132, allocations: 34.5 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3132, allocations: 0 / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003332/0.3136, allocations: 81.73 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3136, allocations: 55.41 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.3137, allocations: 101.8 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3137, allocations: 25.7 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.3138, allocations: 88.05 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.3138, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.3139, allocations: 13.72 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.314, allocations: 318.8 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.757e-05/0.3141, allocations: 16.02 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.3142, allocations: 23.92 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.3143, allocations: 32.83 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3143, allocations: 0 / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001893/0.3145, allocations: 81.5 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3145, allocations: 4 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.3145, allocations: 4 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.3146, allocations: 192 / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.765e-05/0.3146, allocations: 7.984 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3146, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.3147, allocations: 7.984 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3147, allocations: 3.984 kB / 1.068 GB, free: 11.42 MB / 0.8419 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 7.556e-05/0.3148, allocations: 121.8 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.3148, allocations: 4 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.315, allocations: 68.78 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3151, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3151, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3151, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.3152, allocations: 161.6 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3152, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.3153, allocations: 16.02 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3153, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.3153, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3153, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3153, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.3156, allocations: 167.4 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.3156, allocations: 85.05 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.3156, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.3157, allocations: 7.984 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.3158, allocations: 4 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3158, allocations: 4 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.3158, allocations: 87.22 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3158, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002057/0.316, allocations: 7.938 kB / 1.068 GB, free: 10.6 MB / 0.8419 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.0001261/0.3162, allocations: 103.2 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.3164, allocations: 39.91 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3164, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.3165, allocations: 15.98 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.3167, allocations: 14.27 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.317, allocations: 140 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.3173, allocations: 0.6767 MB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.3173, allocations: 7.438 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3173, allocations: 0 / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of Templates: time 0.001805/0.3191, allocations: 0.5448 MB / 1.07 GB, free: 8.996 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches