Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.28/3.28, allocations: 287.3 MB / 302.3 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001624, allocations: 186.8 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.692/2.692, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 81.75 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005164/0.0005167, allocations: 18.2 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2232, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.0008937/0.2242, allocations: 425.2 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.2253, allocations: 0.8182 MB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.2254, allocations: 0 / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.2254, allocations: 4 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.938e-05/0.2255, allocations: 7.984 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.2257, allocations: 11.98 kB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.2257, allocations: 27.91 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2259, allocations: 11.97 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.226, allocations: 15.94 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.226, allocations: 15.97 kB / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.2261, allocations: 0 / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.2261, allocations: 11.94 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.2261, allocations: 0 / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.2262, allocations: 33.7 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.339e-05/0.2262, allocations: 19.94 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2263, allocations: 0 / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2263, allocations: 3.938 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2263, allocations: 0 / 0.9796 GB, free: 26.95 MB / 0.6198 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.0006225/0.2269, allocations: 373.6 kB / 0.9799 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.227, allocations: 12.02 kB / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.227, allocations: 7.906 kB / 0.9799 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2272, allocations: 178.9 kB / 0.9801 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2272, allocations: 4 kB / 0.9801 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.2272, allocations: 0 / 0.9801 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.2276, allocations: 81.66 kB / 0.9802 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2276, allocations: 3.984 kB / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.2277, allocations: 0 / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2277, allocations: 0 / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005277/0.2282, allocations: 83.94 kB / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.2287, allocations: 268.9 kB / 0.9805 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.2291, allocations: 66.53 kB / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.2291, allocations: 7.938 kB / 0.9806 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2291, allocations: 34.56 kB / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 4.018e-06/0.2292, allocations: 0 / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0009018/0.2301, allocations: 165.5 kB / 0.9808 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.2301, allocations: 55.41 kB / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.277e-05/0.2302, allocations: 109.8 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.2303, allocations: 29.7 kB / 0.981 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.2303, allocations: 84.14 kB / 0.9811 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.2304, allocations: 7.906 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.2304, allocations: 0 / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.2304, allocations: 322.8 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.2307, allocations: 39.97 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.231, allocations: 44.14 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.2312, allocations: 44.05 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2312, allocations: 4 kB / 0.9815 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005622/0.2318, allocations: 117.5 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2319, allocations: 8 kB / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2319, allocations: 4 kB / 0.9816 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.2319, allocations: 3.938 kB / 0.9816 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.2321, allocations: 27.97 kB / 0.9817 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2321, allocations: 4 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.2323, allocations: 15.98 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.2323, allocations: 0 / 0.9817 GB, free: 24.58 MB / 0.6198 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 0.0001168/0.2324, allocations: 113.8 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.2325, allocations: 0 / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000598/0.2331, allocations: 129.5 kB / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2331, allocations: 4 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2331, allocations: 3.938 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2331, allocations: 3.984 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.2333, allocations: 177.5 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2334, allocations: 0 / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.2335, allocations: 23.92 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.2336, allocations: 0 / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2336, allocations: 0 / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2336, allocations: 0 / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.2336, allocations: 4 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005615/0.2342, allocations: 227.4 kB / 0.9823 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.2342, allocations: 81.11 kB / 0.9824 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.2342, allocations: 0 / 0.9824 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.2344, allocations: 15.98 kB / 0.9824 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.2345, allocations: 3.984 kB / 0.9824 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.2345, allocations: 12 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.039e-05/0.2346, allocations: 83.27 kB / 0.9825 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2346, allocations: 0 / 0.9825 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003018/0.2349, allocations: 11.91 kB / 0.9825 GB, free: 23.61 MB / 0.6198 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.0001274/0.235, allocations: 103.2 kB / 0.9826 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005444/0.2356, allocations: 87.92 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.2356, allocations: 4 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.2359, allocations: 43.97 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.2361, allocations: 11.94 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.2365, allocations: 128.7 kB / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.2367, allocations: 0.6848 MB / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.798e-05/0.2367, allocations: 4 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.2368, allocations: 11.38 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.2368, allocations: 0 / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of Templates: time 0.003023/0.2398, allocations: 0.5237 MB / 0.9841 GB, free: 21.96 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)