Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.0102/0.01021, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001162/0.001162, allocations: 173.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.188/2.188, allocations: 205.5 MB / 222.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.651/2.651, allocations: 252.8 MB / 0.511 GB, free: 8.32 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006837/0.0006841, allocations: 20.19 kB / 0.6244 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2771, allocations: 106.2 MB / 0.7281 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001972/0.2792, allocations: 1.088 MB / 0.7291 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003865/0.2796, allocations: 122.2 kB / 0.7293 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.2796, allocations: 0 / 0.7293 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.2797, allocations: 3.984 kB / 0.7293 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.149e-05/0.2798, allocations: 0 / 0.7293 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.2799, allocations: 11.94 kB / 0.7293 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.924e-05/0.28, allocations: 15.97 kB / 0.7293 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.2801, allocations: 4 kB / 0.7293 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.2802, allocations: 0 / 0.7293 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.2802, allocations: 23.91 kB / 0.7293 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.2803, allocations: 0 / 0.7293 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.2803, allocations: 4 kB / 0.7293 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.2803, allocations: 0 / 0.7293 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.2803, allocations: 25.7 kB / 0.7293 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 6.408e-05/0.2804, allocations: 19.91 kB / 0.7294 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2804, allocations: 0 / 0.7294 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2804, allocations: 0 / 0.7294 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2804, allocations: 0 / 0.7294 GB, free: 6.754 MB / 0.5573 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.0006022/0.2811, allocations: 337.8 kB / 0.7297 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.2811, allocations: 8.031 kB / 0.7297 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.2812, allocations: 34.56 kB / 0.7297 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.2812, allocations: 3.984 kB / 0.7297 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.2814, allocations: 174.8 kB / 0.7299 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.2814, allocations: 4 kB / 0.7299 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.2814, allocations: 4 kB / 0.7299 GB, free: 6.105 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.2817, allocations: 57.67 kB / 0.73 GB, free: 6.043 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2817, allocations: 0 / 0.73 GB, free: 6.043 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.2817, allocations: 0 / 0.73 GB, free: 6.043 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2817, allocations: 3.938 kB / 0.73 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.282, allocations: 39.97 kB / 0.73 GB, free: 6 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.2825, allocations: 252.9 kB / 0.7302 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.2827, allocations: 42.5 kB / 0.7303 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.2827, allocations: 4.062 kB / 0.7303 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.2828, allocations: 34.56 kB / 0.7303 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.953e-06/0.2828, allocations: 0 / 0.7303 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0005889/0.2834, allocations: 97.73 kB / 0.7304 GB, free: 5.504 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.2835, allocations: 55.34 kB / 0.7305 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.2836, allocations: 105.8 kB / 0.7306 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2836, allocations: 25.7 kB / 0.7306 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.2837, allocations: 84.14 kB / 0.7307 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.2837, allocations: 3.906 kB / 0.7307 GB, free: 5.203 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.2837, allocations: 0 / 0.7307 GB, free: 5.203 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2839, allocations: 314.8 kB / 0.731 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.284, allocations: 28 kB / 0.731 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.2842, allocations: 19.98 kB / 0.731 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.2844, allocations: 24.05 kB / 0.731 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2844, allocations: 0 / 0.731 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003683/0.2847, allocations: 73.66 kB / 0.7311 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.2848, allocations: 8 kB / 0.7311 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2848, allocations: 0 / 0.7311 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.2848, allocations: 3.938 kB / 0.7311 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.285, allocations: 19.95 kB / 0.7311 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.285, allocations: 0 / 0.7311 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/0.2851, allocations: 15.95 kB / 0.7312 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.2851, allocations: 0 / 0.7312 GB, free: 4.691 MB / 0.5573 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.0001004/0.2852, allocations: 113.8 kB / 0.7313 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.2853, allocations: 7.906 kB / 0.7313 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.2857, allocations: 80.73 kB / 0.7314 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2857, allocations: 192 / 0.7314 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2857, allocations: 4 kB / 0.7314 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2857, allocations: 3.984 kB / 0.7314 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.286, allocations: 157.6 kB / 0.7315 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.286, allocations: 8.016 kB / 0.7315 GB, free: 4.258 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.951e-05/0.2861, allocations: 8 kB / 0.7315 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.2861, allocations: 0 / 0.7315 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2861, allocations: 0 / 0.7315 GB, free: 4.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2861, allocations: 3.938 kB / 0.7315 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2861, allocations: 0 / 0.7315 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.2866, allocations: 179.5 kB / 0.7317 GB, free: 4.055 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.2866, allocations: 81.09 kB / 0.7318 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.2867, allocations: 3.938 kB / 0.7318 GB, free: 3.953 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.2868, allocations: 8 kB / 0.7318 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.2869, allocations: 12.02 kB / 0.7318 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.2869, allocations: 0 / 0.7318 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.92e-05/0.2869, allocations: 79.28 kB / 0.7319 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/0.287, allocations: 0 / 0.7319 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002759/0.2872, allocations: 4 kB / 0.7319 GB, free: 3.852 MB / 0.5573 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.0007881/0.288, allocations: 0.7163 MB / 0.7326 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.2884, allocations: 47.98 kB / 0.7326 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2884, allocations: 0 / 0.7326 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.2886, allocations: 27.98 kB / 0.7327 GB, free: 3.031 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.2889, allocations: 0 / 0.7327 GB, free: 3.031 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.2894, allocations: 154.2 kB / 0.7328 GB, free: 2.844 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.2897, allocations: 0.677 MB / 0.7335 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.698e-05/0.2898, allocations: 4 kB / 0.7335 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.2898, allocations: 7.438 kB / 0.7335 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of SimCode: time 7.61e-07/0.2898, allocations: 0 / 0.7335 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.3095, allocations: 1.003 MB / 0.7345 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003245/0.3099, allocations: 185.1 kB / 0.7346 GB, free: 1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/2.768, allocations: 0 / 0.7346 GB, free: 1 MB / 0.5573 GB