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.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.046/4.046, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.018e-05, allocations: 6.562 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2142, allocations: 98.73 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2964/0.5106, allocations: 123.8 MB / 0.7498 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.511, allocations: 67.97 kB / 0.7499 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004293/0.5153, allocations: 0.9695 MB / 0.7508 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5153, allocations: 0 / 0.7508 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.5154, allocations: 0 / 0.7508 GB, free: 12.1 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007239/0.5161, allocations: 370.5 kB / 0.7512 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.5162, allocations: 8.031 kB / 0.7512 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.5162, allocations: 11.86 kB / 0.7512 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.5164, allocations: 163 kB / 0.7514 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.5164, allocations: 4 kB / 0.7514 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.5164, allocations: 0 / 0.7514 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001215/0.5165, allocations: 20 kB / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.5167, allocations: 49.62 kB / 0.7514 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.5167, allocations: 4 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.5167, allocations: 0 / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5167, allocations: 0 / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006942/0.5174, allocations: 281.3 kB / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.5177, allocations: 38.5 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.5178, allocations: 12.92 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.5178, allocations: 8.062 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.5179, allocations: 34.55 kB / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.986e-06/0.5179, allocations: 0 / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002086/0.5181, allocations: 57.73 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.5182, allocations: 51.41 kB / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.5183, allocations: 93 kB / 0.752 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.5184, allocations: 29.7 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.5184, allocations: 88.12 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.5185, allocations: 11.81 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.5185, allocations: 0 / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5186, allocations: 314.8 kB / 0.7524 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.011e-05/0.5187, allocations: 8 kB / 0.7524 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.52e-05/0.5188, allocations: 19.94 kB / 0.7524 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.5188, allocations: 7.984 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.5188, allocations: 7.938 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001295/0.519, allocations: 41.7 kB / 0.7525 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.519, allocations: 7.984 kB / 0.7525 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.519, allocations: 4 kB / 0.7525 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.519, allocations: 0 / 0.7525 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.5192, allocations: 8 kB / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5192, allocations: 0 / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.5194, allocations: 27.92 kB / 0.7525 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.5195, allocations: 4 kB / 0.7525 GB, free: 10.15 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: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.887e-05/0.5196, allocations: 105 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001359/0.5197, allocations: 49.62 kB / 0.7527 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.5197, allocations: 7.906 kB / 0.7527 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.5199, allocations: 54.03 kB / 0.7527 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.5199, allocations: 7.953 kB / 0.7527 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.52, allocations: 3.984 kB / 0.7527 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.52, allocations: 0 / 0.7527 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.5202, allocations: 142.2 kB / 0.7529 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5202, allocations: 4 kB / 0.7529 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.5203, allocations: 8 kB / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.5203, allocations: 0 / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.5204, allocations: 7.984 kB / 0.7529 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.5204, allocations: 4 kB / 0.7529 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5204, allocations: 3.938 kB / 0.7529 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.5206, allocations: 143.5 kB / 0.753 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.5206, allocations: 85.02 kB / 0.7531 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.5207, allocations: 0 / 0.7531 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.5209, allocations: 19.98 kB / 0.7531 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.521, allocations: 8.312 kB / 0.7532 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.521, allocations: 3.984 kB / 0.7532 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.5211, allocations: 87.28 kB / 0.7532 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5211, allocations: 0 / 0.7532 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003068/0.5214, allocations: 7.953 kB / 0.7533 GB, free: 9.32 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005322/0.5219, allocations: 0.6889 MB / 0.7539 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.5221, allocations: 20 kB / 0.7539 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5221, allocations: 0 / 0.7539 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.457e-05/0.5222, allocations: 15.98 kB / 0.754 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.5225, allocations: 6.406 kB / 0.754 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.523, allocations: 93.59 kB / 0.7541 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.5233, allocations: 0.6923 MB / 0.7547 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.259e-05/0.5234, allocations: 0 / 0.7547 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.5234, allocations: 19.42 kB / 0.7547 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of SimCode: time 9.12e-07/0.5235, allocations: 3.938 kB / 0.7548 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03694/0.5604, allocations: 1.034 MB / 0.7558 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003229/0.5608, allocations: 154.6 kB / 0.7559 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/2.988, allocations: 0 / 0.7559 GB, free: 6.484 MB / 0.6355 GB