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.0009773/0.0009773, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001173/0.001173, allocations: 168.7 kB / 15.95 MB, free: 204 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.6/1.6, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.01/3.01, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003973, allocations: 11.47 kB / 0.9022 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3815, allocations: 159.6 MB / 1.058 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.00115/0.3827, allocations: 396.7 kB / 1.058 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3838, allocations: 0.8001 MB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.3839, allocations: 4 kB / 1.059 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.3839, allocations: 0 / 1.059 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.071e-05/0.384, allocations: 11.88 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.3842, allocations: 4 kB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.09e-05/0.3843, allocations: 19.92 kB / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3844, allocations: 12 kB / 1.059 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.827e-05/0.3845, allocations: 7.984 kB / 1.059 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.3845, allocations: 7.922 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.3846, allocations: 4 kB / 1.059 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.3846, allocations: 4 kB / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.3846, allocations: 7.984 kB / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.3846, allocations: 25.7 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.14e-05/0.3847, allocations: 11.97 kB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3847, allocations: 0 / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3847, allocations: 0 / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3847, allocations: 0 / 1.059 GB, free: 4.02 MB / 0.8106 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.0004927/0.3852, allocations: 343.5 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.3853, allocations: 16.03 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.3853, allocations: 0 / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3855, allocations: 163 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3855, allocations: 4 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.3855, allocations: 3.953 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.3857, allocations: 57.61 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.3857, allocations: 0 / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3857, allocations: 4 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3857, allocations: 0 / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.3859, allocations: 43.95 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.3863, allocations: 244.9 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.3865, allocations: 50.5 kB / 1.06 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.466e-05/0.3866, allocations: 28.89 kB / 1.06 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3866, allocations: 4 kB / 1.06 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3866, allocations: 34.56 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.3866, allocations: 3.938 kB / 1.06 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003511/0.387, allocations: 97.73 kB / 1.06 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3871, allocations: 51.41 kB / 1.06 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.3871, allocations: 101.8 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3872, allocations: 29.7 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.3872, allocations: 84.12 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.3872, allocations: 3.906 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.3872, allocations: 0 / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3874, allocations: 314.8 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.431e-05/0.3875, allocations: 24.02 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.3875, allocations: 23.98 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.875e-05/0.3876, allocations: 27.98 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3876, allocations: 3.938 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001919/0.3878, allocations: 69.67 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3879, allocations: 8 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.3879, allocations: 0 / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3879, allocations: 8.016 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.55e-05/0.388, allocations: 12 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.388, allocations: 0 / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.3881, allocations: 7.984 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.3881, allocations: 7.938 kB / 1.061 GB, free: 1.965 MB / 0.8106 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 7.869e-05/0.3882, allocations: 113.8 kB / 1.061 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3882, allocations: 7.906 kB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.3884, allocations: 80.78 kB / 1.061 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3885, allocations: 192 / 1.061 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3885, allocations: 7.984 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3885, allocations: 3.984 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.3886, allocations: 157.7 kB / 1.061 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3887, allocations: 3.953 kB / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.3887, allocations: 11.98 kB / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3887, allocations: 0 / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.453e-06/0.3887, allocations: 0 / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3887, allocations: 0 / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3888, allocations: 0 / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.389, allocations: 175.5 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.389, allocations: 81.06 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.3891, allocations: 3.938 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.3891, allocations: 15.98 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3892, allocations: 4.031 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.3892, allocations: 0 / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.672e-05/0.3892, allocations: 79.28 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.3892, allocations: 0 / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002134/0.3895, allocations: 11.92 kB / 1.062 GB, free: 1.125 MB / 0.8106 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.0001552/0.3896, allocations: 95.25 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.3898, allocations: 51.91 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3898, allocations: 0 / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.3899, allocations: 27.97 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.3902, allocations: 10.38 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.3905, allocations: 110.6 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.3908, allocations: 0.677 MB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.3908, allocations: 0 / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.3908, allocations: 11.44 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3908, allocations: 3.938 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of Templates: time 0.002713/0.3936, allocations: 345.7 kB / 1.063 GB, free: 15.75 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches