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.Or.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0112/0.0112, allocations: 106.6 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001162/0.001161, allocations: 186.4 kB / 15.94 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.088/2.088, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.303/2.303, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006694/0.0006693, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6715/0.6722, allocations: 98.72 MB / 0.6834 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2648/0.9371, allocations: 124.3 MB / 0.8049 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003561/0.9375, allocations: 71.95 kB / 0.8049 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004485/0.942, allocations: 0.8969 MB / 0.8058 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of FrontEnd: time 7.084e-06/0.942, allocations: 4 kB / 0.8058 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.942, allocations: 0 / 0.8058 GB, free: 0.8906 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.0007657/0.9428, allocations: 371.2 kB / 0.8062 GB, free: 492 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.9429, allocations: 8.031 kB / 0.8062 GB, free: 484 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.761e-05/0.943, allocations: 34.56 kB / 0.8062 GB, free: 440 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.943, allocations: 7.906 kB / 0.8062 GB, free: 432 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.9432, allocations: 171 kB / 0.8064 GB, free: 220 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.9432, allocations: 0 / 0.8064 GB, free: 220 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.9433, allocations: 4 kB / 0.8064 GB, free: 216 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.9435, allocations: 49.69 kB / 0.8064 GB, free: 160 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.9435, allocations: 0 / 0.8064 GB, free: 160 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.9435, allocations: 4 kB / 0.8064 GB, free: 156 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.9436, allocations: 0 / 0.8064 GB, free: 156 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.9437, allocations: 31.91 kB / 0.8065 GB, free: 124 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006572/0.9444, allocations: 280.8 kB / 0.8067 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.9446, allocations: 42.56 kB / 0.8068 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.9446, allocations: 7.938 kB / 0.8068 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.9448, allocations: 71.45 kB / 0.8068 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/0.9449, allocations: 0 / 0.8068 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003943/0.9453, allocations: 85.83 kB / 0.8069 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.9454, allocations: 59.34 kB / 0.807 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.9455, allocations: 113.1 kB / 0.8071 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.9456, allocations: 25.7 kB / 0.8071 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.9457, allocations: 96.12 kB / 0.8072 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.9457, allocations: 11.75 kB / 0.8072 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.9457, allocations: 4 kB / 0.8072 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.9459, allocations: 322.8 kB / 0.8075 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.946, allocations: 16 kB / 0.8075 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.551e-05/0.9461, allocations: 30.56 kB / 0.8076 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/0.9462, allocations: 16 kB / 0.8076 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.9462, allocations: 0 / 0.8076 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002596/0.9465, allocations: 77.53 kB / 0.8077 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.9465, allocations: 8 kB / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9466, allocations: 0 / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.9466, allocations: 0 / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.9467, allocations: 4 kB / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.9467, allocations: 7.938 kB / 0.8077 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.9469, allocations: 24 kB / 0.8077 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.947, allocations: 4 kB / 0.8077 GB, free: 14.71 MB / 0.6355 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,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked 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.000146/0.9471, allocations: 121.8 kB / 0.8078 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.9472, allocations: 3.906 kB / 0.8078 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.9472, allocations: 12.38 kB / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.9472, allocations: 0 / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9472, allocations: 0 / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.9473, allocations: 0 / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.9475, allocations: 181.6 kB / 0.808 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.9476, allocations: 4 kB / 0.808 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.719e-05/0.9476, allocations: 0 / 0.808 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.9476, allocations: 4 kB / 0.808 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.9476, allocations: 4 kB / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.9477, allocations: 0 / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.9477, allocations: 4 kB / 0.808 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.948, allocations: 104.9 kB / 0.8081 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.9481, allocations: 85.02 kB / 0.8082 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.9481, allocations: 4 kB / 0.8082 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.9483, allocations: 11.98 kB / 0.8082 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.9484, allocations: 11.98 kB / 0.8082 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.9484, allocations: 4 kB / 0.8082 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.634e-05/0.9485, allocations: 91.27 kB / 0.8083 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9485, allocations: 0 / 0.8083 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004642/0.949, allocations: 8.188 kB / 0.8083 GB, free: 13.97 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked 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.0007409/0.9498, allocations: 0.6521 MB / 0.809 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.95, allocations: 39.98 kB / 0.809 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.95, allocations: 0 / 0.809 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.9502, allocations: 24.17 kB / 0.809 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.9505, allocations: 20.11 kB / 0.809 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.952, allocations: 0.782 MB / 0.8098 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.9525, allocations: 0.6887 MB / 0.8105 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.079e-05/0.9525, allocations: 4 kB / 0.8105 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/0.9526, allocations: 23.42 kB / 0.8105 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of SimCode: time 9.31e-07/0.9526, allocations: 0 / 0.8105 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.9831, allocations: 1.588 MB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/0.9834, allocations: 187.3 kB / 0.8122 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.475, allocations: 3.938 kB / 0.8122 GB, free: 9.906 MB / 0.6355 GB