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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001483/0.001483, allocations: 100 kB / 15.05 MB, free: 1.105 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.002133/0.002133, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.758/2.758, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 12 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.885/0.8854, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.0009226/0.8863, allocations: 394.3 kB / 1.021 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.8876, allocations: 0.7924 MB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.8876, allocations: 0 / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.8876, allocations: 11.94 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.619e-05/0.8877, allocations: 0 / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.8879, allocations: 7.984 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.8879, allocations: 11.98 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.888, allocations: 7.984 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.38e-05/0.8881, allocations: 7.938 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.8882, allocations: 11.98 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.8882, allocations: 0 / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.8882, allocations: 0 / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.8882, allocations: 3.984 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.8883, allocations: 37.64 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.598e-05/0.8883, allocations: 11.97 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.8883, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8883, allocations: 4 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.8884, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 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.0004659/0.8888, allocations: 337.3 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.8889, allocations: 15.92 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.8889, allocations: 4 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.8891, allocations: 163.1 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.8891, allocations: 4 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.8891, allocations: 3.984 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.8893, allocations: 57.58 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.8893, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.8893, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.8894, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.8895, allocations: 55.89 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.8899, allocations: 244.9 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.8901, allocations: 46.59 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.8901, allocations: 0 / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.8901, allocations: 30.56 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8901, allocations: 0 / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003769/0.8905, allocations: 109.5 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.8906, allocations: 51.41 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/0.8907, allocations: 93.86 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.8907, allocations: 25.83 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.8907, allocations: 96.06 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.8908, allocations: 7.906 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.8908, allocations: 0 / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.891, allocations: 310.8 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.891, allocations: 19.98 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.8911, allocations: 27.97 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.481e-05/0.8912, allocations: 23.98 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.8912, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002033/0.8914, allocations: 81.62 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.8915, allocations: 4 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.8915, allocations: 3.984 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.8915, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.162e-05/0.8916, allocations: 8 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.8916, allocations: 0 / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.8917, allocations: 16.02 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.8917, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.513e-05/0.8918, allocations: 115.6 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.8918, allocations: 7.891 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.8921, allocations: 84.72 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.8921, allocations: 3.984 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8921, allocations: 0 / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.8921, allocations: 0 / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.8923, allocations: 153.7 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8923, allocations: 0 / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.8924, allocations: 11.98 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.645e-05/0.8924, allocations: 7.953 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.8924, allocations: 8.031 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8924, allocations: 0 / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8924, allocations: 4.125 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.8927, allocations: 175.4 kB / 1.024 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.8928, allocations: 81.09 kB / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.8928, allocations: 7.953 kB / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.8929, allocations: 7.984 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.8929, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.8929, allocations: 4 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.619e-05/0.893, allocations: 87.2 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.893, allocations: 4 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002109/0.8932, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001495/0.8934, allocations: 103.3 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.8936, allocations: 43.97 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8936, allocations: 64 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.8937, allocations: 31.97 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.8939, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.8942, allocations: 118.5 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.8946, allocations: 0.681 MB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.8946, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.8947, allocations: 7.438 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of SimCode: time 5.31e-07/0.8947, allocations: 0 / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of Templates: time 0.002669/0.8973, allocations: 355.7 kB / 1.026 GB, free: 11.56 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches