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.Or3.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.Or3,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.035/4.035, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.661e-05, allocations: 5.594 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2026, allocations: 98.73 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2233/0.4259, allocations: 124.3 MB / 0.7561 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.4262, allocations: 79.94 kB / 0.7562 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004845/0.4311, allocations: 1.149 MB / 0.7573 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.235e-06/0.4311, allocations: 0 / 0.7573 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.4311, allocations: 0 / 0.7573 GB, free: 4.207 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.000737/0.4319, allocations: 394.3 kB / 0.7577 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.432, allocations: 8.031 kB / 0.7577 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.11e-05/0.432, allocations: 34.56 kB / 0.7577 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.4321, allocations: 11.86 kB / 0.7577 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.4323, allocations: 179 kB / 0.7579 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4323, allocations: 0 / 0.7579 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.4323, allocations: 12 kB / 0.7579 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.4325, allocations: 57.62 kB / 0.758 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.4325, allocations: 4 kB / 0.758 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.4326, allocations: 4 kB / 0.758 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.4326, allocations: 0 / 0.758 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.4327, allocations: 35.92 kB / 0.758 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.4334, allocations: 304.8 kB / 0.7583 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.4336, allocations: 50.61 kB / 0.7583 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.4337, allocations: 24.86 kB / 0.7584 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.4337, allocations: 0 / 0.7584 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.4339, allocations: 91.42 kB / 0.7584 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.254e-06/0.434, allocations: 0 / 0.7584 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.000299/0.4343, allocations: 89.58 kB / 0.7585 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.4343, allocations: 59.39 kB / 0.7586 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.4345, allocations: 116.8 kB / 0.7587 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.4345, allocations: 37.69 kB / 0.7587 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.4346, allocations: 84.14 kB / 0.7588 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.4346, allocations: 23.66 kB / 0.7588 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.4347, allocations: 0 / 0.7588 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4348, allocations: 324.6 kB / 0.7591 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.4349, allocations: 24 kB / 0.7592 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-05/0.435, allocations: 47.38 kB / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.699e-05/0.4351, allocations: 20.08 kB / 0.7592 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4351, allocations: 3.938 kB / 0.7592 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000246/0.4354, allocations: 101.5 kB / 0.7593 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4354, allocations: 8 kB / 0.7593 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4354, allocations: 0 / 0.7593 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4355, allocations: 3.984 kB / 0.7593 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/0.4356, allocations: 11.95 kB / 0.7594 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4356, allocations: 0 / 0.7594 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.4358, allocations: 23.98 kB / 0.7594 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.4358, allocations: 4 kB / 0.7594 GB, free: 1.824 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,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.0001012/0.4359, allocations: 120.9 kB / 0.7595 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.436, allocations: 7.906 kB / 0.7595 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.441e-05/0.436, allocations: 8.625 kB / 0.7595 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.4361, allocations: 4 kB / 0.7595 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.4361, allocations: 3.953 kB / 0.7595 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4361, allocations: 0 / 0.7595 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.4363, allocations: 193.6 kB / 0.7597 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4364, allocations: 0 / 0.7597 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.4364, allocations: 0 / 0.7597 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4364, allocations: 4 kB / 0.7597 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4364, allocations: 4 kB / 0.7597 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.4364, allocations: 3.984 kB / 0.7597 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4364, allocations: 0 / 0.7597 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.4367, allocations: 116.9 kB / 0.7598 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.4368, allocations: 89 kB / 0.7599 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.4368, allocations: 0 / 0.7599 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.437, allocations: 31.92 kB / 0.7599 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.4371, allocations: 19.89 kB / 0.76 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.4371, allocations: 4 kB / 0.76 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.2e-05/0.4372, allocations: 99.45 kB / 0.7601 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4372, allocations: 0 / 0.7601 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002689/0.4375, allocations: 27.89 kB / 0.7601 GB, free: 1 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.0006029/0.4381, allocations: 0.6553 MB / 0.7607 GB, free: 324 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.4384, allocations: 59.94 kB / 0.7608 GB, free: 264 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4384, allocations: 0 / 0.7608 GB, free: 264 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.4385, allocations: 35.94 kB / 0.7608 GB, free: 228 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.4389, allocations: 24.16 kB / 0.7608 GB, free: 204 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005407/0.4394, allocations: 156.7 kB / 0.761 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.4397, allocations: 0.6926 MB / 0.7617 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.233e-05/0.4398, allocations: 8.547 kB / 0.7617 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.773e-05/0.4399, allocations: 23.44 kB / 0.7617 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of SimCode: time 9.52e-07/0.4399, allocations: 4 kB / 0.7617 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.4669, allocations: 2.042 MB / 0.7637 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002957/0.4673, allocations: 155.6 kB / 0.7638 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.669, allocations: 0 / 0.7638 GB, free: 13.07 MB / 0.6511 GB