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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.205/4.205, allocations: 432.7 MB / 445.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.691e-05/3.707e-05, allocations: 6.25 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2052, allocations: 98.73 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.4031, allocations: 124.3 MB / 0.7561 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/0.4035, allocations: 79.88 kB / 0.7562 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00707/0.4106, allocations: 1.157 MB / 0.7573 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.598e-06/0.4107, allocations: 4 kB / 0.7573 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.4107, allocations: 0 / 0.7573 GB, free: 4.262 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.0009329/0.4117, allocations: 392.2 kB / 0.7577 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/0.4118, allocations: 12.03 kB / 0.7577 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.4118, allocations: 0 / 0.7577 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.4121, allocations: 178.9 kB / 0.7578 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.4122, allocations: 4 kB / 0.7578 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.4122, allocations: 8 kB / 0.7579 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.4125, allocations: 61.61 kB / 0.7579 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4125, allocations: 4 kB / 0.7579 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.4126, allocations: 0 / 0.7579 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.481e-06/0.4126, allocations: 0 / 0.7579 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.4128, allocations: 35.98 kB / 0.758 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008454/0.4137, allocations: 304.8 kB / 0.7582 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.4139, allocations: 42.58 kB / 0.7583 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.414, allocations: 29.02 kB / 0.7583 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.4141, allocations: 3.984 kB / 0.7583 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.4144, allocations: 87.31 kB / 0.7584 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 4.966e-06/0.4144, allocations: 0 / 0.7584 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004295/0.4149, allocations: 93.58 kB / 0.7585 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/0.415, allocations: 51.41 kB / 0.7585 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.4152, allocations: 128.8 kB / 0.7587 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.4153, allocations: 29.7 kB / 0.7587 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.4154, allocations: 92.12 kB / 0.7588 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.4154, allocations: 19.66 kB / 0.7588 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/0.4155, allocations: 4 kB / 0.7588 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.4157, allocations: 318.8 kB / 0.7591 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.4158, allocations: 20 kB / 0.7591 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.416, allocations: 49.19 kB / 0.7592 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.4161, allocations: 27.95 kB / 0.7592 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.53e-06/0.4162, allocations: 0 / 0.7592 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004012/0.4166, allocations: 97.53 kB / 0.7593 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.4166, allocations: 4 kB / 0.7593 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.4167, allocations: 7.938 kB / 0.7593 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.4167, allocations: 96 / 0.7593 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.4169, allocations: 15.98 kB / 0.7593 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.4169, allocations: 7.938 kB / 0.7593 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.4172, allocations: 27.98 kB / 0.7593 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.4173, allocations: 4 kB / 0.7594 GB, free: 1.922 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 0.0001548/0.4174, allocations: 116.9 kB / 0.7595 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.4175, allocations: 11.89 kB / 0.7595 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.301e-05/0.4176, allocations: 16.62 kB / 0.7595 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.779e-06/0.4176, allocations: 0 / 0.7595 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.759e-06/0.4177, allocations: 0 / 0.7595 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.4177, allocations: 7.953 kB / 0.7595 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.4181, allocations: 185.6 kB / 0.7597 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.895e-06/0.4181, allocations: 4 kB / 0.7597 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.4182, allocations: 0 / 0.7597 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.4182, allocations: 0 / 0.7597 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.4182, allocations: 0 / 0.7597 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.98e-06/0.4182, allocations: 4 kB / 0.7597 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4183, allocations: 4 kB / 0.7597 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.4187, allocations: 120.9 kB / 0.7598 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/0.4188, allocations: 85.02 kB / 0.7599 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.4189, allocations: 7.984 kB / 0.7599 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.4191, allocations: 24.11 kB / 0.7599 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.4192, allocations: 15.97 kB / 0.7599 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.4193, allocations: 11.94 kB / 0.7599 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001335/0.4194, allocations: 95.66 kB / 0.76 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.235e-06/0.4195, allocations: 0 / 0.76 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005362/0.42, allocations: 20 kB / 0.7601 GB, free: 1.105 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.0002322/0.4203, allocations: 111.1 kB / 0.7602 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003346/0.4206, allocations: 59.94 kB / 0.7602 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.297e-06/0.4207, allocations: 4.188 kB / 0.7602 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.4209, allocations: 35.94 kB / 0.7603 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.4213, allocations: 19.98 kB / 0.7603 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005538/0.4219, allocations: 121.1 kB / 0.7604 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.4224, allocations: 0.6965 MB / 0.7611 GB, free: 8 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.335e-05/0.4225, allocations: 8.547 kB / 0.7611 GB, free: 0 / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.796e-05/0.4226, allocations: 11.48 kB / 0.7611 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of SimCode: time 2.354e-06/0.4227, allocations: 0 / 0.7611 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of Templates: time 0.007204/0.4299, allocations: 1.046 MB / 0.7621 GB, free: 14.95 MB / 0.6511 GB