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.And3.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.And3,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.944/3.944, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.599e-05/4.648e-05, allocations: 6.891 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2039, allocations: 98.73 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2501/0.454, allocations: 124.3 MB / 0.7561 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4543, allocations: 71.95 kB / 0.7562 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004798/0.4591, allocations: 1.161 MB / 0.7573 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4592, allocations: 0 / 0.7573 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.4592, allocations: 0 / 0.7573 GB, free: 4.219 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.0006797/0.4599, allocations: 386.3 kB / 0.7577 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4599, allocations: 8.031 kB / 0.7577 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.46, allocations: 38.5 kB / 0.7577 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.46, allocations: 11.86 kB / 0.7577 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.4602, allocations: 183 kB / 0.7579 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.4602, allocations: 0 / 0.7579 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.4603, allocations: 4 kB / 0.7579 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.4605, allocations: 57.69 kB / 0.7579 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4605, allocations: 7.984 kB / 0.7579 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4605, allocations: 3.938 kB / 0.758 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4605, allocations: 0 / 0.758 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.4606, allocations: 31.98 kB / 0.758 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008974/0.4616, allocations: 348.8 kB / 0.7583 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.4617, allocations: 50.61 kB / 0.7584 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.4618, allocations: 20.86 kB / 0.7584 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.4618, allocations: 4 kB / 0.7584 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.462, allocations: 83.22 kB / 0.7585 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.384e-06/0.4621, allocations: 0 / 0.7585 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002769/0.4623, allocations: 89.58 kB / 0.7586 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.4624, allocations: 63.39 kB / 0.7586 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.4626, allocations: 124.8 kB / 0.7587 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.4626, allocations: 33.69 kB / 0.7588 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.4627, allocations: 88.14 kB / 0.7588 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.4627, allocations: 27.8 kB / 0.7589 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.4627, allocations: 0 / 0.7589 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4629, allocations: 324.6 kB / 0.7592 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.463, allocations: 20 kB / 0.7592 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.4631, allocations: 51.38 kB / 0.7593 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.4632, allocations: 15.98 kB / 0.7593 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4632, allocations: 4 kB / 0.7593 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002284/0.4634, allocations: 97.47 kB / 0.7594 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4634, allocations: 4 kB / 0.7594 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4635, allocations: 4.094 kB / 0.7594 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.4635, allocations: 4 kB / 0.7594 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.29e-05/0.4636, allocations: 15.94 kB / 0.7594 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.4636, allocations: 0 / 0.7594 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.4638, allocations: 23.98 kB / 0.7594 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.4638, allocations: 8.125 kB / 0.7594 GB, free: 1.793 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,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * 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 0.0001006/0.464, allocations: 119.2 kB / 0.7595 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.464, allocations: 11.84 kB / 0.7595 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.464, allocations: 8.625 kB / 0.7596 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4641, allocations: 0 / 0.7596 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.4641, allocations: 7.953 kB / 0.7596 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4641, allocations: 0 / 0.7596 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.4643, allocations: 189.6 kB / 0.7597 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4643, allocations: 0 / 0.7597 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.4644, allocations: 8 kB / 0.7598 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4644, allocations: 0 / 0.7598 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.4644, allocations: 4 kB / 0.7598 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.4644, allocations: 7.984 kB / 0.7598 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4644, allocations: 0 / 0.7598 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.4647, allocations: 116.9 kB / 0.7599 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.4648, allocations: 89 kB / 0.76 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.4648, allocations: 3.938 kB / 0.76 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.465, allocations: 23.98 kB / 0.76 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.4651, allocations: 19.91 kB / 0.76 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.4651, allocations: 4 kB / 0.76 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.583e-05/0.4652, allocations: 99.27 kB / 0.7601 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.5e-07/0.4652, allocations: 0 / 0.7601 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002605/0.4655, allocations: 19.95 kB / 0.7601 GB, free: 0.9766 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.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,booPul3.pulseStart) * 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.0005799/0.4661, allocations: 0.6592 MB / 0.7608 GB, free: 296 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.4663, allocations: 64.06 kB / 0.7608 GB, free: 232 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4663, allocations: 0 / 0.7608 GB, free: 232 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.4664, allocations: 35.94 kB / 0.7609 GB, free: 196 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.4668, allocations: 24.16 kB / 0.7609 GB, free: 172 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.4673, allocations: 154.8 kB / 0.761 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.4676, allocations: 0.6887 MB / 0.7617 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.84e-05/0.4677, allocations: 16.53 kB / 0.7617 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.4678, allocations: 19.44 kB / 0.7617 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of SimCode: time 8.22e-07/0.4678, allocations: 0 / 0.7617 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.4878, allocations: 2.046 MB / 0.7637 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.488, allocations: 152.2 kB / 0.7639 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/2.807, allocations: 4 kB / 0.7639 GB, free: 13.04 MB / 0.6511 GB