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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008916/0.008916, allocations: 110.5 kB / 15.05 MB, free: 5.961 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.001095/0.001095, allocations: 183.3 kB / 15.94 MB, free: 5.926 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.154/2.154, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.399/2.399, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004936, allocations: 15.94 kB / 0.587 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.623/0.6235, allocations: 98.7 MB / 0.6833 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.8318, allocations: 124.3 MB / 0.8048 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004401/0.8323, allocations: 75.94 kB / 0.8048 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005898/0.8383, allocations: 0.9004 MB / 0.8057 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.084e-06/0.8383, allocations: 0 / 0.8057 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.8383, allocations: 0 / 0.8057 GB, free: 0.8789 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.0009753/0.8393, allocations: 367.2 kB / 0.8061 GB, free: 484 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.8394, allocations: 12.03 kB / 0.8061 GB, free: 472 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.8395, allocations: 4 kB / 0.8061 GB, free: 468 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.8398, allocations: 174.9 kB / 0.8062 GB, free: 252 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.8399, allocations: 3.938 kB / 0.8062 GB, free: 248 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.8399, allocations: 8 kB / 0.8062 GB, free: 240 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.8402, allocations: 41.69 kB / 0.8063 GB, free: 192 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.8402, allocations: 0 / 0.8063 GB, free: 192 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.8403, allocations: 3.984 kB / 0.8063 GB, free: 188 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.8403, allocations: 4 kB / 0.8063 GB, free: 184 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.8405, allocations: 20 kB / 0.8063 GB, free: 164 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009243/0.8414, allocations: 284.9 kB / 0.8066 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.8417, allocations: 50.41 kB / 0.8066 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.8418, allocations: 0 / 0.8066 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000324/0.8421, allocations: 67.52 kB / 0.8067 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 8.624e-06/0.8421, allocations: 0 / 0.8067 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005137/0.8427, allocations: 93.45 kB / 0.8068 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.58e-05/0.8428, allocations: 59.36 kB / 0.8068 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.843, allocations: 105 kB / 0.8069 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.8431, allocations: 29.7 kB / 0.807 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.8432, allocations: 88.2 kB / 0.8071 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.8433, allocations: 15.81 kB / 0.8071 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.8433, allocations: 0 / 0.8071 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000277/0.8436, allocations: 322.8 kB / 0.8074 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.625e-05/0.8437, allocations: 12 kB / 0.8074 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.8439, allocations: 38.5 kB / 0.8074 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.261e-05/0.844, allocations: 12.62 kB / 0.8074 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.524e-06/0.844, allocations: 3.938 kB / 0.8074 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000378/0.8444, allocations: 81.56 kB / 0.8075 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.8445, allocations: 4 kB / 0.8075 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.102e-06/0.8445, allocations: 0 / 0.8075 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.8445, allocations: 4 kB / 0.8075 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.8447, allocations: 11.98 kB / 0.8075 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.8447, allocations: 4.062 kB / 0.8075 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.845, allocations: 19.94 kB / 0.8076 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.845, allocations: 0 / 0.8076 GB, free: 14.75 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.0002139/0.8452, allocations: 125.8 kB / 0.8077 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.8453, allocations: 7.906 kB / 0.8077 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.072e-05/0.8454, allocations: 8.375 kB / 0.8077 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.8454, allocations: 4 kB / 0.8077 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.306e-06/0.8454, allocations: 0 / 0.8077 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.8455, allocations: 3.984 kB / 0.8077 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/0.8459, allocations: 181.5 kB / 0.8079 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.682e-06/0.8459, allocations: 0 / 0.8079 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/0.846, allocations: 4 kB / 0.8079 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.123e-06/0.846, allocations: 0 / 0.8079 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.846, allocations: 7.984 kB / 0.8079 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/0.8461, allocations: 8 kB / 0.8079 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.851e-06/0.8461, allocations: 0 / 0.8079 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.8465, allocations: 93.08 kB / 0.808 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.8466, allocations: 81.02 kB / 0.8081 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.8467, allocations: 3.984 kB / 0.8081 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.8469, allocations: 23.92 kB / 0.8081 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.847, allocations: 11.98 kB / 0.8081 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.847, allocations: 0 / 0.8081 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001434/0.8472, allocations: 87.28 kB / 0.8082 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.238e-06/0.8472, allocations: 3.938 kB / 0.8082 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000615/0.8479, allocations: 12 kB / 0.8082 GB, free: 14 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.0002526/0.8481, allocations: 107.2 kB / 0.8083 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.8485, allocations: 43.97 kB / 0.8083 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/0.8485, allocations: 4 kB / 0.8083 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.8487, allocations: 23.94 kB / 0.8084 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.8492, allocations: 21.62 kB / 0.8084 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.8499, allocations: 167 kB / 0.8086 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.8506, allocations: 0.6848 MB / 0.8092 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.412e-05/0.8507, allocations: 7.984 kB / 0.8092 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.8507, allocations: 7.438 kB / 0.8092 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of SimCode: time 2.375e-06/0.8508, allocations: 0 / 0.8092 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.006924/0.8577, allocations: 0.7495 MB / 0.81 GB, free: 12.13 MB / 0.6355 GB