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.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadModel(Buildings): time 4.03/4.03, allocations: 433.3 MB / 440.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.487e-05/2.492e-05, allocations: 8 kB / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5155/0.5156, allocations: 98.7 MB / 0.6289 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2364/0.752, allocations: 123.6 MB / 0.7496 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.7523, allocations: 75.89 kB / 0.7497 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004221/0.7565, allocations: 1.158 MB / 0.7508 GB, free: 2.645 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.272e-06/0.7566, allocations: 3.938 kB / 0.7508 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.7566, allocations: 0 / 0.7508 GB, free: 2.641 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005762/0.7572, allocations: 390.3 kB / 0.7512 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.7572, allocations: 12.02 kB / 0.7512 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.7573, allocations: 7.953 kB / 0.7512 GB, free: 2.195 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.7575, allocations: 178.9 kB / 0.7514 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.7575, allocations: 7.938 kB / 0.7514 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.7575, allocations: 4 kB / 0.7514 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001094/0.7577, allocations: 27.98 kB / 0.7514 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.7578, allocations: 49.69 kB / 0.7515 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.74e-06/0.7578, allocations: 4 kB / 0.7515 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.7578, allocations: 0 / 0.7515 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-06/0.7579, allocations: 4 kB / 0.7515 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.7584, allocations: 281.3 kB / 0.7517 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.7585, allocations: 42.58 kB / 0.7518 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.7586, allocations: 24.86 kB / 0.7518 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.7586, allocations: 4 kB / 0.7518 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.7588, allocations: 87.47 kB / 0.7519 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.413e-06/0.7588, allocations: 0 / 0.7519 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002369/0.759, allocations: 81.62 kB / 0.752 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.7591, allocations: 63.38 kB / 0.752 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.7592, allocations: 112.9 kB / 0.7521 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.7593, allocations: 29.69 kB / 0.7522 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.7594, allocations: 96.08 kB / 0.7523 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.7594, allocations: 19.72 kB / 0.7523 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.961e-06/0.7594, allocations: 0 / 0.7523 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.7596, allocations: 326.8 kB / 0.7526 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.151e-05/0.7597, allocations: 16 kB / 0.7526 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.7598, allocations: 43.53 kB / 0.7527 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.293e-05/0.7598, allocations: 23.92 kB / 0.7527 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.621e-06/0.7598, allocations: 0 / 0.7527 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001981/0.76, allocations: 89.47 kB / 0.7528 GB, free: 452 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.7601, allocations: 8 kB / 0.7528 GB, free: 444 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.236e-06/0.7601, allocations: 0 / 0.7528 GB, free: 444 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.7601, allocations: 0 / 0.7528 GB, free: 444 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.7602, allocations: 11.98 kB / 0.7528 GB, free: 432 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.7602, allocations: 3.984 kB / 0.7528 GB, free: 428 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.7605, allocations: 28.03 kB / 0.7528 GB, free: 400 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.7606, allocations: 4 kB / 0.7528 GB, free: 396 kB / 0.6198 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,or1.y,booPul3.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.0001693/0.7607, allocations: 118 kB / 0.7529 GB, free: 272 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.7608, allocations: 11.89 kB / 0.7529 GB, free: 260 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.7609, allocations: 8.625 kB / 0.7529 GB, free: 252 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.083e-06/0.7609, allocations: 0 / 0.7529 GB, free: 252 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.411e-06/0.7609, allocations: 4 kB / 0.7529 GB, free: 248 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.475e-06/0.7609, allocations: 4 kB / 0.753 GB, free: 244 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.7612, allocations: 170.1 kB / 0.7531 GB, free: 36 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.56e-06/0.7612, allocations: 0 / 0.7531 GB, free: 36 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-05/0.7612, allocations: 0 / 0.7531 GB, free: 36 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.37e-06/0.7612, allocations: 4 kB / 0.7531 GB, free: 32 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.977e-06/0.7613, allocations: 0 / 0.7531 GB, free: 32 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.336e-06/0.7613, allocations: 0 / 0.7531 GB, free: 32 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.338e-06/0.7613, allocations: 0 / 0.7531 GB, free: 32 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.7615, allocations: 124.9 kB / 0.7532 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.7616, allocations: 81.02 kB / 0.7533 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.7616, allocations: 0 / 0.7533 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.7618, allocations: 27.97 kB / 0.7533 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.7619, allocations: 11.98 kB / 0.7534 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.7619, allocations: 3.984 kB / 0.7534 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.998e-05/0.762, allocations: 99.28 kB / 0.7535 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.37e-07/0.762, allocations: 3.938 kB / 0.7535 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002776/0.7623, allocations: 12 kB / 0.7535 GB, free: 15.64 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,or1.y,booPul3.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.00015/0.7625, allocations: 104.8 kB / 0.7536 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.7627, allocations: 59.92 kB / 0.7536 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7627, allocations: 0 / 0.7536 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.7628, allocations: 31.94 kB / 0.7537 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.7631, allocations: 28.12 kB / 0.7537 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.7634, allocations: 108.2 kB / 0.7538 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.7638, allocations: 0.7001 MB / 0.7545 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.933e-05/0.7639, allocations: 4.562 kB / 0.7545 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.7639, allocations: 15.44 kB / 0.7545 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of SimCode: time 1.478e-06/0.7639, allocations: 0 / 0.7545 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of Templates: time 0.004111/0.7681, allocations: 0.999 MB / 0.7555 GB, free: 13.55 MB / 0.6355 GB