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.001367/0.001367, allocations: 107.9 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.0013/0.0013, allocations: 190.3 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.427/1.427, 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.547 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 68 kB / 0.8699 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2842, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001956/0.2862, allocations: 0.6569 MB / 1.019 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2873, allocations: 0.8118 MB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.2873, allocations: 7.938 kB / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.2874, allocations: 4 kB / 1.019 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.196e-05/0.2874, allocations: 3.938 kB / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.2876, allocations: 7.984 kB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.2877, allocations: 27.92 kB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2878, allocations: 0 / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.198e-05/0.2879, allocations: 15.92 kB / 1.02 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.2879, allocations: 11.98 kB / 1.02 GB, free: 9.105 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.2879, allocations: 4 kB / 1.02 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.288, allocations: 0 / 1.02 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.288, allocations: 7.938 kB / 1.02 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.288, allocations: 11.94 kB / 1.02 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.688e-05/0.2881, allocations: 23.95 kB / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2881, allocations: 0 / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.807e-06/0.2881, allocations: 0 / 1.02 GB, free: 9.059 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2881, allocations: 3.938 kB / 1.02 GB, free: 9.055 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.0005338/0.2887, allocations: 335.7 kB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.2887, allocations: 12.92 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.2887, allocations: 4.844 kB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.2889, allocations: 168.4 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.2889, allocations: 8.375 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.2889, allocations: 384 / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.2891, allocations: 50.23 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2891, allocations: 192 / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2891, allocations: 3.938 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2892, allocations: 0 / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.2893, allocations: 35.91 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.2897, allocations: 252.9 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.2898, allocations: 38.5 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.392e-05/0.2899, allocations: 16.91 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.29, allocations: 4 kB / 1.02 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.29, allocations: 34.56 kB / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.29, allocations: 0 / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003652/0.2904, allocations: 85.58 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.2904, allocations: 51.41 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.2905, allocations: 105.8 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.2905, allocations: 29.83 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.2906, allocations: 80.14 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.2906, allocations: 11.91 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.2906, allocations: 9.719 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2908, allocations: 314.8 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.2909, allocations: 19.98 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.2909, allocations: 15.92 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2911, allocations: 44.88 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.2911, allocations: 0 / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001964/0.2913, allocations: 77.45 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2913, allocations: 4 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2913, allocations: 0 / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.2913, allocations: 32 / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.012e-05/0.2914, allocations: 15.98 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2914, allocations: 3.984 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.2915, allocations: 7.984 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.2915, allocations: 0 / 1.021 GB, free: 7.023 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 8.176e-05/0.2916, allocations: 110.4 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.2916, allocations: 0 / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.2918, allocations: 80.72 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2919, allocations: 0 / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2919, allocations: 0 / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2919, allocations: 3.984 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.292, allocations: 157.6 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.292, allocations: 0 / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.903e-05/0.2921, allocations: 11.98 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2921, allocations: 3.938 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.2921, allocations: 4 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2921, allocations: 0 / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2921, allocations: 4.031 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.2924, allocations: 163.5 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.2925, allocations: 81.11 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.2925, allocations: 0 / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.2926, allocations: 11.92 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.2926, allocations: 4.031 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.2926, allocations: 0 / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.2927, allocations: 79.28 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2927, allocations: 0 / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002069/0.2929, allocations: 11.94 kB / 1.022 GB, free: 6.211 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.0001192/0.293, allocations: 103.2 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.2932, allocations: 35.97 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.2932, allocations: 0 / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.614e-05/0.2933, allocations: 23.97 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.2935, allocations: 6.438 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.2938, allocations: 143.7 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.2941, allocations: 0.6769 MB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.2942, allocations: 15.38 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.2942, allocations: 0 / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of Templates: time 0.001822/0.296, allocations: 0.5404 MB / 1.024 GB, free: 4.609 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