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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00245/0.00245, allocations: 218.5 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.793/2.793, allocations: 476.7 MB / 0.7714 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 65.92 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3036, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001987/0.3056, allocations: 0.6731 MB / 1.285 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3067, allocations: 0.8472 MB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.3068, allocations: 4 kB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.3068, allocations: 0 / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.701e-05/0.3068, allocations: 7.938 kB / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.307, allocations: 7.984 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.3071, allocations: 35.84 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.3072, allocations: 0 / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.861e-05/0.3073, allocations: 11.98 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.082e-05/0.3073, allocations: 11.94 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.3073, allocations: 3.938 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.494e-05/0.3074, allocations: 4 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.3074, allocations: 15.98 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.3074, allocations: 3.938 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.3075, allocations: 39.83 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3075, allocations: 0 / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3075, allocations: 0 / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3075, allocations: 0 / 1.286 GB, free: 9.551 MB / 0.9825 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.000465/0.308, allocations: 262.3 kB / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.308, allocations: 8.031 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.855e-05/0.3081, allocations: 4.938 kB / 1.287 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.3082, allocations: 114.5 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.3082, allocations: 384 / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.3082, allocations: 4.375 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.3084, allocations: 46.23 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3084, allocations: 4.188 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3084, allocations: 3.938 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3085, allocations: 0 / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.3086, allocations: 27.97 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.309, allocations: 220 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.3091, allocations: 46.47 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.314e-05/0.3092, allocations: 24.91 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3092, allocations: 3.984 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3092, allocations: 34.56 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3092, allocations: 0 / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000354/0.3096, allocations: 85.58 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3096, allocations: 51.41 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.3097, allocations: 97.84 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3097, allocations: 33.83 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.3098, allocations: 88.08 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.3098, allocations: 3.953 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.3098, allocations: 13.72 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.31, allocations: 318.8 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.31, allocations: 11.98 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.3101, allocations: 19.98 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3103, allocations: 36.89 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3103, allocations: 0 / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001842/0.3104, allocations: 77.47 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3105, allocations: 4 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3105, allocations: 0 / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3105, allocations: 4 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.3106, allocations: 12.02 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3106, allocations: 3.938 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.3106, allocations: 7.984 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.3106, allocations: 0 / 1.288 GB, free: 7.723 MB / 0.9825 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 9.398e-05/0.3107, allocations: 117.8 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.3107, allocations: 3.953 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.311, allocations: 68.97 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.311, allocations: 4 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.311, allocations: 3.938 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.311, allocations: 0 / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.3111, allocations: 136.7 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3111, allocations: 0 / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.3112, allocations: 11.98 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3112, allocations: 0 / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3112, allocations: 4 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3112, allocations: 0 / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3112, allocations: 4.031 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.3114, allocations: 159.5 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.3114, allocations: 0 / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.3115, allocations: 4 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.3115, allocations: 4 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.3116, allocations: 12.02 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.3116, allocations: 0 / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.396e-05/0.3116, allocations: 79.28 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3116, allocations: 0 / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002149/0.3119, allocations: 7.938 kB / 1.288 GB, free: 7.043 MB / 0.9825 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.0001223/0.312, allocations: 95.23 kB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.3122, allocations: 39.97 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3122, allocations: 0 / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.3123, allocations: 15.98 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.3125, allocations: 11.92 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.3129, allocations: 132 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.3132, allocations: 0.6806 MB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.3132, allocations: 7.562 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3132, allocations: 4 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of Templates: time 0.001984/0.3152, allocations: 0.5407 MB / 1.29 GB, free: 5.449 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.87672929398832]