Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadModel(Buildings): time 3.955/3.955, allocations: 433.4 MB / 440.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.65e-05, allocations: 8 kB / 0.5325 GB, free: 1.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5553, allocations: 98.7 MB / 0.6289 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2068/0.7621, allocations: 123.6 MB / 0.7496 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003935/0.7626, allocations: 71.95 kB / 0.7497 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005294/0.7679, allocations: 0.8849 MB / 0.7505 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.192e-06/0.768, allocations: 0 / 0.7505 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.768, allocations: 4 kB / 0.7505 GB, free: 3 MB / 0.6198 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.0008042/0.7688, allocations: 354.5 kB / 0.7509 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.805e-05/0.7689, allocations: 16 kB / 0.7509 GB, free: 2.594 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.765e-05/0.769, allocations: 7.906 kB / 0.7509 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.7693, allocations: 179 kB / 0.7511 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.7693, allocations: 0 / 0.7511 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.7694, allocations: 4 kB / 0.7511 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001566/0.7696, allocations: 16 kB / 0.7511 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.7698, allocations: 45.62 kB / 0.7511 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.7698, allocations: 0 / 0.7511 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.7698, allocations: 4 kB / 0.7511 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.7699, allocations: 3.984 kB / 0.7511 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000943/0.7708, allocations: 281.4 kB / 0.7514 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.771, allocations: 42.52 kB / 0.7514 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.7711, allocations: 20.98 kB / 0.7515 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.7712, allocations: 0 / 0.7515 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.7715, allocations: 71.23 kB / 0.7515 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.853e-06/0.7715, allocations: 0 / 0.7515 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003421/0.7718, allocations: 65.75 kB / 0.7516 GB, free: 1.754 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.7719, allocations: 59.41 kB / 0.7517 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.7721, allocations: 113.2 kB / 0.7518 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.996e-05/0.7722, allocations: 25.7 kB / 0.7518 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.429e-05/0.7723, allocations: 88.14 kB / 0.7519 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.7724, allocations: 11.8 kB / 0.7519 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.15e-06/0.7724, allocations: 4 kB / 0.7519 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002461/0.7727, allocations: 314.8 kB / 0.7522 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.791e-05/0.7728, allocations: 12 kB / 0.7522 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.7729, allocations: 38.52 kB / 0.7522 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.136e-05/0.773, allocations: 16.23 kB / 0.7523 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.605e-06/0.773, allocations: 0 / 0.7523 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003043/0.7733, allocations: 73.55 kB / 0.7523 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.7734, allocations: 8 kB / 0.7523 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.209e-06/0.7734, allocations: 0 / 0.7523 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.7735, allocations: 3.984 kB / 0.7523 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.082e-05/0.7736, allocations: 8.062 kB / 0.7523 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.7736, allocations: 4 kB / 0.7523 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.7738, allocations: 11.98 kB / 0.7524 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.7739, allocations: 11.95 kB / 0.7524 GB, free: 0.9141 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001456/0.774, allocations: 103 kB / 0.7525 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.7741, allocations: 11.89 kB / 0.7525 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.7742, allocations: 8.625 kB / 0.7525 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.971e-06/0.7742, allocations: 8 kB / 0.7525 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.7742, allocations: 0 / 0.7525 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.206e-06/0.7743, allocations: 3.938 kB / 0.7525 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.7746, allocations: 154.2 kB / 0.7526 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.615e-06/0.7746, allocations: 0 / 0.7526 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.7747, allocations: 7.984 kB / 0.7527 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.669e-06/0.7747, allocations: 0 / 0.7527 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.7747, allocations: 0 / 0.7527 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.573e-06/0.7747, allocations: 3.938 kB / 0.7527 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.954e-06/0.7747, allocations: 0 / 0.7527 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.7751, allocations: 96.98 kB / 0.7527 GB, free: 476 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-05/0.7752, allocations: 77.11 kB / 0.7528 GB, free: 380 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.7753, allocations: 7.984 kB / 0.7528 GB, free: 372 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.7755, allocations: 11.98 kB / 0.7528 GB, free: 360 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.7756, allocations: 11.98 kB / 0.7529 GB, free: 348 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.7756, allocations: 0 / 0.7529 GB, free: 348 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001154/0.7758, allocations: 91.28 kB / 0.7529 GB, free: 256 kB / 0.6198 GB Notification: Performance of sort global known variables: time 1.116e-06/0.7758, allocations: 0 / 0.7529 GB, free: 256 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006009/0.7764, allocations: 12 kB / 0.7529 GB, free: 244 kB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002186/0.7766, allocations: 100.4 kB / 0.753 GB, free: 132 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.7769, allocations: 47.97 kB / 0.7531 GB, free: 84 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7769, allocations: 0 / 0.7531 GB, free: 84 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.7771, allocations: 19.94 kB / 0.7531 GB, free: 64 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.7775, allocations: 20.06 kB / 0.7531 GB, free: 44 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.778, allocations: 91.97 kB / 0.7532 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.7786, allocations: 0.6885 MB / 0.7539 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.005e-05/0.7787, allocations: 7.781 kB / 0.7539 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.7788, allocations: 15.38 kB / 0.7539 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of SimCode: time 2.004e-06/0.7788, allocations: 0 / 0.7539 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of Templates: time 0.005827/0.7847, allocations: 0.7286 MB / 0.7546 GB, free: 14.47 MB / 0.6355 GB