Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01556/0.01555, allocations: 110.6 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00178/0.00178, allocations: 183.3 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.988/1.988, allocations: 194.6 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.625/2.625, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008437/0.000844, allocations: 12 kB / 0.587 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6299/0.6307, allocations: 98.7 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2045/0.8352, allocations: 124.3 MB / 0.8047 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.8355, allocations: 71.94 kB / 0.8048 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002146/0.8377, allocations: 0.6658 MB / 0.8055 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.492e-06/0.8377, allocations: 0 / 0.8055 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.8377, allocations: 4 kB / 0.8055 GB, free: 1.266 MB / 0.6198 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.0004081/0.8381, allocations: 339.2 kB / 0.8058 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.8382, allocations: 8.031 kB / 0.8058 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.8382, allocations: 7.984 kB / 0.8058 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.8384, allocations: 171 kB / 0.806 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.8384, allocations: 0 / 0.806 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-06/0.8384, allocations: 0 / 0.806 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.8387, allocations: 53.67 kB / 0.806 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.8387, allocations: 3.984 kB / 0.806 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.8387, allocations: 0 / 0.806 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-06/0.8387, allocations: 8 kB / 0.806 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.8389, allocations: 39.97 kB / 0.8061 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.8393, allocations: 260.8 kB / 0.8063 GB, free: 256 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.8395, allocations: 42.56 kB / 0.8064 GB, free: 204 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.8395, allocations: 0 / 0.8064 GB, free: 204 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.8396, allocations: 42.44 kB / 0.8064 GB, free: 152 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.729e-06/0.8396, allocations: 0 / 0.8064 GB, free: 152 kB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004261/0.84, allocations: 101.6 kB / 0.8065 GB, free: 44 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.8401, allocations: 51.41 kB / 0.8065 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.8402, allocations: 96.98 kB / 0.8066 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.8402, allocations: 29.83 kB / 0.8067 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.8403, allocations: 80.14 kB / 0.8067 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.8403, allocations: 7.906 kB / 0.8067 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-06/0.8404, allocations: 4 kB / 0.8068 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8405, allocations: 314.8 kB / 0.8071 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.8406, allocations: 19.97 kB / 0.8071 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.461e-05/0.8407, allocations: 27.98 kB / 0.8071 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.8409, allocations: 19.98 kB / 0.8071 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.8409, allocations: 0 / 0.8071 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002592/0.8411, allocations: 85.66 kB / 0.8072 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.8412, allocations: 4 kB / 0.8072 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.596e-06/0.8412, allocations: 0 / 0.8072 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.8412, allocations: 0 / 0.8072 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.8413, allocations: 11.98 kB / 0.8072 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.31e-06/0.8414, allocations: 4 kB / 0.8072 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.8414, allocations: 12.03 kB / 0.8072 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.315e-06/0.8415, allocations: 0 / 0.8072 GB, free: 15.25 MB / 0.6355 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 0.0001032/0.8416, allocations: 117.8 kB / 0.8073 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.8416, allocations: 0 / 0.8073 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.8419, allocations: 88.69 kB / 0.8074 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.688e-06/0.8419, allocations: 0 / 0.8074 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.939e-06/0.8419, allocations: 0 / 0.8074 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.554e-06/0.8419, allocations: 0 / 0.8074 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.8422, allocations: 157.6 kB / 0.8076 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-06/0.8422, allocations: 3.938 kB / 0.8076 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.333e-05/0.8423, allocations: 11.98 kB / 0.8076 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.586e-06/0.8423, allocations: 4 kB / 0.8076 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.8423, allocations: 4.031 kB / 0.8076 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.058e-06/0.8423, allocations: 0 / 0.8076 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.539e-06/0.8423, allocations: 0 / 0.8076 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.8427, allocations: 175.5 kB / 0.8078 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.8427, allocations: 81.05 kB / 0.8078 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.8428, allocations: 7.984 kB / 0.8079 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.8429, allocations: 4 kB / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.843, allocations: 3.984 kB / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.399e-06/0.843, allocations: 4 kB / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.925e-05/0.843, allocations: 79.28 kB / 0.8079 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.83e-07/0.8431, allocations: 7.938 kB / 0.8079 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002924/0.8434, allocations: 4.031 kB / 0.808 GB, free: 14.41 MB / 0.6355 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.0001582/0.8435, allocations: 107.2 kB / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.8438, allocations: 43.95 kB / 0.8081 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.395e-06/0.8438, allocations: 4.062 kB / 0.8081 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.8439, allocations: 19.98 kB / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.8442, allocations: 11.95 kB / 0.8081 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.8445, allocations: 112.6 kB / 0.8082 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.8449, allocations: 0.681 MB / 0.8089 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.8449, allocations: 336 / 0.8089 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.845, allocations: 7.438 kB / 0.8089 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of SimCode: time 3.645e-06/0.845, allocations: 4 kB / 0.8089 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.002544/0.8475, allocations: 356.5 kB / 0.8093 GB, free: 13.01 MB / 0.6355 GB