Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009824/0.0009825, allocations: 176.8 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008355/0.0008357, allocations: 92.81 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003863, allocations: 9.5 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2034, allocations: 106.3 MB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001358/0.2048, allocations: 1.132 MB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002723/0.2051, allocations: 141.8 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.2052, allocations: 0 / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.2052, allocations: 0 / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.814e-05/0.2052, allocations: 7.922 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.2054, allocations: 11.98 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.117e-05/0.2054, allocations: 39.86 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.2055, allocations: 11.98 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.2056, allocations: 15.92 kB / 0.9022 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.62e-05/0.2056, allocations: 19.92 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.2057, allocations: 3.938 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.2057, allocations: 4 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.2057, allocations: 4 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.2057, allocations: 25.7 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.143e-05/0.2058, allocations: 31.92 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2058, allocations: 0 / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2058, allocations: 0 / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.2058, allocations: 0 / 0.9023 GB, free: 62.39 MB / 0.6042 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.0004333/0.2062, allocations: 379.3 kB / 0.9026 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2063, allocations: 8.031 kB / 0.9026 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.2063, allocations: 0 / 0.9026 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.734e-05/0.2064, allocations: 171 kB / 0.9028 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.2064, allocations: 4 kB / 0.9028 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.2064, allocations: 4 kB / 0.9028 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.2067, allocations: 81.64 kB / 0.9029 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2067, allocations: 0 / 0.9029 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2067, allocations: 3.984 kB / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2068, allocations: 4 kB / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.207, allocations: 87.92 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.2073, allocations: 268.8 kB / 0.9032 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.2075, allocations: 70.53 kB / 0.9033 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.2077, allocations: 52.91 kB / 0.9033 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.2077, allocations: 0 / 0.9033 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.2077, allocations: 38.56 kB / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.2078, allocations: 0 / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005311/0.2083, allocations: 157.5 kB / 0.9035 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.2083, allocations: 51.41 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.2084, allocations: 117.8 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.2084, allocations: 29.7 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.2084, allocations: 95.97 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.2085, allocations: 3.906 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.2085, allocations: 4 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.315e-05/0.2085, allocations: 314.8 kB / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.2087, allocations: 47.95 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.2088, allocations: 35.97 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.209, allocations: 47.95 kB / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.209, allocations: 3.938 kB / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003095/0.2093, allocations: 121.6 kB / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2093, allocations: 4 kB / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2093, allocations: 0 / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2093, allocations: 4 kB / 0.9044 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2095, allocations: 15.98 kB / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.2095, allocations: 8 kB / 0.9044 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.2096, allocations: 19.97 kB / 0.9044 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.2096, allocations: 3.953 kB / 0.9044 GB, free: 59.96 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/0.2096, allocations: 109.8 kB / 0.9045 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.2097, allocations: 7.906 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.21, allocations: 129.5 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.21, allocations: 8 kB / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.21, allocations: 0 / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.21, allocations: 0 / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.2102, allocations: 173.6 kB / 0.9048 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2102, allocations: 4 kB / 0.9048 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.761e-05/0.2103, allocations: 27.92 kB / 0.9049 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.2103, allocations: 0 / 0.9049 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.2103, allocations: 0 / 0.9049 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2103, allocations: 0 / 0.9049 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2103, allocations: 4 kB / 0.9049 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.2107, allocations: 219.8 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.2107, allocations: 81.02 kB / 0.9051 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.2107, allocations: 4 kB / 0.9051 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.2108, allocations: 19.98 kB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.2109, allocations: 7.922 kB / 0.9052 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.2109, allocations: 4 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.453e-05/0.2109, allocations: 87.28 kB / 0.9053 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2109, allocations: 0 / 0.9053 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00019/0.2111, allocations: 4 kB / 0.9053 GB, free: 58.98 MB / 0.6042 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 (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.0001096/0.2112, allocations: 103.2 kB / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.2116, allocations: 91.92 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2116, allocations: 0 / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.2117, allocations: 43.97 kB / 0.9055 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.212, allocations: 15.89 kB / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.2123, allocations: 170.2 kB / 0.9057 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.603e-05/0.2124, allocations: 0.677 MB / 0.9063 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.2124, allocations: 11.44 kB / 0.9063 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2124, allocations: 0 / 0.9063 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.001648/0.2141, allocations: 0.7402 MB / 0.9071 GB, free: 57.09 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)