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.0017/0.0017, allocations: 107.5 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.002067/0.002066, allocations: 189.8 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.45/1.45, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.546/2.546, allocations: 469.4 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 65.45 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.321, allocations: 159.1 MB / 1.064 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002201/0.3233, allocations: 0.6743 MB / 1.065 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.3247, allocations: 0.8117 MB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.3248, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/0.3249, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.828e-05/0.325, allocations: 11.92 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.3252, allocations: 11.98 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.291e-05/0.3253, allocations: 23.94 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3254, allocations: 7.984 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.3255, allocations: 11.94 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.3256, allocations: 11.98 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3256, allocations: 0 / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.3256, allocations: 4 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.3257, allocations: 3.938 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.3257, allocations: 7.984 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.343e-05/0.3258, allocations: 23.91 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3258, allocations: 4 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3258, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3259, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8419 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.0005788/0.3264, allocations: 331.8 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.3265, allocations: 8.625 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.3266, allocations: 8.844 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3267, allocations: 164.4 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.3267, allocations: 8.312 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.3268, allocations: 4.375 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.327, allocations: 46.23 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.327, allocations: 192 / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.3271, allocations: 7.938 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.3271, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.3273, allocations: 27.97 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.3278, allocations: 256.9 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.328, allocations: 38.44 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.3281, allocations: 24.91 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3282, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.3282, allocations: 38.55 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/0.3282, allocations: 0 / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.000501/0.3287, allocations: 77.66 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.3288, allocations: 59.33 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3289, allocations: 101.8 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3289, allocations: 29.7 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.329, allocations: 88.17 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.329, allocations: 0 / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.3291, allocations: 25.64 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3292, allocations: 310.8 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.3294, allocations: 11.98 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.3295, allocations: 19.98 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.3297, allocations: 40.88 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3297, allocations: 0 / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002998/0.3301, allocations: 73.45 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3301, allocations: 4 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.3301, allocations: 3.984 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3301, allocations: 4 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3303, allocations: 4 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3303, allocations: 8.031 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.3304, allocations: 7.984 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.3304, allocations: 4 kB / 1.068 GB, free: 11.34 MB / 0.8419 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 9.454e-05/0.3305, allocations: 114.3 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.3305, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.3309, allocations: 68.78 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3309, allocations: 12.02 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3309, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3309, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.3312, allocations: 157.6 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3312, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.146e-05/0.3313, allocations: 11.92 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.3313, allocations: 4 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.3313, allocations: 3.938 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3313, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3313, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.3317, allocations: 163.5 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.3317, allocations: 81.02 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.3318, allocations: 4 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3319, allocations: 7.984 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.3319, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.332, allocations: 4.031 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.332, allocations: 83.27 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.332, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004125/0.3325, allocations: 7.938 kB / 1.068 GB, free: 10.52 MB / 0.8419 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.0001809/0.3326, allocations: 103.2 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002924/0.3329, allocations: 35.97 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.333, allocations: 4.062 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.3331, allocations: 19.97 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.3336, allocations: 15.88 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.3341, allocations: 131.9 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.3344, allocations: 0.6768 MB / 1.069 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.3345, allocations: 11.5 kB / 1.069 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.3345, allocations: 3.938 kB / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of Templates: time 0.00256/0.337, allocations: 0.5348 MB / 1.07 GB, free: 8.926 MB / 0.8419 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/jenkins1/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