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.Switch.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.Logical.Validation.Switch,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.102/4.102, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.407e-05, allocations: 5.703 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2036, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.4269, allocations: 124.5 MB / 0.7563 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.4272, allocations: 67.97 kB / 0.7564 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004628/0.4318, allocations: 1.099 MB / 0.7575 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4319, allocations: 0 / 0.7575 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.4319, allocations: 4 kB / 0.7575 GB, free: 4.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007128/0.4326, allocations: 390.4 kB / 0.7579 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.4327, allocations: 12.03 kB / 0.7579 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.4328, allocations: 38.55 kB / 0.7579 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.4328, allocations: 7.906 kB / 0.7579 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.433, allocations: 174.9 kB / 0.7581 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.433, allocations: 8 kB / 0.7581 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.433, allocations: 0 / 0.7581 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.4332, allocations: 53.69 kB / 0.7581 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4332, allocations: 0 / 0.7581 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.4332, allocations: 4 kB / 0.7581 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.4332, allocations: 0 / 0.7581 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.4334, allocations: 31.92 kB / 0.7582 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.4339, allocations: 292.8 kB / 0.7584 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.434, allocations: 38.58 kB / 0.7585 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.406e-05/0.4341, allocations: 24.98 kB / 0.7585 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.4341, allocations: 3.938 kB / 0.7585 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.4343, allocations: 67.47 kB / 0.7586 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.4343, allocations: 0 / 0.7586 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002498/0.4346, allocations: 77.55 kB / 0.7587 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.4346, allocations: 51.41 kB / 0.7587 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.4348, allocations: 120.9 kB / 0.7588 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.4348, allocations: 25.7 kB / 0.7588 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.4349, allocations: 88.05 kB / 0.7589 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.4349, allocations: 23.73 kB / 0.7589 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.4349, allocations: 4 kB / 0.759 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4351, allocations: 322.8 kB / 0.7593 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-05/0.4351, allocations: 12 kB / 0.7593 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.707e-05/0.4352, allocations: 33.7 kB / 0.7593 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.259e-05/0.4353, allocations: 8 kB / 0.7593 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4353, allocations: 4 kB / 0.7593 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001869/0.4355, allocations: 69.62 kB / 0.7594 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4355, allocations: 12.03 kB / 0.7594 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4355, allocations: 0 / 0.7594 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4356, allocations: 3.938 kB / 0.7594 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.4358, allocations: 19.98 kB / 0.7594 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.4358, allocations: 7.953 kB / 0.7594 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.4361, allocations: 35.88 kB / 0.7595 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4361, allocations: 0 / 0.7595 GB, free: 1.766 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.147e-05/0.4362, allocations: 106.9 kB / 0.7596 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.4362, allocations: 4 kB / 0.7596 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.4362, allocations: 12.61 kB / 0.7596 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4363, allocations: 0 / 0.7596 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4363, allocations: 0 / 0.7596 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.4363, allocations: 3.953 kB / 0.7596 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.4365, allocations: 181.6 kB / 0.7598 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4365, allocations: 4 kB / 0.7598 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.4367, allocations: 27.91 kB / 0.7598 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4367, allocations: 0 / 0.7598 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.4368, allocations: 4.109 kB / 0.7598 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4368, allocations: 4 kB / 0.7598 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4368, allocations: 0 / 0.7598 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.437, allocations: 105 kB / 0.7599 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.4371, allocations: 85.02 kB / 0.76 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.4371, allocations: 0 / 0.76 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.4373, allocations: 31.91 kB / 0.76 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.4374, allocations: 7.984 kB / 0.76 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.4374, allocations: 0 / 0.76 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.669e-05/0.4375, allocations: 99.27 kB / 0.7601 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4375, allocations: 0 / 0.7601 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002509/0.4378, allocations: 16 kB / 0.7601 GB, free: 0.9883 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005218/0.4383, allocations: 0.6357 MB / 0.7607 GB, free: 332 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.4385, allocations: 47.94 kB / 0.7608 GB, free: 284 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4386, allocations: 0 / 0.7608 GB, free: 284 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.638e-05/0.4387, allocations: 24 kB / 0.7608 GB, free: 260 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.4389, allocations: 14.48 kB / 0.7608 GB, free: 248 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.4394, allocations: 134.2 kB / 0.7609 GB, free: 76 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.4398, allocations: 0.6966 MB / 0.7616 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.203e-05/0.4398, allocations: 4.188 kB / 0.7616 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.4399, allocations: 15.44 kB / 0.7616 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/0.4399, allocations: 0 / 0.7616 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.4639, allocations: 1.734 MB / 0.7633 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002994/0.4643, allocations: 156.4 kB / 0.7635 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/2.629, allocations: 0 / 0.7635 GB, free: 13.45 MB / 0.6511 GB