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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.109/4.109, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.359e-05, allocations: 9.656 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2201, allocations: 98.74 MB / 0.6289 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2398/0.46, allocations: 123.5 MB / 0.7496 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.4603, allocations: 71.95 kB / 0.7496 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002456/0.4628, allocations: 0.6684 MB / 0.7503 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.01e-06/0.4629, allocations: 4 kB / 0.7503 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.4629, allocations: 7.938 kB / 0.7503 GB, free: 12.6 MB / 0.6355 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.0004787/0.4634, allocations: 330.5 kB / 0.7506 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.4634, allocations: 8.031 kB / 0.7506 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.4635, allocations: 11.89 kB / 0.7506 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.4636, allocations: 163.1 kB / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4637, allocations: 0 / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.4637, allocations: 4 kB / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.46e-05/0.4638, allocations: 12 kB / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.992e-05/0.4639, allocations: 29.7 kB / 0.7508 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4639, allocations: 0 / 0.7508 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4639, allocations: 0 / 0.7508 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4639, allocations: 3.984 kB / 0.7508 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.4643, allocations: 233.4 kB / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.966e-05/0.4644, allocations: 30.58 kB / 0.7511 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.4645, allocations: 4.859 kB / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.4645, allocations: 8.062 kB / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.4645, allocations: 30.56 kB / 0.7511 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.4645, allocations: 0 / 0.7511 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001703/0.4647, allocations: 37.61 kB / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.4648, allocations: 59.34 kB / 0.7512 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.4649, allocations: 97.02 kB / 0.7513 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.4649, allocations: 25.7 kB / 0.7513 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.465, allocations: 80.14 kB / 0.7514 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.465, allocations: 11.91 kB / 0.7514 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.465, allocations: 0 / 0.7514 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4652, allocations: 314.8 kB / 0.7517 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.4652, allocations: 7.938 kB / 0.7517 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.4653, allocations: 4 kB / 0.7517 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.319e-05/0.4653, allocations: 12.05 kB / 0.7518 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4653, allocations: 0 / 0.7518 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.693e-05/0.4654, allocations: 41.7 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4654, allocations: 4 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4655, allocations: 0 / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4655, allocations: 0 / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.4657, allocations: 11.98 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.4657, allocations: 0 / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/0.4658, allocations: 16.02 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.4658, allocations: 0 / 0.7518 GB, free: 10.84 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 () * 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 9.261e-05/0.4659, allocations: 108.9 kB / 0.7519 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001127/0.466, allocations: 45.69 kB / 0.752 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.4661, allocations: 0 / 0.752 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.4662, allocations: 49.34 kB / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4662, allocations: 0 / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4663, allocations: 0 / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4663, allocations: 8.016 kB / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.4665, allocations: 146.1 kB / 0.7522 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4665, allocations: 4 kB / 0.7522 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.4666, allocations: 11.94 kB / 0.7522 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.4666, allocations: 4 kB / 0.7522 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4667, allocations: 0 / 0.7522 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4667, allocations: 3.984 kB / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4667, allocations: 192 / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.4668, allocations: 139.5 kB / 0.7523 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.4669, allocations: 85.09 kB / 0.7524 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.4669, allocations: 0 / 0.7524 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.4671, allocations: 11.98 kB / 0.7524 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.4671, allocations: 0 / 0.7524 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.4671, allocations: 0 / 0.7524 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.807e-05/0.4672, allocations: 83.27 kB / 0.7525 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4672, allocations: 4.031 kB / 0.7525 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002753/0.4675, allocations: 4 kB / 0.7525 GB, free: 10.06 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 () * 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.0005286/0.468, allocations: 0.6734 MB / 0.7532 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.394e-05/0.4682, allocations: 15.94 kB / 0.7532 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.4682, allocations: 8.094 kB / 0.7532 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.059e-05/0.4682, allocations: 4 kB / 0.7532 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.4684, allocations: 0 / 0.7532 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.4689, allocations: 87.38 kB / 0.7533 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.4692, allocations: 0.6844 MB / 0.7539 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.269e-05/0.4693, allocations: 0 / 0.7539 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.4693, allocations: 11.44 kB / 0.7539 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.4693, allocations: 64 / 0.7539 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.5015, allocations: 0.6904 MB / 0.7546 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003603/0.5019, allocations: 142 kB / 0.7548 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/2.707, allocations: 4.031 kB / 0.7548 GB, free: 7.605 MB / 0.6355 GB