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.0009414/0.0009413, allocations: 97.97 kB / 15.05 MB, free: 1.105 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.00091/0.00091, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.596/1.596, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005009/0.0005009, allocations: 16.72 kB / 0.6736 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2366, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.0008766/0.2375, allocations: 421 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008756/0.2384, allocations: 0.8221 MB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.2384, allocations: 4 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.2385, allocations: 0 / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.039e-05/0.2385, allocations: 11.91 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.2387, allocations: 12 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.452e-05/0.2387, allocations: 19.97 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.2388, allocations: 11.98 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.391e-05/0.2389, allocations: 15.92 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.2389, allocations: 23.91 kB / 0.7884 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.239, allocations: 4 kB / 0.7884 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.239, allocations: 0 / 0.7884 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.239, allocations: 4 kB / 0.7884 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.239, allocations: 29.7 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.933e-05/0.2391, allocations: 27.92 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2391, allocations: 3.938 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2391, allocations: 0 / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.2391, allocations: 0 / 0.7885 GB, free: 10.53 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.000466/0.2396, allocations: 371.5 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.2396, allocations: 8.031 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.2396, allocations: 3.906 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.2398, allocations: 171 kB / 0.789 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2398, allocations: 0 / 0.789 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.2398, allocations: 11.98 kB / 0.789 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.2401, allocations: 77.64 kB / 0.7891 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2401, allocations: 0 / 0.7891 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2401, allocations: 8 kB / 0.7891 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2401, allocations: 0 / 0.7891 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.2404, allocations: 87.86 kB / 0.7892 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.2407, allocations: 272.9 kB / 0.7895 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.241, allocations: 62.55 kB / 0.7895 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.241, allocations: 0 / 0.7895 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.241, allocations: 34.56 kB / 0.7896 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.241, allocations: 0 / 0.7896 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005489/0.2416, allocations: 169.5 kB / 0.7897 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.2416, allocations: 51.41 kB / 0.7898 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/0.2417, allocations: 117.8 kB / 0.7899 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.2417, allocations: 25.7 kB / 0.7899 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.2418, allocations: 84.14 kB / 0.79 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.2418, allocations: 15.83 kB / 0.79 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.2418, allocations: 0 / 0.79 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2419, allocations: 318.8 kB / 0.7903 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.2421, allocations: 39.97 kB / 0.7903 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.2422, allocations: 43.95 kB / 0.7904 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.2424, allocations: 43.97 kB / 0.7904 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2424, allocations: 0 / 0.7904 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003169/0.2427, allocations: 129.5 kB / 0.7906 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2427, allocations: 4 kB / 0.7906 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2427, allocations: 0 / 0.7906 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.2427, allocations: 0 / 0.7906 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.2429, allocations: 23.98 kB / 0.7906 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2429, allocations: 0 / 0.7906 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.694e-05/0.243, allocations: 19.98 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.243, allocations: 4 kB / 0.7906 GB, free: 8.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.809e-05/0.2431, allocations: 109.8 kB / 0.7907 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.2431, allocations: 7.984 kB / 0.7907 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.2435, allocations: 133.5 kB / 0.7908 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.2435, allocations: 0 / 0.7908 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2435, allocations: 0 / 0.7908 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2435, allocations: 4 kB / 0.7908 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.2436, allocations: 177.5 kB / 0.791 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2437, allocations: 4 kB / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.317e-05/0.2438, allocations: 20.34 kB / 0.791 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2438, allocations: 0 / 0.791 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.2438, allocations: 8 kB / 0.7911 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2438, allocations: 3.938 kB / 0.7911 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2438, allocations: 0 / 0.7911 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.2442, allocations: 219.4 kB / 0.7913 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.2442, allocations: 77.11 kB / 0.7913 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.2442, allocations: 3.984 kB / 0.7913 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2443, allocations: 19.92 kB / 0.7914 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.2444, allocations: 8 kB / 0.7914 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.2444, allocations: 0 / 0.7914 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.083e-05/0.2444, allocations: 95.27 kB / 0.7915 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2444, allocations: 0 / 0.7915 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002067/0.2447, allocations: 7.906 kB / 0.7915 GB, free: 7.176 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 (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.0001156/0.2448, allocations: 99.25 kB / 0.7916 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.2451, allocations: 87.92 kB / 0.7916 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2451, allocations: 4 kB / 0.7916 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.2453, allocations: 51.95 kB / 0.7917 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.2455, allocations: 15.83 kB / 0.7917 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.2458, allocations: 127.5 kB / 0.7918 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.246, allocations: 0.6848 MB / 0.7925 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.2461, allocations: 4 kB / 0.7925 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.2461, allocations: 11.44 kB / 0.7925 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2461, allocations: 0 / 0.7925 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of Templates: time 0.002238/0.2484, allocations: 0.5119 MB / 0.793 GB, free: 5.535 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: