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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.207/4.207, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.94e-05/5.967e-05, allocations: 6.812 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2487, allocations: 98.74 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2695/0.5183, allocations: 124.2 MB / 0.7561 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.5186, allocations: 67.95 kB / 0.7561 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00395/0.5226, allocations: 0.9228 MB / 0.757 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5226, allocations: 0 / 0.757 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.5227, allocations: 0 / 0.757 GB, free: 4.48 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.0006155/0.5233, allocations: 366.5 kB / 0.7574 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.5234, allocations: 12.03 kB / 0.7574 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.5234, allocations: 30.56 kB / 0.7574 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.5235, allocations: 3.906 kB / 0.7574 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.5236, allocations: 171 kB / 0.7576 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.5236, allocations: 0 / 0.7576 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.5237, allocations: 8 kB / 0.7576 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.5238, allocations: 45.62 kB / 0.7576 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.5239, allocations: 4 kB / 0.7577 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.5239, allocations: 0 / 0.7577 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.5239, allocations: 0 / 0.7577 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.953e-05/0.524, allocations: 20 kB / 0.7577 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000705/0.5247, allocations: 300.9 kB / 0.758 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.5248, allocations: 34.58 kB / 0.758 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.5249, allocations: 20.8 kB / 0.758 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.525, allocations: 0 / 0.758 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.525, allocations: 30.56 kB / 0.758 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.482e-06/0.525, allocations: 0 / 0.758 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002277/0.5252, allocations: 61.69 kB / 0.7581 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.5253, allocations: 55.36 kB / 0.7582 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.5254, allocations: 105 kB / 0.7583 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.5255, allocations: 29.64 kB / 0.7583 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.5256, allocations: 92.08 kB / 0.7584 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.5256, allocations: 3.906 kB / 0.7584 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.5256, allocations: 0 / 0.7584 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5258, allocations: 322.8 kB / 0.7587 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.5258, allocations: 12 kB / 0.7587 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.902e-05/0.5259, allocations: 11.94 kB / 0.7587 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.5259, allocations: 8 kB / 0.7587 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5259, allocations: 0 / 0.7587 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001513/0.5261, allocations: 57.59 kB / 0.7588 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5261, allocations: 4 kB / 0.7588 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5261, allocations: 0 / 0.7588 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5262, allocations: 0 / 0.7588 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.5264, allocations: 24.17 kB / 0.7588 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.5264, allocations: 0 / 0.7588 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.5266, allocations: 23.94 kB / 0.7588 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.5266, allocations: 4 kB / 0.7588 GB, free: 2.438 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 8.324e-05/0.5267, allocations: 105 kB / 0.7589 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.5268, allocations: 3.984 kB / 0.7589 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.527, allocations: 69.66 kB / 0.759 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.527, allocations: 0 / 0.759 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.527, allocations: 0 / 0.759 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.527, allocations: 0 / 0.759 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.5273, allocations: 177.5 kB / 0.7592 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5273, allocations: 0 / 0.7592 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.5275, allocations: 19.98 kB / 0.7592 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5275, allocations: 0 / 0.7592 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.5275, allocations: 4 kB / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5275, allocations: 4 kB / 0.7592 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5275, allocations: 0 / 0.7592 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.5277, allocations: 151.4 kB / 0.7593 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.5278, allocations: 77.11 kB / 0.7594 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.5278, allocations: 3.984 kB / 0.7594 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.528, allocations: 19.98 kB / 0.7594 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.5281, allocations: 8 kB / 0.7594 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.5281, allocations: 0 / 0.7594 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.149e-05/0.5282, allocations: 91.27 kB / 0.7595 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5282, allocations: 0 / 0.7595 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002755/0.5285, allocations: 4 kB / 0.7595 GB, free: 1.617 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.0006103/0.5291, allocations: 0.6946 MB / 0.7602 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.5293, allocations: 23.94 kB / 0.7602 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5294, allocations: 0 / 0.7602 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.786e-05/0.5294, allocations: 19.94 kB / 0.7602 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.5297, allocations: 7.984 kB / 0.7603 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.5302, allocations: 102.5 kB / 0.7603 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.5306, allocations: 0.6887 MB / 0.761 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.072e-05/0.5306, allocations: 0 / 0.761 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.5307, allocations: 15.44 kB / 0.761 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of SimCode: time 1.263e-06/0.5307, allocations: 3.938 kB / 0.761 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.5513, allocations: 1.293 MB / 0.7623 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003637/0.5517, allocations: 166.6 kB / 0.7625 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/3.145, allocations: 4 kB / 0.7625 GB, free: 14.52 MB / 0.6511 GB