Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.845/4.845, allocations: 0.5623 GB / 0.5775 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00262/0.00262, allocations: 356.5 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.159/4.159, allocations: 410.7 MB / 1.113 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001845/0.001845, allocations: 186.3 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006544/0.0006547, allocations: 12 kB / 1.349 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7515, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.9503, allocations: 137.4 MB / 1.596 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.9506, allocations: 74.31 kB / 1.596 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.003275/0.9539, allocations: 0.8956 MB / 1.597 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9539, allocations: 0 / 1.597 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.9539, allocations: 4 kB / 1.597 GB, free: 145.8 MB / 0.8542 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.0004938/0.9544, allocations: 366.5 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.9545, allocations: 11.62 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.9545, allocations: 4.844 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.701e-05/0.9546, allocations: 178.9 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.9547, allocations: 5.312 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.9547, allocations: 1.078 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.9551, allocations: 79.53 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.9551, allocations: 2.531 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.9551, allocations: 0 / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.9551, allocations: 0 / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005041/0.9556, allocations: 90.55 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.9563, allocations: 300.8 kB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.9566, allocations: 66.25 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.9568, allocations: 51.42 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.9569, allocations: 3.984 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.9569, allocations: 39.38 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.174e-06/0.9569, allocations: 0.5938 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0008971/0.9578, allocations: 160 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.9579, allocations: 51.41 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.958, allocations: 120.6 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.958, allocations: 25.7 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.958, allocations: 92.06 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.9581, allocations: 11.91 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.9581, allocations: 0 / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.617e-05/0.9582, allocations: 310.8 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.9584, allocations: 47.48 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.9587, allocations: 44.42 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.9589, allocations: 45.36 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.959, allocations: 1.062 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005568/0.9595, allocations: 125.6 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.9596, allocations: 15.69 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.9596, allocations: 0 / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.9596, allocations: 0.6562 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.9598, allocations: 25.8 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.9598, allocations: 0 / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.96, allocations: 24.91 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.96, allocations: 5.141 kB / 1.599 GB, free: 143.4 MB / 0.8542 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.975e-05/0.9601, allocations: 109.8 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.9601, allocations: 1.094 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005996/0.9608, allocations: 134.3 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.9608, allocations: 0 / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.9608, allocations: 0 / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9608, allocations: 0 / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.961, allocations: 174.7 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.961, allocations: 0 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.9612, allocations: 21.33 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.9612, allocations: 0 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.9612, allocations: 2.719 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.9612, allocations: 0 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.9612, allocations: 0 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006129/0.9618, allocations: 232.8 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.9619, allocations: 81.11 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.9619, allocations: 0 / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.9621, allocations: 17.3 kB / 1.599 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.9622, allocations: 4.609 kB / 1.599 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.9622, allocations: 4 kB / 1.599 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.981e-05/0.9623, allocations: 84.78 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9623, allocations: 0 / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002694/0.9625, allocations: 8 kB / 1.6 GB, free: 142.4 MB / 0.8542 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.0001165/0.9627, allocations: 104.6 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005674/0.9632, allocations: 92.48 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9633, allocations: 0 / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.9635, allocations: 47 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.9639, allocations: 9.922 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.9643, allocations: 146.5 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.9644, allocations: 0.6809 MB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.497e-05/0.9644, allocations: 1.406 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.9645, allocations: 11.44 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of SimCode: time 7.62e-07/0.9645, allocations: 3.125 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.003463/0.968, allocations: 0.5198 MB / 1.601 GB, free: 140.8 MB / 0.8542 GB