Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001719/0.001719, allocations: 105.8 kB / 15.99 MB, free: 6.348 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.001998/0.001998, allocations: 188.4 kB / 16.91 MB, free: 6.188 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.437/1.437, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 469.4 MB / 0.7423 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.25 kB / 0.9083 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3044, allocations: 159.1 MB / 1.064 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002013/0.3065, allocations: 0.7301 MB / 1.064 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009332/0.3074, allocations: 0.8118 MB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.3075, allocations: 0 / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.3075, allocations: 0 / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.181e-05/0.3076, allocations: 3.938 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.3078, allocations: 8 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.3079, allocations: 23.92 kB / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.308, allocations: 7.938 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.335e-05/0.308, allocations: 15.97 kB / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.3081, allocations: 15.92 kB / 1.065 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3081, allocations: 4 kB / 1.065 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.3081, allocations: 0 / 1.065 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.3082, allocations: 4 kB / 1.065 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.3082, allocations: 7.938 kB / 1.065 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.805e-05/0.3083, allocations: 19.97 kB / 1.065 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3083, allocations: 0 / 1.065 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3083, allocations: 0 / 1.065 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3083, allocations: 0 / 1.065 GB, free: 13.65 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.0004366/0.3087, allocations: 339.8 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3088, allocations: 8.625 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.3088, allocations: 4.844 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3089, allocations: 168.4 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3089, allocations: 4.312 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.309, allocations: 384 / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.3091, allocations: 50.19 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3092, allocations: 192 / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3092, allocations: 7.922 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3092, allocations: 4 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.3094, allocations: 35.95 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.3097, allocations: 240.9 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.3098, allocations: 46.47 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.3099, allocations: 28.91 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.3099, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.31, allocations: 30.56 kB / 1.066 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.31, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.000338/0.3103, allocations: 81.64 kB / 1.066 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.3104, allocations: 59.47 kB / 1.066 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.428e-05/0.3104, allocations: 97.84 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.3104, allocations: 25.7 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.3105, allocations: 92.05 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.3105, allocations: 3.984 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.3105, allocations: 9.719 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3107, allocations: 322.8 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.3107, allocations: 15.98 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.297e-05/0.3108, allocations: 15.98 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.311, allocations: 40.77 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.311, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001953/0.3112, allocations: 85.5 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3112, allocations: 4 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3112, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3112, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.873e-05/0.3113, allocations: 11.98 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3113, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.3114, allocations: 7.984 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.3114, allocations: 0 / 1.067 GB, free: 11.62 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.052e-05/0.3115, allocations: 113.8 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.3115, allocations: 8.031 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.3117, allocations: 64.78 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3117, allocations: 0 / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3118, allocations: 0 / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3118, allocations: 0 / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.3119, allocations: 165.6 kB / 1.067 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3119, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-05/0.312, allocations: 7.938 kB / 1.067 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.312, allocations: 8.016 kB / 1.067 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.312, allocations: 0 / 1.067 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.312, allocations: 7.938 kB / 1.067 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.312, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.3123, allocations: 163.5 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.3123, allocations: 81.02 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.3123, allocations: 4.031 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.3124, allocations: 7.984 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.3125, allocations: 4 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.3125, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.3125, allocations: 79.28 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3125, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002199/0.3127, allocations: 7.938 kB / 1.068 GB, free: 10.81 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.0001361/0.3129, allocations: 107.2 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.3131, allocations: 35.95 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3131, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.821e-05/0.3132, allocations: 19.98 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3135, allocations: 15.86 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.3138, allocations: 136 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.314, allocations: 0.6729 MB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.3141, allocations: 15.44 kB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.3141, allocations: 3.938 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of Templates: time 0.00175/0.3158, allocations: 0.5426 MB / 1.069 GB, free: 9.203 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches