Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009663/0.0009661, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007319/0.007319, allocations: 168.9 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.884/1.884, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005694/0.0005695, allocations: 18.67 kB / 0.6743 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3332, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.00164/0.3349, allocations: 442.5 kB / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.3368, allocations: 0.8243 MB / 0.7891 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.3369, allocations: 0 / 0.7891 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.3369, allocations: 3.938 kB / 0.7891 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.3371, allocations: 7.922 kB / 0.7891 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.3373, allocations: 11.98 kB / 0.7892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3375, allocations: 43.91 kB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.3377, allocations: 12 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.3378, allocations: 19.92 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.726e-05/0.3379, allocations: 15.92 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.338, allocations: 0 / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.338, allocations: 7.938 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.338, allocations: 3.984 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.3382, allocations: 41.58 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.3384, allocations: 39.84 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3384, allocations: 0 / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.296e-06/0.3384, allocations: 0 / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.3384, allocations: 0 / 0.7893 GB, free: 10.07 MB / 0.6075 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.0008068/0.3392, allocations: 367.7 kB / 0.7897 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.056e-05/0.3393, allocations: 8.031 kB / 0.7897 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.3394, allocations: 8.844 kB / 0.7897 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.3396, allocations: 168.3 kB / 0.7899 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3396, allocations: 8.312 kB / 0.7899 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.3397, allocations: 8.375 kB / 0.7899 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.3402, allocations: 74.22 kB / 0.7899 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3402, allocations: 192 / 0.7899 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.3402, allocations: 7.938 kB / 0.79 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3402, allocations: 0 / 0.79 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.3408, allocations: 95.86 kB / 0.79 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.3414, allocations: 260.9 kB / 0.7903 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.3419, allocations: 70.48 kB / 0.7904 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.3422, allocations: 48.91 kB / 0.7904 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.3422, allocations: 7.938 kB / 0.7904 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/0.3423, allocations: 34.5 kB / 0.7904 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.575e-06/0.3423, allocations: 4 kB / 0.7905 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001071/0.3434, allocations: 157.6 kB / 0.7906 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.3435, allocations: 51.41 kB / 0.7907 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.3437, allocations: 113.8 kB / 0.7908 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.3438, allocations: 25.7 kB / 0.7908 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.3438, allocations: 88.14 kB / 0.7909 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.3439, allocations: 15.8 kB / 0.7909 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.344, allocations: 9.719 kB / 0.7909 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3441, allocations: 318.8 kB / 0.7912 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.3445, allocations: 43.97 kB / 0.7912 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.3448, allocations: 39.95 kB / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005819/0.3454, allocations: 96.73 kB / 0.7914 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3454, allocations: 3.938 kB / 0.7914 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006031/0.346, allocations: 117.9 kB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.346, allocations: 8 kB / 0.7915 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3461, allocations: 4 kB / 0.7915 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3461, allocations: 0 / 0.7915 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.3463, allocations: 19.98 kB / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3463, allocations: 0 / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.3465, allocations: 16.03 kB / 0.7915 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.3465, allocations: 3.984 kB / 0.7915 GB, free: 7.582 MB / 0.6075 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 0.0001385/0.3467, allocations: 126.4 kB / 0.7917 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.3467, allocations: 3.906 kB / 0.7917 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006825/0.3474, allocations: 129.5 kB / 0.7918 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3475, allocations: 0 / 0.7918 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3475, allocations: 0 / 0.7918 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3475, allocations: 0 / 0.7918 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.3478, allocations: 177.5 kB / 0.792 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3478, allocations: 0 / 0.792 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.348, allocations: 27.97 kB / 0.792 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3481, allocations: 3.938 kB / 0.792 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3481, allocations: 0 / 0.792 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3481, allocations: 0 / 0.792 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3481, allocations: 0 / 0.792 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.3489, allocations: 227.3 kB / 0.7922 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.27e-05/0.3489, allocations: 85 kB / 0.7923 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.349, allocations: 0 / 0.7923 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.3492, allocations: 19.98 kB / 0.7923 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.3493, allocations: 4 kB / 0.7923 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.3493, allocations: 4 kB / 0.7923 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.1e-05/0.3494, allocations: 83.27 kB / 0.7924 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.91e-07/0.3494, allocations: 0 / 0.7924 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004087/0.3498, allocations: 12 kB / 0.7924 GB, free: 6.594 MB / 0.6075 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.0002006/0.35, allocations: 99.25 kB / 0.7925 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006541/0.3507, allocations: 91.92 kB / 0.7926 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3507, allocations: 3.938 kB / 0.7926 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.3511, allocations: 47.95 kB / 0.7926 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.3516, allocations: 11.94 kB / 0.7926 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.3521, allocations: 131.8 kB / 0.7928 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/0.3526, allocations: 0.6809 MB / 0.7934 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.672e-05/0.3527, allocations: 3.984 kB / 0.7934 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.3528, allocations: 15.44 kB / 0.7934 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.3528, allocations: 0 / 0.7934 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of Templates: time 0.004896/0.3577, allocations: 0.5323 MB / 0.794 GB, free: 4.934 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) Environment - environmentSimulation: