Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001749/0.001749, allocations: 110.4 kB / 15.99 MB, free: 6.344 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.001757/0.001757, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.454/1.454, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437.1 MB / 0.7107 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 75.84 kB / 0.8694 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3049, allocations: 151.6 MB / 1.017 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002019/0.3069, allocations: 0.73 MB / 1.018 GB, free: 10.23 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009655/0.3079, allocations: 0.8133 MB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.308, allocations: 0 / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.308, allocations: 0 / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.383e-05/0.3081, allocations: 11.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.3083, allocations: 8 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.949e-05/0.3083, allocations: 19.92 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.3084, allocations: 8 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.517e-05/0.3085, allocations: 7.938 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.673e-05/0.3085, allocations: 15.98 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.3086, allocations: 0 / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.3086, allocations: 4 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.3086, allocations: 7.938 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.3086, allocations: 7.922 kB / 1.019 GB, free: 9.312 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.483e-05/0.3087, allocations: 23.95 kB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3087, allocations: 0 / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3087, allocations: 0 / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3087, allocations: 0 / 1.019 GB, free: 9.289 MB / 0.795 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.0004769/0.3092, allocations: 345.8 kB / 1.019 GB, free: 8.902 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3092, allocations: 8.922 kB / 1.019 GB, free: 8.895 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.3093, allocations: 4.844 kB / 1.019 GB, free: 8.891 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3094, allocations: 164.4 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3094, allocations: 384 / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.3095, allocations: 384 / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.3096, allocations: 54.17 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3097, allocations: 192 / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3097, allocations: 3.938 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3097, allocations: 11.94 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.3099, allocations: 31.95 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.3102, allocations: 245 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.3103, allocations: 34.5 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.843e-05/0.3104, allocations: 32.89 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.3105, allocations: 3.938 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.544e-05/0.3106, allocations: 30.56 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3106, allocations: 0 / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003393/0.3109, allocations: 81.64 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.311, allocations: 55.53 kB / 1.02 GB, free: 8.023 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.3111, allocations: 97.86 kB / 1.02 GB, free: 7.918 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3111, allocations: 25.7 kB / 1.02 GB, free: 7.887 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.3111, allocations: 88.12 kB / 1.02 GB, free: 7.797 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.3112, allocations: 3.906 kB / 1.02 GB, free: 7.793 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.3112, allocations: 17.72 kB / 1.02 GB, free: 7.77 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3113, allocations: 310.8 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.979e-05/0.3114, allocations: 23.92 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-05/0.3115, allocations: 15.97 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.3117, allocations: 36.83 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3117, allocations: 4 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001975/0.3119, allocations: 77.56 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3119, allocations: 4 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3119, allocations: 3.938 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3119, allocations: 0 / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.312, allocations: 11.98 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.312, allocations: 0 / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.3121, allocations: 8 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.3121, allocations: 192 / 1.021 GB, free: 7.266 MB / 0.795 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 0.0001142/0.3122, allocations: 117.7 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.3123, allocations: 8.016 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.3125, allocations: 72.77 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3125, allocations: 0 / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3125, allocations: 4 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3125, allocations: 0 / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.3127, allocations: 157.6 kB / 1.021 GB, free: 6.848 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3127, allocations: 0 / 1.021 GB, free: 6.848 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.3128, allocations: 12.02 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3128, allocations: 0 / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3128, allocations: 4 kB / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3128, allocations: 0 / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3128, allocations: 0 / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.3131, allocations: 163.4 kB / 1.021 GB, free: 6.656 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.3131, allocations: 85.08 kB / 1.021 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.3131, allocations: 4 kB / 1.021 GB, free: 6.551 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/0.3132, allocations: 7.984 kB / 1.021 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3133, allocations: 0 / 1.021 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3133, allocations: 4 kB / 1.021 GB, free: 6.539 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.726e-05/0.3133, allocations: 79.27 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.3133, allocations: 0 / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002084/0.3136, allocations: 7.938 kB / 1.022 GB, free: 6.453 MB / 0.795 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.0001718/0.3137, allocations: 110 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.314, allocations: 39.89 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.314, allocations: 0 / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.811e-05/0.3141, allocations: 15.98 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.3143, allocations: 14.12 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.3147, allocations: 143.9 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.315, allocations: 0.6807 MB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.3151, allocations: 7.438 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3151, allocations: 3.938 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of Templates: time 0.002015/0.3171, allocations: 0.5421 MB / 1.023 GB, free: 4.844 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches