Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.612/1.612, allocations: 297.8 MB / 313.7 MB, free: 152 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009907/0.0009909, allocations: 180.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007207/0.0007208, allocations: 95.86 kB / 0.7808 GB, free: 50.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003779, allocations: 19.98 kB / 0.9088 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5763/0.5767, allocations: 120.3 MB / 1.026 GB, free: 55.85 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.7395, allocations: 140.8 MB / 1.164 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.7397, allocations: 66.92 kB / 1.164 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002194/0.7419, allocations: 0.9021 MB / 1.165 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.552e-06/0.7419, allocations: 1.219 kB / 1.165 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7419, allocations: 0 / 1.165 GB, free: 1.766 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.0003687/0.7423, allocations: 376.5 kB / 1.165 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.7423, allocations: 14.62 kB / 1.165 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.7424, allocations: 0.9375 kB / 1.165 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.868e-05/0.7425, allocations: 172.1 kB / 1.165 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.7425, allocations: 4.375 kB / 1.165 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.7425, allocations: 384 / 1.165 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.7427, allocations: 82.06 kB / 1.165 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.7427, allocations: 1.219 kB / 1.165 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.7428, allocations: 5.578 kB / 1.165 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.7428, allocations: 4 kB / 1.165 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.743, allocations: 88.06 kB / 1.165 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.7435, allocations: 306.9 kB / 1.166 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.7437, allocations: 67.03 kB / 1.166 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.7438, allocations: 55.8 kB / 1.166 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.7438, allocations: 0 / 1.166 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.7439, allocations: 37.08 kB / 1.166 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.7439, allocations: 0 / 1.166 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0004766/0.7444, allocations: 168 kB / 1.166 GB, free: 416 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.7444, allocations: 53.92 kB / 1.166 GB, free: 352 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.774e-05/0.7444, allocations: 106.2 kB / 1.166 GB, free: 240 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.7445, allocations: 25.7 kB / 1.166 GB, free: 208 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.7445, allocations: 93.3 kB / 1.166 GB, free: 112 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.7445, allocations: 4.75 kB / 1.166 GB, free: 108 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-06/0.7445, allocations: 6.344 kB / 1.166 GB, free: 104 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.7446, allocations: 313.7 kB / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.7448, allocations: 42.72 kB / 1.167 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.7449, allocations: 49.02 kB / 1.167 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.7452, allocations: 91.45 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7452, allocations: 7.938 kB / 1.167 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000298/0.7455, allocations: 118.3 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.7455, allocations: 8.938 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.7455, allocations: 0 / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.7455, allocations: 1.453 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.7457, allocations: 22.14 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7457, allocations: 1.281 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.908e-05/0.7458, allocations: 24.64 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.7458, allocations: 0 / 1.167 GB, free: 15.5 MB / 0.7448 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 7.161e-05/0.7459, allocations: 118.8 kB / 1.167 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.7459, allocations: 0 / 1.167 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.7462, allocations: 131.8 kB / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.7462, allocations: 0 / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7463, allocations: 0 / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7463, allocations: 1.531 kB / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.7464, allocations: 171 kB / 1.167 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7464, allocations: 4 kB / 1.167 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.625e-05/0.7465, allocations: 22.05 kB / 1.167 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.7465, allocations: 2.078 kB / 1.167 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.7466, allocations: 0.6562 kB / 1.167 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.7466, allocations: 1.062 kB / 1.167 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7466, allocations: 0 / 1.167 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.7469, allocations: 233.6 kB / 1.168 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.747, allocations: 77.77 kB / 1.168 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.747, allocations: 0.8438 kB / 1.168 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.7471, allocations: 18.14 kB / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.7472, allocations: 2.672 kB / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.7472, allocations: 4 kB / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.184e-05/0.7472, allocations: 86.59 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7472, allocations: 4 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002008/0.7474, allocations: 8 kB / 1.168 GB, free: 14.61 MB / 0.7448 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.00012/0.7475, allocations: 101.2 kB / 1.168 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003125/0.7479, allocations: 96.05 kB / 1.168 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7479, allocations: 0 / 1.168 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.748, allocations: 49.8 kB / 1.168 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.7483, allocations: 6.609 kB / 1.168 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.7486, allocations: 142 kB / 1.168 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.7488, allocations: 0.6812 MB / 1.169 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.2e-05/0.7489, allocations: 5.125 kB / 1.169 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.7489, allocations: 8.141 kB / 1.169 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.7489, allocations: 0 / 1.169 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.002454/0.7514, allocations: 0.5295 MB / 1.169 GB, free: 13.23 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)