Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 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.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001762, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.002032/0.002032, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.535/2.535, allocations: 437.1 MB / 0.7111 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.44 kB / 0.8699 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3022, allocations: 151.6 MB / 1.018 GB, free: 10.57 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002103/0.3043, allocations: 0.7041 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3054, allocations: 0.8312 MB / 1.019 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.3055, allocations: 0 / 1.019 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.3055, allocations: 3.938 kB / 1.019 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.076e-05/0.3056, allocations: 15.92 kB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.3057, allocations: 11.97 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.175e-05/0.3058, allocations: 51.8 kB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3059, allocations: 11.98 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.306, allocations: 15.94 kB / 1.02 GB, free: 8.914 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.3061, allocations: 19.91 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3061, allocations: 4 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.3061, allocations: 4 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.3061, allocations: 7.984 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.3062, allocations: 27.86 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.544e-05/0.3063, allocations: 39.88 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3063, allocations: 0 / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3063, allocations: 0 / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3063, allocations: 0 / 1.02 GB, free: 8.812 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005815/0.3069, allocations: 361.5 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.3069, allocations: 8.922 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.307, allocations: 8.938 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3071, allocations: 180.2 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3072, allocations: 384 / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3072, allocations: 4.312 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.3075, allocations: 70.22 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3075, allocations: 192 / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3075, allocations: 3.938 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.3075, allocations: 3.984 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.3078, allocations: 67.92 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.3082, allocations: 264.9 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.3084, allocations: 62.41 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.3086, allocations: 40.92 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3086, allocations: 7.984 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.3087, allocations: 30.56 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3087, allocations: 0 / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005553/0.3092, allocations: 133.5 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.3093, allocations: 55.34 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.3094, allocations: 109.8 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3094, allocations: 25.7 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.3095, allocations: 84.14 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.3095, allocations: 15.8 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.3095, allocations: 17.72 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3097, allocations: 314.8 kB / 1.021 GB, free: 6.766 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.3098, allocations: 31.95 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.31, allocations: 27.97 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.3103, allocations: 76.72 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3103, allocations: 3.938 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003331/0.3106, allocations: 97.56 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3107, allocations: 4 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3107, allocations: 4 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3107, allocations: 0 / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3108, allocations: 23.97 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3109, allocations: 0 / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.3109, allocations: 15.98 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.311, allocations: 0 / 1.022 GB, free: 6.477 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 (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 9.404e-05/0.3111, allocations: 113.8 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.3111, allocations: 3.906 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.3115, allocations: 109.5 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3115, allocations: 0 / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.3115, allocations: 0 / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3115, allocations: 7.938 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.3117, allocations: 173.5 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3117, allocations: 4 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.6e-05/0.3118, allocations: 11.98 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3118, allocations: 0 / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3119, allocations: 4 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3119, allocations: 4 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3119, allocations: 384 / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.3123, allocations: 199.4 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.3123, allocations: 81.02 kB / 1.022 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3123, allocations: 4 kB / 1.022 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3125, allocations: 15.92 kB / 1.022 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.3125, allocations: 7.984 kB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3125, allocations: 0 / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.091e-05/0.3126, allocations: 83.28 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.034e-06/0.3126, allocations: 4 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002115/0.3128, allocations: 7.938 kB / 1.023 GB, free: 5.555 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 (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.0001541/0.3129, allocations: 111.2 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.3133, allocations: 63.92 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3133, allocations: 4 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.3135, allocations: 31.97 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3138, allocations: 22.52 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.3142, allocations: 155.8 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.3145, allocations: 0.6807 MB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.3146, allocations: 11.44 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3146, allocations: 0 / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of Templates: time 0.002321/0.3169, allocations: 0.7437 MB / 1.024 GB, free: 3.68 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches