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.01182/0.01183, allocations: 222.3 kB / 15.17 MB, free: 5.938 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.001188/0.001188, allocations: 176.1 kB / 16.06 MB, free: 5.836 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 3.878/3.878, allocations: 389.1 MB / 405.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.309/4.309, allocations: 472.3 MB / 0.9018 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005035, allocations: 20 kB / 1.008 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6093/0.6098, allocations: 98.7 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001393/0.6112, allocations: 1.079 MB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002926/0.6116, allocations: 125.4 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.6116, allocations: 1.344 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.6116, allocations: 0 / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.6117, allocations: 3.938 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.6118, allocations: 11.61 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.562e-05/0.6119, allocations: 18.7 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.634e-05/0.612, allocations: 5.266 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.612, allocations: 8.094 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.6121, allocations: 14.66 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.6121, allocations: 1.406 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.404e-06/0.6121, allocations: 0 / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.785e-06/0.6121, allocations: 6.188 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.6122, allocations: 28.86 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 5.093e-05/0.6122, allocations: 15.8 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6122, allocations: 0 / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.282e-06/0.6123, allocations: 0 / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.636e-06/0.6123, allocations: 0 / 1.105 GB, free: 212.1 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.0003378/0.6126, allocations: 337.6 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.6127, allocations: 7.156 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.6127, allocations: 2.188 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.46e-05/0.6128, allocations: 171.9 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.6128, allocations: 2.719 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.6128, allocations: 3.938 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.613, allocations: 62.44 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.388e-06/0.613, allocations: 0 / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.57e-06/0.6131, allocations: 0 / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-06/0.6131, allocations: 0 / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.6133, allocations: 44.62 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.6136, allocations: 244.9 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.6137, allocations: 48.98 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.6139, allocations: 31.47 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.6139, allocations: 3.438 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.6139, allocations: 30.56 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 3.42e-06/0.6139, allocations: 3.375 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000385/0.6143, allocations: 99.73 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.6144, allocations: 55.06 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.6144, allocations: 104.2 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.415e-06/0.6145, allocations: 25.7 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.6145, allocations: 94.17 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.6145, allocations: 7.375 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-06/0.6145, allocations: 0 / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.857e-05/0.6146, allocations: 311.8 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.6147, allocations: 23.36 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.74e-05/0.6148, allocations: 22.06 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.504e-05/0.6149, allocations: 24.95 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6149, allocations: 0 / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002257/0.6152, allocations: 75.08 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.6152, allocations: 5.062 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.044e-06/0.6152, allocations: 0 / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.6152, allocations: 0 / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.6153, allocations: 15.08 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.824e-06/0.6154, allocations: 5.5 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.24e-05/0.6154, allocations: 12.5 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.6154, allocations: 3 kB / 1.107 GB, free: 210.5 MB / 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 5.432e-05/0.6155, allocations: 113.2 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.6156, allocations: 5.656 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.6158, allocations: 78.89 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6158, allocations: 3.438 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.363e-06/0.6159, allocations: 5 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.189e-06/0.6159, allocations: 3.938 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.616, allocations: 158.7 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-06/0.616, allocations: 0 / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/0.6161, allocations: 10.58 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.6161, allocations: 0.9688 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.994e-06/0.6161, allocations: 4 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.178e-06/0.6162, allocations: 5.844 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.6162, allocations: 3.938 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.6164, allocations: 175.9 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.6165, allocations: 77.11 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.6165, allocations: 3.25 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.6166, allocations: 6.422 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.6166, allocations: 9.469 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-06/0.6167, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.705e-05/0.6167, allocations: 80.61 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.65e-07/0.6167, allocations: 2.906 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002922/0.617, allocations: 3.031 kB / 1.108 GB, free: 209.8 MB / 0.7292 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.0001098/0.6171, allocations: 106.5 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.6174, allocations: 51.41 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6174, allocations: 0 / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.6175, allocations: 26.45 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.6179, allocations: 8.688 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.6182, allocations: 111.1 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.6183, allocations: 0.6805 MB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.726e-05/0.6183, allocations: 0 / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.6184, allocations: 11.97 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.426e-06/0.6184, allocations: 3.938 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.002526/0.6209, allocations: 345.4 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB