Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_11_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_11_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.001466/0.001466, allocations: 109.8 kB / 15.99 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.001476/0.001476, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.34/1.34, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.56/2.56, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 66.56 kB / 0.9087 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2932, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001912/0.2951, allocations: 0.765 MB / 1.065 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009479/0.2961, allocations: 0.8312 MB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.2961, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.2962, allocations: 3.938 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.868e-05/0.2962, allocations: 0 / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.2964, allocations: 27.91 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.679e-05/0.2965, allocations: 43.86 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.941e-05/0.2966, allocations: 8 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-05/0.2967, allocations: 19.92 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.2967, allocations: 23.91 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.2967, allocations: 4 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.2967, allocations: 4 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.2968, allocations: 4 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.2968, allocations: 23.86 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.96e-05/0.2969, allocations: 31.94 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2969, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.168e-06/0.2969, allocations: 3.984 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.2969, allocations: 4 kB / 1.066 GB, free: 13.24 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.000548/0.2975, allocations: 351.7 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2975, allocations: 12.03 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.2975, allocations: 8.781 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2977, allocations: 168.3 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.2977, allocations: 8.375 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.2977, allocations: 4.375 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.298, allocations: 66.2 kB / 1.066 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.298, allocations: 192 / 1.066 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.298, allocations: 11.92 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.298, allocations: 0 / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.2983, allocations: 67.92 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.2987, allocations: 268.8 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.2989, allocations: 54.48 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.299, allocations: 44.91 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.2991, allocations: 0 / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.2991, allocations: 30.56 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.2991, allocations: 0 / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005343/0.2996, allocations: 141.5 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.2997, allocations: 51.41 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2998, allocations: 105.8 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.2998, allocations: 25.7 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.2999, allocations: 88.14 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.2999, allocations: 7.812 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.2999, allocations: 17.66 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3001, allocations: 322.8 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.3002, allocations: 31.91 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.3004, allocations: 35.95 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.3006, allocations: 68.8 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3007, allocations: 3.938 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003159/0.301, allocations: 101.5 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.301, allocations: 4 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.301, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.301, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3012, allocations: 19.98 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3012, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.716e-05/0.3012, allocations: 11.98 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.3013, allocations: 0 / 1.068 GB, free: 10.92 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.482e-05/0.3013, allocations: 117.8 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.3014, allocations: 7.906 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.3017, allocations: 113.5 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3018, allocations: 0 / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3018, allocations: 0 / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3018, allocations: 0 / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.302, allocations: 181.5 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.302, allocations: 0 / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.839e-05/0.3021, allocations: 20.34 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3021, allocations: 0 / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3021, allocations: 0 / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3021, allocations: 4 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3021, allocations: 0 / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.3025, allocations: 195.3 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.3025, allocations: 85.02 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.3026, allocations: 7.984 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3027, allocations: 15.98 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.3027, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3027, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.076e-05/0.3028, allocations: 91.27 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3028, allocations: 0 / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002084/0.303, allocations: 4 kB / 1.069 GB, free: 9.992 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.0001219/0.3031, allocations: 99.25 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.3035, allocations: 71.92 kB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3035, allocations: 3.938 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.3037, allocations: 43.89 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.304, allocations: 15.81 kB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.3043, allocations: 167.9 kB / 1.069 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.3046, allocations: 0.6807 MB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.3047, allocations: 11.44 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3047, allocations: 0 / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of Templates: time 0.002121/0.3068, allocations: 0.7399 MB / 1.071 GB, free: 8.105 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches