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.LogicalSwitch.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.LogicalSwitch,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.986/3.986, allocations: 432.6 MB / 445.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.544e-05, allocations: 6.344 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2125, allocations: 98.73 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2226/0.4351, allocations: 124.3 MB / 0.7561 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.4354, allocations: 71.95 kB / 0.7561 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004852/0.4403, allocations: 1.153 MB / 0.7573 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4403, allocations: 0 / 0.7573 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.4404, allocations: 0 / 0.7573 GB, free: 4.227 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006709/0.441, allocations: 394.3 kB / 0.7577 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4411, allocations: 11.97 kB / 0.7577 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.4412, allocations: 38.56 kB / 0.7577 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.4412, allocations: 11.86 kB / 0.7577 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.4414, allocations: 171.1 kB / 0.7579 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.4414, allocations: 8 kB / 0.7579 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.4415, allocations: 4 kB / 0.7579 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.4416, allocations: 61.67 kB / 0.7579 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4417, allocations: 3.938 kB / 0.7579 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4417, allocations: 0 / 0.7579 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.4417, allocations: 0 / 0.7579 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.4418, allocations: 31.98 kB / 0.758 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.4424, allocations: 304.8 kB / 0.7583 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.4425, allocations: 46.61 kB / 0.7583 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.159e-05/0.4426, allocations: 24.86 kB / 0.7583 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.4427, allocations: 0 / 0.7583 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.4429, allocations: 103.4 kB / 0.7584 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.145e-06/0.4429, allocations: 0 / 0.7584 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002901/0.4432, allocations: 93.56 kB / 0.7585 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.4433, allocations: 51.41 kB / 0.7586 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.4434, allocations: 128.8 kB / 0.7587 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.4434, allocations: 25.7 kB / 0.7587 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.4435, allocations: 88.14 kB / 0.7588 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.4436, allocations: 23.66 kB / 0.7588 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.4436, allocations: 4 kB / 0.7588 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4437, allocations: 324.6 kB / 0.7591 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.717e-05/0.4438, allocations: 19.94 kB / 0.7592 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.49e-05/0.4439, allocations: 47.42 kB / 0.7592 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.733e-05/0.444, allocations: 20 kB / 0.7592 GB, free: 2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.444, allocations: 0 / 0.7592 GB, free: 2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002434/0.4442, allocations: 109.5 kB / 0.7593 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4443, allocations: 4 kB / 0.7593 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.4443, allocations: 4 kB / 0.7593 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4443, allocations: 0 / 0.7593 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.4444, allocations: 11.95 kB / 0.7593 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4444, allocations: 3.938 kB / 0.7594 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.4447, allocations: 28.25 kB / 0.7594 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.4447, allocations: 4 kB / 0.7594 GB, free: 1.832 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.812e-05/0.4448, allocations: 112.9 kB / 0.7595 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.4448, allocations: 11.91 kB / 0.7595 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/0.4449, allocations: 8.625 kB / 0.7595 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.4449, allocations: 0 / 0.7595 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.4449, allocations: 7.953 kB / 0.7595 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4449, allocations: 0 / 0.7595 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.4452, allocations: 185.6 kB / 0.7597 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4452, allocations: 8 kB / 0.7597 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.4452, allocations: 3.984 kB / 0.7597 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.4452, allocations: 0 / 0.7597 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.4452, allocations: 0 / 0.7597 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4453, allocations: 4 kB / 0.7597 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4453, allocations: 3.938 kB / 0.7597 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.4455, allocations: 117 kB / 0.7598 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.4456, allocations: 89.02 kB / 0.7599 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.4456, allocations: 7.938 kB / 0.7599 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.4458, allocations: 27.91 kB / 0.7599 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.4459, allocations: 15.97 kB / 0.76 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.446, allocations: 4 kB / 0.76 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.776e-05/0.446, allocations: 103.6 kB / 0.7601 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4461, allocations: 0 / 0.7601 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002617/0.4463, allocations: 19.95 kB / 0.7601 GB, free: 1.016 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005689/0.4469, allocations: 0.6609 MB / 0.7607 GB, free: 336 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.4471, allocations: 64.06 kB / 0.7608 GB, free: 272 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4472, allocations: 0 / 0.7608 GB, free: 272 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.4473, allocations: 40.11 kB / 0.7608 GB, free: 232 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.4476, allocations: 19.98 kB / 0.7608 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.4481, allocations: 154.8 kB / 0.761 GB, free: 20 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.4485, allocations: 0.6926 MB / 0.7617 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.282e-05/0.4485, allocations: 12.55 kB / 0.7617 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.4486, allocations: 19.44 kB / 0.7617 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of SimCode: time 8.41e-07/0.4486, allocations: 0 / 0.7617 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.4684, allocations: 2.049 MB / 0.7637 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.4687, allocations: 163.8 kB / 0.7639 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/2.746, allocations: 0 / 0.7639 GB, free: 13.08 MB / 0.6511 GB