Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.853/3.853, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.666e-05/2.679e-05, allocations: 8 kB / 0.5325 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5371/0.5372, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.7267, allocations: 123.5 MB / 0.7496 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.727, allocations: 71.95 kB / 0.7497 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002083/0.7291, allocations: 0.6697 MB / 0.7503 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.56e-06/0.7291, allocations: 3.938 kB / 0.7503 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.7291, allocations: 4 kB / 0.7503 GB, free: 3.273 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.0003861/0.7295, allocations: 326.5 kB / 0.7506 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.7296, allocations: 12.02 kB / 0.7506 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.7296, allocations: 4 kB / 0.7506 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.7298, allocations: 175 kB / 0.7508 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.7298, allocations: 0 / 0.7508 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.7298, allocations: 4 kB / 0.7508 GB, free: 2.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.636e-05/0.7299, allocations: 12 kB / 0.7508 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.356e-05/0.73, allocations: 41.62 kB / 0.7509 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.73, allocations: 0 / 0.7509 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.114e-06/0.73, allocations: 0 / 0.7509 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-06/0.73, allocations: 0 / 0.7509 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.7304, allocations: 233.4 kB / 0.7511 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.018e-05/0.7305, allocations: 22.58 kB / 0.7511 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.7305, allocations: 8.922 kB / 0.7511 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.7305, allocations: 0 / 0.7511 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.7306, allocations: 34.56 kB / 0.7512 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.842e-06/0.7306, allocations: 3.938 kB / 0.7512 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001638/0.7308, allocations: 45.61 kB / 0.7512 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.7308, allocations: 55.39 kB / 0.7513 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.7309, allocations: 93 kB / 0.7513 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.7309, allocations: 25.7 kB / 0.7514 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.731, allocations: 80.14 kB / 0.7514 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.731, allocations: 3.906 kB / 0.7514 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.731, allocations: 0 / 0.7514 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.7312, allocations: 322.8 kB / 0.7518 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.7312, allocations: 4.031 kB / 0.7518 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.7313, allocations: 7.984 kB / 0.7518 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.779e-05/0.7313, allocations: 8 kB / 0.7518 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-06/0.7313, allocations: 0 / 0.7518 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.911e-05/0.7314, allocations: 41.64 kB / 0.7518 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.7314, allocations: 8 kB / 0.7518 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.825e-06/0.7315, allocations: 0 / 0.7518 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.7315, allocations: 192 / 0.7518 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.7316, allocations: 20.02 kB / 0.7518 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.7316, allocations: 0 / 0.7518 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.062e-05/0.7317, allocations: 11.98 kB / 0.7519 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.508e-06/0.7317, allocations: 0 / 0.7519 GB, free: 1.504 MB / 0.6198 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 () * 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.235e-05/0.7318, allocations: 106.1 kB / 0.752 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.7319, allocations: 3.984 kB / 0.752 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.732, allocations: 45.44 kB / 0.752 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.963e-06/0.732, allocations: 11.97 kB / 0.752 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.68e-06/0.732, allocations: 0 / 0.752 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.618e-06/0.732, allocations: 0 / 0.752 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.7322, allocations: 138.2 kB / 0.7521 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.403e-06/0.7322, allocations: 0 / 0.7521 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.299e-05/0.7323, allocations: 15.92 kB / 0.7522 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.064e-06/0.7323, allocations: 0 / 0.7522 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.854e-06/0.7324, allocations: 0 / 0.7522 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7324, allocations: 0 / 0.7522 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.072e-06/0.7324, allocations: 0 / 0.7522 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.7325, allocations: 147.4 kB / 0.7523 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.7326, allocations: 77.11 kB / 0.7524 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.7326, allocations: 0 / 0.7524 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.7328, allocations: 11.98 kB / 0.7524 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.7328, allocations: 0 / 0.7524 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.863e-06/0.7328, allocations: 4 kB / 0.7524 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.852e-05/0.7329, allocations: 87.31 kB / 0.7525 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.38e-07/0.7329, allocations: 0 / 0.7525 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002835/0.7332, allocations: 4 kB / 0.7525 GB, free: 0.7852 MB / 0.6198 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 () * 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.000144/0.7333, allocations: 106.5 kB / 0.7526 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.7e-05/0.7334, allocations: 15.94 kB / 0.7526 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.241e-06/0.7334, allocations: 0 / 0.7526 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.7335, allocations: 4 kB / 0.7526 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.7337, allocations: 12.12 kB / 0.7526 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002052/0.7339, allocations: 63.83 kB / 0.7527 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.7343, allocations: 0.6768 MB / 0.7533 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.81e-05/0.7343, allocations: 4 kB / 0.7533 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.7344, allocations: 7.438 kB / 0.7533 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of SimCode: time 1.448e-06/0.7344, allocations: 0 / 0.7533 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of Templates: time 0.002321/0.7367, allocations: 328.9 kB / 0.7537 GB, free: 15.52 MB / 0.6355 GB