Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.568/1.568, allocations: 297.8 MB / 313.7 MB, free: 140 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.0009751/0.0009751, allocations: 188.4 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.298/1.298, allocations: 223.2 MB / 0.6626 GB, free: 4.344 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.0007424/0.0007423, allocations: 100.1 kB / 0.7808 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003548, allocations: 16 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6122/0.6125, allocations: 120.3 MB / 1.026 GB, free: 55.91 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.7862, allocations: 140.8 MB / 1.164 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.7864, allocations: 67.28 kB / 1.164 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001448/0.7879, allocations: 0.6729 MB / 1.165 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7879, allocations: 1.469 kB / 1.165 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.7879, allocations: 0 / 1.165 GB, free: 1.988 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.0002388/0.7881, allocations: 338.2 kB / 1.165 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.7882, allocations: 13.31 kB / 1.165 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.7882, allocations: 1.562 kB / 1.165 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.595e-05/0.7883, allocations: 176.9 kB / 1.165 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.7883, allocations: 3.891 kB / 1.165 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.7883, allocations: 384 / 1.165 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.7885, allocations: 53.39 kB / 1.165 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.7885, allocations: 0.9375 kB / 1.165 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.7885, allocations: 4.875 kB / 1.165 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.7885, allocations: 0.625 kB / 1.165 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.7886, allocations: 48.97 kB / 1.165 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.7889, allocations: 252.1 kB / 1.165 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.789, allocations: 45.36 kB / 1.165 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/0.7891, allocations: 31.52 kB / 1.165 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.7891, allocations: 1.594 kB / 1.165 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.137e-05/0.7891, allocations: 33.34 kB / 1.165 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7892, allocations: 0 / 1.165 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002948/0.7895, allocations: 94.89 kB / 1.166 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.761e-05/0.7895, allocations: 53.97 kB / 1.166 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.479e-05/0.7895, allocations: 103 kB / 1.166 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.7895, allocations: 25.7 kB / 1.166 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.7896, allocations: 87.02 kB / 1.166 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.7896, allocations: 7.891 kB / 1.166 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/0.7896, allocations: 0.6562 kB / 1.166 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 3.699e-05/0.7896, allocations: 316.9 kB / 1.166 GB, free: 224 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.7897, allocations: 21.81 kB / 1.166 GB, free: 208 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.294e-05/0.7898, allocations: 21.58 kB / 1.166 GB, free: 192 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.7899, allocations: 49.52 kB / 1.166 GB, free: 152 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7899, allocations: 0 / 1.166 GB, free: 152 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001573/0.7901, allocations: 87.5 kB / 1.166 GB, free: 72 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.7901, allocations: 4.938 kB / 1.166 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.7901, allocations: 0.9688 kB / 1.166 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.7901, allocations: 0 / 1.166 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.7902, allocations: 18.89 kB / 1.166 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.7902, allocations: 1.688 kB / 1.166 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.7903, allocations: 11.45 kB / 1.166 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.7903, allocations: 0 / 1.166 GB, free: 48 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 7.458e-05/0.7904, allocations: 115.7 kB / 1.166 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.7904, allocations: 0 / 1.166 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.7906, allocations: 90.38 kB / 1.167 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.7906, allocations: 1.312 kB / 1.167 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.7906, allocations: 0 / 1.167 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.7906, allocations: 0 / 1.167 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.7908, allocations: 158.8 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7908, allocations: 5.625 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.7909, allocations: 12.34 kB / 1.167 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.7909, allocations: 0.5625 kB / 1.167 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-06/0.7909, allocations: 0 / 1.167 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.7909, allocations: 1.281 kB / 1.167 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7909, allocations: 3.062 kB / 1.167 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.7911, allocations: 174.5 kB / 1.167 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.7912, allocations: 82.09 kB / 1.167 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.7912, allocations: 0.8906 kB / 1.167 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.7913, allocations: 8.234 kB / 1.167 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.7913, allocations: 10.8 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.7913, allocations: 0 / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.335e-05/0.7914, allocations: 81.94 kB / 1.167 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7914, allocations: 0.5 kB / 1.167 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001887/0.7916, allocations: 8.781 kB / 1.167 GB, free: 15.27 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.000102/0.7917, allocations: 96.91 kB / 1.167 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.7919, allocations: 50.73 kB / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.7919, allocations: 0 / 1.167 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.855e-05/0.792, allocations: 25.12 kB / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.7922, allocations: 13.39 kB / 1.167 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.7925, allocations: 110.4 kB / 1.167 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.7927, allocations: 0.6765 MB / 1.168 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.004e-05/0.7927, allocations: 0 / 1.168 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.7927, allocations: 11.44 kB / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.7927, allocations: 64 / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.001798/0.7946, allocations: 355.5 kB / 1.168 GB, free: 14.07 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)