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.And3.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.And3,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.0108/0.0108, allocations: 106.2 kB / 15.05 MB, free: 5.984 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.001153/0.001153, allocations: 183.8 kB / 15.94 MB, free: 5.941 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 1.987/1.987, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.22/2.22, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000717/0.0007172, allocations: 12 kB / 0.5871 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7113/0.7121, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2215/0.9337, allocations: 124.4 MB / 0.8049 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.934, allocations: 67.95 kB / 0.805 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004867/0.9389, allocations: 1.151 MB / 0.8061 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.346e-06/0.939, allocations: 0 / 0.8061 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.939, allocations: 4 kB / 0.8061 GB, free: 0.6953 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.0007304/0.9397, allocations: 407 kB / 0.8065 GB, free: 256 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.9398, allocations: 12.03 kB / 0.8065 GB, free: 244 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.9398, allocations: 34.5 kB / 0.8065 GB, free: 200 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.9399, allocations: 7.953 kB / 0.8065 GB, free: 192 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.9401, allocations: 175 kB / 0.8067 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.9401, allocations: 4 kB / 0.8067 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.9401, allocations: 8 kB / 0.8067 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.9403, allocations: 61.67 kB / 0.8068 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.9403, allocations: 0 / 0.8068 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.9404, allocations: 0 / 0.8068 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.9404, allocations: 7.875 kB / 0.8068 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.9405, allocations: 31.98 kB / 0.8068 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008287/0.9413, allocations: 348.8 kB / 0.8071 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.9415, allocations: 50.59 kB / 0.8072 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.9415, allocations: 3.984 kB / 0.8072 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.9418, allocations: 95.22 kB / 0.8073 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.705e-06/0.9418, allocations: 0 / 0.8073 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003594/0.9422, allocations: 109.6 kB / 0.8074 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.9422, allocations: 55.41 kB / 0.8074 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.9424, allocations: 124.9 kB / 0.8075 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.9424, allocations: 25.7 kB / 0.8076 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.9425, allocations: 92.14 kB / 0.8077 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.9425, allocations: 35.78 kB / 0.8077 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.9425, allocations: 0 / 0.8077 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.9427, allocations: 318.8 kB / 0.808 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-05/0.9427, allocations: 23.98 kB / 0.808 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.594e-05/0.9428, allocations: 47.42 kB / 0.8081 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.905e-05/0.9429, allocations: 20 kB / 0.8081 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.9429, allocations: 4 kB / 0.8081 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002299/0.9432, allocations: 97.47 kB / 0.8082 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.9432, allocations: 7.984 kB / 0.8082 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.9432, allocations: 0 / 0.8082 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.9433, allocations: 4 kB / 0.8082 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.9434, allocations: 4 kB / 0.8082 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.9434, allocations: 11.89 kB / 0.8082 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.9436, allocations: 28.53 kB / 0.8082 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.9436, allocations: 4 kB / 0.8082 GB, free: 14.25 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,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.0001158/0.9438, allocations: 121.3 kB / 0.8084 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.9438, allocations: 7.906 kB / 0.8084 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.96e-05/0.9438, allocations: 12.38 kB / 0.8084 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.9439, allocations: 3.938 kB / 0.8084 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.9439, allocations: 4 kB / 0.8084 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.9439, allocations: 11.95 kB / 0.8084 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.9441, allocations: 189.6 kB / 0.8086 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9441, allocations: 0 / 0.8086 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.9442, allocations: 3.984 kB / 0.8086 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.9442, allocations: 0 / 0.8086 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.9442, allocations: 0 / 0.8086 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.9442, allocations: 7.938 kB / 0.8086 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.9442, allocations: 0 / 0.8086 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.9445, allocations: 124.9 kB / 0.8087 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.9446, allocations: 85.02 kB / 0.8088 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.9446, allocations: 4 kB / 0.8088 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.9448, allocations: 23.97 kB / 0.8088 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.9449, allocations: 11.98 kB / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.9449, allocations: 4 kB / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.778e-05/0.945, allocations: 95.7 kB / 0.8089 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.945, allocations: 4 kB / 0.8089 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002726/0.9453, allocations: 23.98 kB / 0.8089 GB, free: 13.43 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.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.0005565/0.9459, allocations: 0.659 MB / 0.8096 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.9461, allocations: 60.17 kB / 0.8096 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.9461, allocations: 4.062 kB / 0.8096 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.9462, allocations: 35.92 kB / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.9466, allocations: 24.25 kB / 0.8097 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.9479, allocations: 1.044 MB / 0.8107 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.9482, allocations: 0.6926 MB / 0.8114 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.105e-05/0.9483, allocations: 8.547 kB / 0.8114 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.9484, allocations: 19.44 kB / 0.8114 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.9484, allocations: 0 / 0.8114 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.9751, allocations: 2.039 MB / 0.8134 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/0.9755, allocations: 186.4 kB / 0.8136 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.395, allocations: 0 / 0.8136 GB, free: 8.609 MB / 0.6355 GB