Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.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.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001739/0.00174, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 469.4 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.73 kB / 0.9088 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3296, allocations: 159.1 MB / 1.064 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002303/0.332, allocations: 0.7002 MB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3332, allocations: 0.8234 MB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.3332, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.3333, allocations: 3.938 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.3334, allocations: 11.86 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.3336, allocations: 15.98 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.687e-05/0.3337, allocations: 51.84 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3338, allocations: 8 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.99e-05/0.3339, allocations: 19.92 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.3339, allocations: 23.91 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.334, allocations: 7.938 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.334, allocations: 4 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.334, allocations: 7.984 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.3341, allocations: 19.86 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.062e-05/0.3342, allocations: 39.88 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3342, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3342, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.3342, allocations: 0 / 1.066 GB, free: 13.22 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005413/0.3347, allocations: 359.7 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3348, allocations: 12.62 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.3348, allocations: 4.844 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.335, allocations: 176.3 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.335, allocations: 4.375 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.335, allocations: 4.375 kB / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.3353, allocations: 70.2 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3353, allocations: 192 / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.3353, allocations: 3.938 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3353, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.3356, allocations: 71.86 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.336, allocations: 272.9 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.3362, allocations: 54.48 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.3363, allocations: 44.91 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3364, allocations: 0 / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3364, allocations: 34.5 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3364, allocations: 0 / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005385/0.337, allocations: 129.6 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.337, allocations: 55.41 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.577e-05/0.3371, allocations: 105.8 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.3371, allocations: 29.7 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.3372, allocations: 84.14 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.3372, allocations: 15.75 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.3372, allocations: 21.64 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3374, allocations: 318.8 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.3375, allocations: 27.97 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.3376, allocations: 35.95 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.3379, allocations: 72.72 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3379, allocations: 3.938 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003127/0.3383, allocations: 93.62 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3383, allocations: 8 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3383, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.3383, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.3385, allocations: 19.98 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3385, allocations: 4 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.077e-05/0.3386, allocations: 11.97 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3386, allocations: 4 kB / 1.068 GB, free: 10.88 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 (3): * Single equations (assignments): 3 * 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.069e-05/0.3387, allocations: 114.3 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.3387, allocations: 11.84 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.3391, allocations: 101.5 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3391, allocations: 4 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3391, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3391, allocations: 384 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.3393, allocations: 173.5 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3393, allocations: 3.984 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-05/0.3394, allocations: 11.98 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3394, allocations: 4 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3394, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3394, allocations: 4 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3394, allocations: 3.984 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.3398, allocations: 199.3 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.3399, allocations: 85.02 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.3399, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.34, allocations: 11.98 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.34, allocations: 11.98 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.34, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.3401, allocations: 87.28 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.283e-06/0.3401, allocations: 0 / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002151/0.3403, allocations: 7.938 kB / 1.069 GB, free: 9.961 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 (3): * Single equations (assignments): 3 * 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.000134/0.3405, allocations: 99.25 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.3408, allocations: 79.84 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3408, allocations: 0 / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.341, allocations: 31.97 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.3413, allocations: 15.88 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.3417, allocations: 155.9 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.3419, allocations: 0.6807 MB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.013e-05/0.342, allocations: 15.44 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.342, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of Templates: time 0.002023/0.344, allocations: 0.7408 MB / 1.071 GB, free: 8.09 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches