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.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadModel(Buildings): time 4.007/4.007, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.547e-05, allocations: 4 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5172/0.5173, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2067/0.7241, allocations: 123.6 MB / 0.7496 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004143/0.7246, allocations: 75.78 kB / 0.7497 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.008294/0.7329, allocations: 1.154 MB / 0.7508 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.54e-06/0.733, allocations: 0 / 0.7508 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.733, allocations: 4 kB / 0.7508 GB, free: 2.73 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.001092/0.7341, allocations: 382.3 kB / 0.7512 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.235e-05/0.7342, allocations: 8.031 kB / 0.7512 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.966e-05/0.7343, allocations: 11.86 kB / 0.7512 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.7347, allocations: 175 kB / 0.7514 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.7347, allocations: 0 / 0.7514 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.7348, allocations: 7.938 kB / 0.7514 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002337/0.735, allocations: 27.98 kB / 0.7514 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.7353, allocations: 53.69 kB / 0.7515 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.7353, allocations: 0 / 0.7515 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.7354, allocations: 0 / 0.7515 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.903e-06/0.7354, allocations: 4 kB / 0.7515 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009398/0.7364, allocations: 289.3 kB / 0.7518 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.7366, allocations: 38.58 kB / 0.7518 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.7368, allocations: 24.86 kB / 0.7518 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.7368, allocations: 4 kB / 0.7518 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.7372, allocations: 83.31 kB / 0.7519 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 4.724e-06/0.7372, allocations: 0 / 0.7519 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004858/0.7377, allocations: 85.58 kB / 0.752 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/0.7378, allocations: 59.39 kB / 0.752 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.7381, allocations: 120.8 kB / 0.7521 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.7382, allocations: 29.69 kB / 0.7522 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.7383, allocations: 88.14 kB / 0.7523 GB, free: 1.082 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.7384, allocations: 23.81 kB / 0.7523 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/0.7384, allocations: 0 / 0.7523 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002802/0.7388, allocations: 326.8 kB / 0.7526 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.7389, allocations: 20 kB / 0.7526 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.7391, allocations: 39.44 kB / 0.7527 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.7392, allocations: 19.98 kB / 0.7527 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.13e-06/0.7393, allocations: 4 kB / 0.7527 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004444/0.7397, allocations: 89.47 kB / 0.7528 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.7398, allocations: 4 kB / 0.7528 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.7398, allocations: 4 kB / 0.7528 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.7399, allocations: 0 / 0.7528 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.74, allocations: 7.984 kB / 0.7528 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.845e-06/0.74, allocations: 4 kB / 0.7528 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.7404, allocations: 28.03 kB / 0.7528 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.7404, allocations: 0 / 0.7528 GB, free: 0.4961 MB / 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,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 0.0001922/0.7407, allocations: 120.8 kB / 0.7529 GB, free: 380 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.7407, allocations: 7.906 kB / 0.7529 GB, free: 372 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.988e-05/0.7408, allocations: 12.62 kB / 0.7529 GB, free: 360 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.274e-06/0.7408, allocations: 0 / 0.7529 GB, free: 360 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.849e-06/0.7409, allocations: 4 kB / 0.7529 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.059e-06/0.7409, allocations: 192 / 0.7529 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.7413, allocations: 170.1 kB / 0.7531 GB, free: 148 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.48e-06/0.7414, allocations: 7.938 kB / 0.7531 GB, free: 140 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.7414, allocations: 0 / 0.7531 GB, free: 140 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.889e-06/0.7414, allocations: 0 / 0.7531 GB, free: 140 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.7415, allocations: 4 kB / 0.7531 GB, free: 136 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.321e-06/0.7415, allocations: 4 kB / 0.7531 GB, free: 132 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.376e-06/0.7415, allocations: 0 / 0.7531 GB, free: 132 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.742, allocations: 117 kB / 0.7532 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.7422, allocations: 85.02 kB / 0.7533 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.7423, allocations: 4 kB / 0.7533 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.7426, allocations: 23.92 kB / 0.7533 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.7427, allocations: 7.984 kB / 0.7533 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.7428, allocations: 7.984 kB / 0.7534 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001587/0.7429, allocations: 95.28 kB / 0.7534 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.38e-06/0.743, allocations: 7.938 kB / 0.7535 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006959/0.7437, allocations: 12 kB / 0.7535 GB, free: 15.74 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.0002622/0.744, allocations: 107.3 kB / 0.7536 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.7444, allocations: 59.92 kB / 0.7536 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.014e-06/0.7444, allocations: 0 / 0.7536 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.7446, allocations: 28 kB / 0.7537 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005408/0.7452, allocations: 28.06 kB / 0.7537 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006553/0.7459, allocations: 112.2 kB / 0.7538 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006399/0.7465, allocations: 0.6967 MB / 0.7545 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.7467, allocations: 8.562 kB / 0.7545 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.41e-05/0.7468, allocations: 15.44 kB / 0.7545 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of SimCode: time 2.317e-06/0.7468, allocations: 0 / 0.7545 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of Templates: time 0.007897/0.7547, allocations: 0.995 MB / 0.7555 GB, free: 13.65 MB / 0.6355 GB