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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01279/0.01279, allocations: 223 kB / 15.17 MB, free: 5.922 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.001192/0.001192, allocations: 180.5 kB / 16.06 MB, free: 5.828 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.876/3.876, allocations: 389.1 MB / 405.9 MB, free: 68.52 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.414/4.414, allocations: 472.3 MB / 0.9018 GB, free: 13.36 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005391/0.0005393, allocations: 16 kB / 1.008 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6058/0.6064, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001383/0.6078, allocations: 1.073 MB / 1.105 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0003412/0.6082, allocations: 127 kB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.6082, allocations: 0 / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.6083, allocations: 4.5 kB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-05/0.6083, allocations: 3.938 kB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001151/0.6085, allocations: 4 kB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 5.874e-05/0.6085, allocations: 23.92 kB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.264e-05/0.6086, allocations: 3.984 kB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.6087, allocations: 7.984 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.37e-05/0.6087, allocations: 15.92 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.6088, allocations: 0 / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.6088, allocations: 0 / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.6088, allocations: 3.281 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.6088, allocations: 30.36 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 5.408e-05/0.6089, allocations: 15.97 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6089, allocations: 0 / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6089, allocations: 0 / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6089, allocations: 0 / 1.105 GB, free: 182.5 MB / 0.6823 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.0004051/0.6093, allocations: 336.5 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.6094, allocations: 8.031 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.6094, allocations: 35.22 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.6095, allocations: 12.8 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.187e-05/0.6096, allocations: 163 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.6096, allocations: 3.984 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.6096, allocations: 7.938 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.6099, allocations: 55.27 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.6099, allocations: 0 / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.6099, allocations: 0.9375 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.6099, allocations: 0 / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.6102, allocations: 46.73 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.6105, allocations: 248.5 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.6107, allocations: 46.53 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.6108, allocations: 28.91 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.6109, allocations: 3.469 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.6109, allocations: 31.94 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.6109, allocations: 0 / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005133/0.6114, allocations: 100.2 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.6115, allocations: 59.92 kB / 1.107 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.436e-05/0.6115, allocations: 100.6 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.6116, allocations: 25.7 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.6116, allocations: 88.08 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.6116, allocations: 11.89 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.6116, allocations: 0 / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.6117, allocations: 311.5 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.6118, allocations: 31.03 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.612, allocations: 15.98 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.6121, allocations: 27.36 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6122, allocations: 0 / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000311/0.6125, allocations: 76.44 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.6125, allocations: 4 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6125, allocations: 0.8438 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.6125, allocations: 0 / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.6127, allocations: 15.92 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.6127, allocations: 11.17 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.784e-05/0.6128, allocations: 4 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.6128, allocations: 0 / 1.107 GB, free: 180.4 MB / 0.6823 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 6.19e-05/0.6129, allocations: 113.8 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.6129, allocations: 7.891 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/0.6133, allocations: 81 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6133, allocations: 0.9375 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6133, allocations: 3.938 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6133, allocations: 4.953 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.6135, allocations: 154.3 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6135, allocations: 0.8438 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-05/0.6136, allocations: 17.55 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6136, allocations: 3.938 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.6136, allocations: 0 / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.6136, allocations: 3.781 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6136, allocations: 0 / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.614, allocations: 175.6 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.614, allocations: 81.11 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.614, allocations: 0 / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.6142, allocations: 7.984 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.6142, allocations: 7.438 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.6142, allocations: 0 / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.914e-05/0.6143, allocations: 88.25 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6143, allocations: 0.5625 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002796/0.6145, allocations: 4 kB / 1.108 GB, free: 179.6 MB / 0.6823 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.0005379/0.6151, allocations: 0.7171 MB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.6154, allocations: 47.95 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6154, allocations: 3.344 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.6156, allocations: 23.98 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.616, allocations: 5.859 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.6164, allocations: 141.3 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.6166, allocations: 0.677 MB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.091e-05/0.6166, allocations: 0 / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.6166, allocations: 11.38 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of SimCode: time 7.22e-07/0.6167, allocations: 3.406 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.6351, allocations: 1.016 MB / 1.111 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/0.6353, allocations: 196.3 kB / 1.111 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/2.888, allocations: 0 / 1.111 GB, free: 176.9 MB / 0.6823 GB