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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009068/0.009068, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001625/0.001626, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.849/2.849, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4036, allocations: 157.4 MB / 1.208 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001852/0.4055, allocations: 0.6649 MB / 1.208 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008739/0.4064, allocations: 0.804 MB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.4064, allocations: 0 / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.81e-05/0.4065, allocations: 0 / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.924e-05/0.4065, allocations: 7.938 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.4067, allocations: 11.98 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.212e-05/0.4068, allocations: 23.92 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.4069, allocations: 7.984 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.4071, allocations: 15.92 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.4071, allocations: 0 / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.4071, allocations: 4 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.4071, allocations: 0 / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.4072, allocations: 7.938 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.4072, allocations: 11.98 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.351e-05/0.4073, allocations: 23.91 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4073, allocations: 0 / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4073, allocations: 0 / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.4073, allocations: 3.938 kB / 1.209 GB, free: 7.977 MB / 0.9669 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.0005128/0.4078, allocations: 347.3 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4079, allocations: 8.625 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.4079, allocations: 0.9375 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.4081, allocations: 168.4 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.4082, allocations: 4.375 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.4082, allocations: 384 / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.4084, allocations: 54.22 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4085, allocations: 192 / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4085, allocations: 3.938 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.4085, allocations: 0 / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.4087, allocations: 35.95 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.409, allocations: 256.7 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.4092, allocations: 42.53 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.121e-05/0.4093, allocations: 24.91 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.4093, allocations: 0 / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.4093, allocations: 30.56 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.4093, allocations: 4 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003583/0.4097, allocations: 85.58 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.4097, allocations: 51.41 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.4098, allocations: 97.84 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.4098, allocations: 25.7 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.4099, allocations: 88.27 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.4099, allocations: 7.906 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.41, allocations: 9.719 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4101, allocations: 318.8 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.053e-05/0.4102, allocations: 15.97 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.026e-05/0.4103, allocations: 15.98 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.4104, allocations: 40.89 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4104, allocations: 0 / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.4106, allocations: 73.53 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4106, allocations: 4 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4106, allocations: 0 / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4107, allocations: 0 / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.4107, allocations: 11.98 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4108, allocations: 4.031 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.4108, allocations: 7.984 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.4108, allocations: 0 / 1.211 GB, free: 5.949 MB / 0.9669 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.0001584/0.411, allocations: 113.8 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.411, allocations: 4 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.4112, allocations: 68.72 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4113, allocations: 4.031 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4113, allocations: 3.938 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4113, allocations: 4 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.4115, allocations: 161.6 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4115, allocations: 0 / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.4115, allocations: 4 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4116, allocations: 0 / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4116, allocations: 15.92 kB / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.4116, allocations: 0 / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4116, allocations: 0 / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.4118, allocations: 171.4 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.4119, allocations: 77.11 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.4119, allocations: 0 / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.412, allocations: 4 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.412, allocations: 11.92 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.412, allocations: 0 / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.476e-05/0.4121, allocations: 87.48 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.4121, allocations: 0 / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00021/0.4123, allocations: 7.938 kB / 1.212 GB, free: 5.129 MB / 0.9669 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.0001893/0.4125, allocations: 99.25 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.4127, allocations: 35.95 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4127, allocations: 0 / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-05/0.4128, allocations: 24.05 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.4131, allocations: 7.938 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.4134, allocations: 118 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.4137, allocations: 0.6768 MB / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.4137, allocations: 4 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.4138, allocations: 11.44 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.4138, allocations: 4.062 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of Templates: time 0.002682/0.4165, allocations: 448.5 kB / 1.213 GB, free: 3.652 MB / 0.9669 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