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.001708/0.001708, allocations: 113.3 kB / 16.37 MB, free: 6.016 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.001513/0.001513, allocations: 198.6 kB / 17.31 MB, free: 5.609 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.564/2.564, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 72.52 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3016, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002046/0.3037, allocations: 0.7117 MB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008683/0.3046, allocations: 0.8375 MB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.3046, allocations: 4 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.3047, allocations: 3.938 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.3047, allocations: 3.938 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.3049, allocations: 15.92 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.459e-05/0.305, allocations: 43.91 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3051, allocations: 4 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.3052, allocations: 27.91 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.3052, allocations: 19.91 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.3053, allocations: 8 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.3053, allocations: 4 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.3053, allocations: 4 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.3053, allocations: 23.86 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.571e-05/0.3054, allocations: 35.88 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3055, allocations: 0 / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3055, allocations: 0 / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3055, allocations: 0 / 1.028 GB, free: 308 kB / 0.795 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.0005176/0.306, allocations: 367.3 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.306, allocations: 12.03 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.3061, allocations: 4.844 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3062, allocations: 180.3 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3062, allocations: 4.375 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.3062, allocations: 4.375 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.3065, allocations: 70.16 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.3065, allocations: 4.125 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3065, allocations: 7.938 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3065, allocations: 0 / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.3068, allocations: 67.91 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.3072, allocations: 272.8 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.3074, allocations: 54.58 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.3075, allocations: 40.81 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3076, allocations: 0 / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.3076, allocations: 34.56 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3076, allocations: 0 / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005041/0.3081, allocations: 133.5 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.3082, allocations: 55.41 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.3083, allocations: 105.8 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3083, allocations: 25.7 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.3083, allocations: 88.14 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.3084, allocations: 11.81 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.3084, allocations: 21.7 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.521e-05/0.3085, allocations: 310.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3086, allocations: 27.97 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.3088, allocations: 35.95 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.309, allocations: 72.72 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3091, allocations: 3.938 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000287/0.3094, allocations: 93.62 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3094, allocations: 8 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3094, allocations: 4 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3094, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3096, allocations: 15.98 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3096, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.3096, allocations: 11.97 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.3097, allocations: 4 kB / 1.031 GB, free: 13.96 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 7.034e-05/0.3097, allocations: 117.7 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.3098, allocations: 7.906 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.3101, allocations: 109.5 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3101, allocations: 4 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3101, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3101, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.3103, allocations: 181.5 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3103, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.261e-05/0.3104, allocations: 19.98 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3104, allocations: 4 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.3104, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3104, allocations: 3.938 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3105, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.3108, allocations: 207.7 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.3108, allocations: 85.02 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.3109, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.311, allocations: 7.984 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.311, allocations: 7.984 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.311, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.31e-05/0.3111, allocations: 87.28 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3111, allocations: 0 / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002206/0.3113, allocations: 4 kB / 1.031 GB, free: 13.03 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.0001281/0.3114, allocations: 103.2 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.3118, allocations: 75.91 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3118, allocations: 0 / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.3119, allocations: 39.91 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.3122, allocations: 7.938 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.3126, allocations: 130 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3128, allocations: 0.6807 MB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.747e-05/0.3129, allocations: 0 / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.3129, allocations: 11.44 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/0.3129, allocations: 4 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of Templates: time 0.00253/0.3155, allocations: 0.6784 MB / 1.033 GB, free: 11.25 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 -s gbode -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