Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007115/0.007115, allocations: 99.73 kB / 15.73 MB, free: 6.043 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.001386/0.001386, allocations: 199.4 kB / 16.68 MB, free: 5.965 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.891/2.891, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 71.89 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3877, allocations: 159.1 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001935/0.3896, allocations: 0.6775 MB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.3906, allocations: 0.8019 MB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.3906, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.3906, allocations: 4 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.661e-05/0.3907, allocations: 7.922 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.3909, allocations: 7.984 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.3909, allocations: 27.88 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.391, allocations: 3.984 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.3911, allocations: 15.94 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.426e-05/0.3912, allocations: 11.98 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.3912, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.108e-06/0.3912, allocations: 4 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.3912, allocations: 3.938 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.3912, allocations: 7.984 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.887e-05/0.3913, allocations: 31.83 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3913, allocations: 0 / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3913, allocations: 0 / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3913, allocations: 0 / 1.222 GB, free: 12.13 MB / 0.9825 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.0004536/0.3918, allocations: 339.5 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3918, allocations: 12.03 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.3918, allocations: 4.891 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.392, allocations: 164.3 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.392, allocations: 384 / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.392, allocations: 8.375 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3922, allocations: 46.23 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3922, allocations: 192 / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3922, allocations: 11.94 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3922, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.3924, allocations: 35.89 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.3928, allocations: 241 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.3929, allocations: 42.44 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.393, allocations: 28.89 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.393, allocations: 0 / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.393, allocations: 30.56 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.393, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003473/0.3934, allocations: 85.58 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.3934, allocations: 55.53 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.186e-05/0.3935, allocations: 97.86 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.3935, allocations: 29.7 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.3936, allocations: 84.09 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.3936, allocations: 7.938 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.3936, allocations: 17.72 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3937, allocations: 310.8 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.049e-05/0.3938, allocations: 19.98 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.3939, allocations: 19.97 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.394, allocations: 32.83 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.394, allocations: 3.938 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001736/0.3942, allocations: 73.66 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3942, allocations: 7.938 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3942, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3942, allocations: 4 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.138e-05/0.3943, allocations: 7.984 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3943, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.3944, allocations: 8 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.3944, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 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.903e-05/0.3945, allocations: 118.3 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.3945, allocations: 0 / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.3947, allocations: 76.7 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3947, allocations: 4 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3947, allocations: 0 / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3947, allocations: 192 / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.3948, allocations: 157.6 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3949, allocations: 3.984 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.3949, allocations: 12.02 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3949, allocations: 4 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3949, allocations: 0 / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3949, allocations: 7.938 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3949, allocations: 0 / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.3951, allocations: 171.3 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.3952, allocations: 81.14 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3952, allocations: 0 / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.3953, allocations: 7.984 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.3953, allocations: 4 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-06/0.3953, allocations: 0 / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.856e-05/0.3954, allocations: 83.27 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3954, allocations: 0 / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002059/0.3956, allocations: 8 kB / 1.225 GB, free: 9.289 MB / 0.9825 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.0001483/0.3957, allocations: 99.25 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.3959, allocations: 35.95 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3959, allocations: 0 / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.396, allocations: 15.98 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.3962, allocations: 17.75 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.3966, allocations: 126 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.3968, allocations: 0.6807 MB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.3968, allocations: 0 / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.3968, allocations: 7.438 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3968, allocations: 0 / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of Templates: time 0.002359/0.3992, allocations: 436 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches