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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.838/1.838, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001591/0.001591, allocations: 184.3 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 0.6367 GB, free: 8.527 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009012/0.000901, allocations: 91.03 kB / 0.751 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004363, allocations: 12 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3058, allocations: 116.3 MB / 0.9884 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.766/1.072, allocations: 138.6 MB / 1.124 GB, free: 35.93 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/1.072, allocations: 72.38 kB / 1.124 GB, free: 35.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002398/1.075, allocations: 0.8881 MB / 1.125 GB, free: 35.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.856e-06/1.075, allocations: 0 / 1.125 GB, free: 35.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.075, allocations: 4 kB / 1.125 GB, free: 35.18 MB / 0.7292 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.0004314/1.075, allocations: 370 kB / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/1.075, allocations: 16.02 kB / 1.125 GB, free: 34.78 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/1.075, allocations: 2.062 kB / 1.125 GB, free: 34.78 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/1.075, allocations: 174.2 kB / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/1.075, allocations: 0.5625 kB / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/1.075, allocations: 7.938 kB / 1.125 GB, free: 34.56 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/1.076, allocations: 84.66 kB / 1.125 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.076, allocations: 1.031 kB / 1.125 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/1.076, allocations: 4 kB / 1.125 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/1.076, allocations: 0 / 1.125 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002659/1.076, allocations: 81.72 kB / 1.125 GB, free: 34.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/1.076, allocations: 306.1 kB / 1.126 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/1.077, allocations: 75.38 kB / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/1.077, allocations: 0 / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/1.077, allocations: 30.56 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.304e-06/1.077, allocations: 0.5156 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005226/1.077, allocations: 167.6 kB / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/1.077, allocations: 54.92 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.318e-05/1.077, allocations: 101.7 kB / 1.126 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/1.077, allocations: 25.7 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/1.077, allocations: 91.59 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/1.077, allocations: 8.672 kB / 1.126 GB, free: 33.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/1.077, allocations: 0 / 1.126 GB, free: 33.56 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.556e-05/1.078, allocations: 322.8 kB / 1.126 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/1.078, allocations: 42.55 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/1.078, allocations: 47.16 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/1.078, allocations: 42.55 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.078, allocations: 0 / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002975/1.078, allocations: 120.4 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.078, allocations: 12 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.078, allocations: 0 / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.078, allocations: 1.531 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/1.078, allocations: 19.52 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/1.078, allocations: 3.938 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.406e-05/1.079, allocations: 19.36 kB / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/1.079, allocations: 4 kB / 1.127 GB, free: 32.99 MB / 0.7292 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.724e-05/1.079, allocations: 117.8 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/1.079, allocations: 0 / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/1.079, allocations: 131.8 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/1.079, allocations: 0 / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.079, allocations: 0.9375 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.079, allocations: 0 / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/1.079, allocations: 173.7 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.079, allocations: 0 / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.766e-05/1.079, allocations: 28.77 kB / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1.079, allocations: 0 / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/1.079, allocations: 0 / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.079, allocations: 3.938 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.079, allocations: 0 / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/1.08, allocations: 220 kB / 1.127 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/1.08, allocations: 85.23 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/1.08, allocations: 4 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/1.08, allocations: 15.73 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/1.08, allocations: 8.266 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/1.08, allocations: 0 / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.274e-05/1.08, allocations: 87.45 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.08, allocations: 0 / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002/1.08, allocations: 8 kB / 1.128 GB, free: 32.11 MB / 0.7292 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.0001198/1.08, allocations: 99.25 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000311/1.081, allocations: 96.75 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.081, allocations: 0 / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/1.081, allocations: 51.25 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/1.081, allocations: 6.234 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/1.081, allocations: 140.1 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/1.081, allocations: 0.6804 MB / 1.129 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.994e-05/1.081, allocations: 3.328 kB / 1.129 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/1.081, allocations: 15.44 kB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of SimCode: time 3.2e-07/1.081, allocations: 0 / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.002321/1.084, allocations: 0.5211 MB / 1.129 GB, free: 30.73 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (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)