Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.424/4.424, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.242e-05, allocations: 9.906 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2126, allocations: 98.73 MB / 0.6289 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2869/0.4995, allocations: 123.6 MB / 0.7496 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.4998, allocations: 67.97 kB / 0.7497 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00371/0.5035, allocations: 0.9147 MB / 0.7506 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5036, allocations: 0 / 0.7506 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.5036, allocations: 4 kB / 0.7506 GB, free: 12.36 MB / 0.6355 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.0005719/0.5042, allocations: 358.5 kB / 0.7509 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5042, allocations: 12.03 kB / 0.7509 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.5043, allocations: 7.859 kB / 0.7509 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.5044, allocations: 178.9 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.5045, allocations: 0 / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.5045, allocations: 8 kB / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001078/0.5046, allocations: 12 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.5047, allocations: 41.69 kB / 0.7512 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.5048, allocations: 0 / 0.7512 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.5048, allocations: 0 / 0.7512 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.5048, allocations: 4 kB / 0.7512 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006471/0.5054, allocations: 285.4 kB / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.316e-05/0.5056, allocations: 30.52 kB / 0.7515 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.5056, allocations: 12.86 kB / 0.7515 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.5057, allocations: 4 kB / 0.7515 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.5057, allocations: 42.64 kB / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.395e-06/0.5057, allocations: 3.938 kB / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002004/0.5059, allocations: 45.61 kB / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.506, allocations: 51.41 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.5061, allocations: 104.9 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.5061, allocations: 25.7 kB / 0.7517 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.5062, allocations: 88.14 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.5062, allocations: 7.844 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.5062, allocations: 0 / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5064, allocations: 322.8 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.585e-05/0.5064, allocations: 19.88 kB / 0.7522 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.442e-05/0.5065, allocations: 8 kB / 0.7522 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.5065, allocations: 4 kB / 0.7522 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5065, allocations: 0 / 0.7522 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001317/0.5067, allocations: 53.59 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.5067, allocations: 8 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5067, allocations: 0 / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.5067, allocations: 0 / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.507, allocations: 23.98 kB / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.507, allocations: 0 / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.5072, allocations: 19.97 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.5072, allocations: 3.953 kB / 0.7523 GB, free: 10.4 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.894e-05/0.5073, allocations: 101 kB / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001378/0.5075, allocations: 57.64 kB / 0.7524 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.5075, allocations: 8.125 kB / 0.7524 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.5077, allocations: 62.02 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5077, allocations: 0 / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.5077, allocations: 3.953 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5077, allocations: 0 / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.5079, allocations: 146.2 kB / 0.7526 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.508, allocations: 0 / 0.7526 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.5081, allocations: 27.97 kB / 0.7527 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5082, allocations: 0 / 0.7527 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.5082, allocations: 0 / 0.7527 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5082, allocations: 3.938 kB / 0.7527 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5082, allocations: 0 / 0.7527 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.5084, allocations: 151.5 kB / 0.7528 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.5085, allocations: 81.02 kB / 0.7529 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.5085, allocations: 0 / 0.7529 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.5087, allocations: 19.98 kB / 0.7529 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.5088, allocations: 7.984 kB / 0.7529 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.5088, allocations: 0 / 0.7529 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.5088, allocations: 83.28 kB / 0.753 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.4e-07/0.5088, allocations: 3.938 kB / 0.753 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003074/0.5092, allocations: 8 kB / 0.753 GB, free: 9.562 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000503/0.5097, allocations: 0.689 MB / 0.7537 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.5098, allocations: 23.94 kB / 0.7537 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5098, allocations: 0 / 0.7537 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.191e-05/0.5099, allocations: 12 kB / 0.7537 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.5102, allocations: 8.688 kB / 0.7537 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.5106, allocations: 97.58 kB / 0.7538 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.511, allocations: 0.6846 MB / 0.7545 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.426e-05/0.511, allocations: 4 kB / 0.7545 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.5111, allocations: 15.38 kB / 0.7545 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.5111, allocations: 0 / 0.7545 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/0.6251, allocations: 0.966 MB / 0.7554 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/0.6254, allocations: 140.3 kB / 0.7556 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.424/3.049, allocations: 0 / 0.7556 GB, free: 6.805 MB / 0.6355 GB