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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 3.994/3.994, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 6.432e-05/6.477e-05, allocations: 6.078 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2483, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2429/0.4913, allocations: 124.2 MB / 0.756 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.4916, allocations: 63.97 kB / 0.7561 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002502/0.4941, allocations: 0.6726 MB / 0.7568 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4942, allocations: 4 kB / 0.7568 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.4942, allocations: 0 / 0.7568 GB, free: 4.762 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.000457/0.4946, allocations: 330.5 kB / 0.7571 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.4947, allocations: 12.03 kB / 0.7571 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.4948, allocations: 30.56 kB / 0.7571 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.4948, allocations: 4 kB / 0.7571 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.495, allocations: 175 kB / 0.7573 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.495, allocations: 8 kB / 0.7573 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.495, allocations: 3.938 kB / 0.7573 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.4951, allocations: 33.7 kB / 0.7573 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4952, allocations: 0 / 0.7573 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.4952, allocations: 0 / 0.7573 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.4952, allocations: 4 kB / 0.7573 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.388e-05/0.4953, allocations: 11.98 kB / 0.7573 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.4956, allocations: 248.9 kB / 0.7576 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.631e-05/0.4957, allocations: 26.52 kB / 0.7576 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.4958, allocations: 12.92 kB / 0.7576 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.4958, allocations: 0 / 0.7576 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.4958, allocations: 30.56 kB / 0.7577 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.4959, allocations: 0 / 0.7577 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001669/0.496, allocations: 45.59 kB / 0.7577 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.4961, allocations: 63.39 kB / 0.7578 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/0.4962, allocations: 93 kB / 0.7578 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.4962, allocations: 25.7 kB / 0.7579 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.4963, allocations: 84.08 kB / 0.758 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.4963, allocations: 3.906 kB / 0.758 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.4963, allocations: 0 / 0.758 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4965, allocations: 326.8 kB / 0.7583 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/0.4965, allocations: 0 / 0.7583 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.4965, allocations: 12 kB / 0.7583 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.4966, allocations: 4 kB / 0.7583 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.4966, allocations: 0 / 0.7583 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001016/0.4967, allocations: 41.7 kB / 0.7583 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4967, allocations: 4 kB / 0.7583 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4967, allocations: 0 / 0.7583 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4968, allocations: 0 / 0.7583 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.4969, allocations: 11.98 kB / 0.7583 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4969, allocations: 4.094 kB / 0.7583 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.082e-05/0.497, allocations: 15.94 kB / 0.7584 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4971, allocations: 0 / 0.7584 GB, free: 2.91 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 7.122e-05/0.4971, allocations: 104.9 kB / 0.7585 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.4972, allocations: 7.938 kB / 0.7585 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.4973, allocations: 48.81 kB / 0.7585 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4973, allocations: 0 / 0.7585 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4974, allocations: 4.031 kB / 0.7585 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4974, allocations: 0 / 0.7585 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.4976, allocations: 165.6 kB / 0.7587 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4976, allocations: 0 / 0.7587 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.4977, allocations: 8 kB / 0.7587 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4977, allocations: 0 / 0.7587 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.4977, allocations: 0 / 0.7587 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4978, allocations: 0 / 0.7587 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.4978, allocations: 3.984 kB / 0.7587 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.4979, allocations: 147.5 kB / 0.7588 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.498, allocations: 85.09 kB / 0.7589 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.498, allocations: 0 / 0.7589 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.4982, allocations: 11.98 kB / 0.7589 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.4982, allocations: 4 kB / 0.7589 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.4982, allocations: 4 kB / 0.7589 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.013e-05/0.4983, allocations: 79.3 kB / 0.759 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4983, allocations: 4 kB / 0.759 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002604/0.4986, allocations: 7.938 kB / 0.759 GB, free: 2.145 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.0004947/0.4991, allocations: 0.6812 MB / 0.7597 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.4992, allocations: 19.97 kB / 0.7597 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4992, allocations: 0 / 0.7597 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/0.4993, allocations: 8 kB / 0.7597 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.4995, allocations: 5.875 kB / 0.7597 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.5, allocations: 84.36 kB / 0.7598 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.5003, allocations: 0.6809 MB / 0.7605 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.098e-05/0.5004, allocations: 0 / 0.7605 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.5004, allocations: 15.5 kB / 0.7605 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of SimCode: time 1.303e-06/0.5005, allocations: 0 / 0.7605 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.5232, allocations: 0.995 MB / 0.7614 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/0.5235, allocations: 168.5 kB / 0.7616 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/2.921, allocations: 0 / 0.7616 GB, free: 15.4 MB / 0.6511 GB