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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.009807/0.009807, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.002269/0.002269, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.458/1.458, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.828/2.828, allocations: 461.9 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 66.05 kB / 0.8991 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2872, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002023/0.2893, allocations: 0.7534 MB / 1.054 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009468/0.2902, allocations: 0.8351 MB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.532e-05/0.2903, allocations: 4 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.661e-05/0.2904, allocations: 0 / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.836e-05/0.2905, allocations: 3.938 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.2906, allocations: 15.98 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.581e-05/0.2907, allocations: 39.86 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.2908, allocations: 19.97 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.2909, allocations: 7.938 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.291, allocations: 27.91 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.291, allocations: 4 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.291, allocations: 4 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.291, allocations: 3.938 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.2911, allocations: 19.86 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.947e-05/0.2911, allocations: 31.94 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2911, allocations: 0 / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2911, allocations: 4 kB / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.2912, allocations: 0 / 1.055 GB, free: 6.473 MB / 0.8106 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.0006031/0.2918, allocations: 363.6 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2918, allocations: 8.031 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.2919, allocations: 0.9375 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.292, allocations: 180.2 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.292, allocations: 384 / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.292, allocations: 8.375 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.2923, allocations: 66.16 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2923, allocations: 192 / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.2923, allocations: 11.94 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2924, allocations: 0 / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.2926, allocations: 63.92 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.293, allocations: 261 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.2932, allocations: 62.42 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.2934, allocations: 44.91 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.2934, allocations: 0 / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.2935, allocations: 30.56 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.2935, allocations: 0 / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005599/0.294, allocations: 141.5 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.2941, allocations: 51.41 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.2942, allocations: 113.8 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2942, allocations: 29.64 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.2943, allocations: 92.14 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.2943, allocations: 7.812 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.2943, allocations: 13.72 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2944, allocations: 318.8 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.2946, allocations: 31.97 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2947, allocations: 31.95 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.295, allocations: 72.78 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.295, allocations: 3.938 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003252/0.2954, allocations: 93.62 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2954, allocations: 8 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2954, allocations: 0 / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2954, allocations: 0 / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.2956, allocations: 19.92 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2956, allocations: 0 / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.653e-05/0.2957, allocations: 11.98 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.2957, allocations: 7.922 kB / 1.057 GB, free: 4.141 MB / 0.8106 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.092e-05/0.2958, allocations: 117.8 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.2958, allocations: 7.906 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.2962, allocations: 105.5 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2962, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2962, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2962, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.2964, allocations: 169.5 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2965, allocations: 4 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.2966, allocations: 27.91 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2966, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.2966, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2966, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2966, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.297, allocations: 191.4 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.297, allocations: 89 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2971, allocations: 0 / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.2972, allocations: 15.98 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.2972, allocations: 0 / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.2972, allocations: 3.984 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.699e-05/0.2973, allocations: 91.22 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2973, allocations: 0 / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002275/0.2975, allocations: 12 kB / 1.057 GB, free: 3.219 MB / 0.8106 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.0001898/0.2977, allocations: 101.3 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.2981, allocations: 68.34 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2981, allocations: 0 / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.2983, allocations: 39.95 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.2986, allocations: 11.94 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.299, allocations: 161.6 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.2992, allocations: 0.6848 MB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.2993, allocations: 15.38 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of SimCode: time 5.52e-07/0.2993, allocations: 0 / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of Templates: time 0.002247/0.3015, allocations: 0.7443 MB / 1.059 GB, free: 1.34 MB / 0.8106 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