Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.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.Atan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.57/1.57, allocations: 297.8 MB / 313.7 MB, free: 148 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.0008868/0.0008868, allocations: 180.5 kB / 384.6 MB, free: 10.86 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.275/1.275, allocations: 223.2 MB / 0.6626 GB, free: 4.254 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.0007317/0.0007318, allocations: 87.78 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004103, allocations: 20 kB / 0.9088 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.611/0.6114, allocations: 120.3 MB / 1.026 GB, free: 55.99 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.7764, allocations: 140.8 MB / 1.164 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.7766, allocations: 63.3 kB / 1.164 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001495/0.7781, allocations: 0.6751 MB / 1.165 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7781, allocations: 0 / 1.165 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.7781, allocations: 4 kB / 1.165 GB, free: 1.984 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002757/0.7784, allocations: 336.5 kB / 1.165 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.7785, allocations: 9.406 kB / 1.165 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.7785, allocations: 2.219 kB / 1.165 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.967e-05/0.7786, allocations: 173.6 kB / 1.165 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.7786, allocations: 2.375 kB / 1.165 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.7786, allocations: 384 / 1.165 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.7788, allocations: 55.55 kB / 1.165 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.7788, allocations: 0.8906 kB / 1.165 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.7788, allocations: 4.656 kB / 1.165 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.7788, allocations: 4.938 kB / 1.165 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.779, allocations: 46.14 kB / 1.165 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.7793, allocations: 269.9 kB / 1.165 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.836e-05/0.7794, allocations: 44.23 kB / 1.165 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.7795, allocations: 34.39 kB / 1.165 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.7795, allocations: 0 / 1.165 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.7795, allocations: 33.05 kB / 1.166 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.7795, allocations: 0 / 1.166 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002954/0.7798, allocations: 100.1 kB / 1.166 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.7798, allocations: 51.92 kB / 1.166 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.721e-05/0.7799, allocations: 105.6 kB / 1.166 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.7799, allocations: 25.7 kB / 1.166 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.396e-05/0.7799, allocations: 81.47 kB / 1.166 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.78, allocations: 7.609 kB / 1.166 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.78, allocations: 0.75 kB / 1.166 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.644e-05/0.78, allocations: 320.8 kB / 1.166 GB, free: 208 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.167e-05/0.7801, allocations: 18.97 kB / 1.166 GB, free: 196 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.108e-05/0.7802, allocations: 25.66 kB / 1.166 GB, free: 176 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.7803, allocations: 49.05 kB / 1.166 GB, free: 136 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.7803, allocations: 1.125 kB / 1.166 GB, free: 136 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001559/0.7805, allocations: 82.8 kB / 1.166 GB, free: 60 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.7805, allocations: 6.062 kB / 1.166 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.7805, allocations: 1.734 kB / 1.166 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.7805, allocations: 0 / 1.166 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/0.7806, allocations: 17.25 kB / 1.166 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.7806, allocations: 0 / 1.166 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.7807, allocations: 11.19 kB / 1.166 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.7807, allocations: 0 / 1.166 GB, free: 36 kB / 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 (2): * Single equations (assignments): 2 * 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 8.777e-05/0.7808, allocations: 116.2 kB / 1.166 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.7808, allocations: 4 kB / 1.166 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.781, allocations: 84.5 kB / 1.167 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.781, allocations: 0.75 kB / 1.167 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.781, allocations: 2.156 kB / 1.167 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.781, allocations: 0 / 1.167 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.7812, allocations: 159.3 kB / 1.167 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7812, allocations: 4.562 kB / 1.167 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.7813, allocations: 14.25 kB / 1.167 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.7813, allocations: 0 / 1.167 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.7813, allocations: 1.062 kB / 1.167 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7813, allocations: 1.312 kB / 1.167 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7813, allocations: 3.531 kB / 1.167 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.7815, allocations: 174.1 kB / 1.167 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.7816, allocations: 81.11 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.7816, allocations: 3.047 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.7817, allocations: 7.047 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.7817, allocations: 10.09 kB / 1.167 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.7817, allocations: 5.406 kB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.124e-05/0.7818, allocations: 84.64 kB / 1.167 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7818, allocations: 0 / 1.167 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001903/0.782, allocations: 4 kB / 1.167 GB, free: 15.26 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 (2): * Single equations (assignments): 2 * 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.0001255/0.7821, allocations: 96.44 kB / 1.167 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.7823, allocations: 50.36 kB / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7823, allocations: 0 / 1.167 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.852e-05/0.7824, allocations: 27.55 kB / 1.167 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.7827, allocations: 8.703 kB / 1.167 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.783, allocations: 114.7 kB / 1.167 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.7832, allocations: 0.6759 MB / 1.168 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.003e-05/0.7832, allocations: 0 / 1.168 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.7833, allocations: 12.33 kB / 1.168 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.7833, allocations: 0 / 1.168 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.001948/0.7852, allocations: 351.7 kB / 1.168 GB, free: 14.06 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1)