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.Nand.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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009158/0.009158, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.001174/0.001173, allocations: 179.3 kB / 15.94 MB, free: 5.93 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.05/2.05, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.21/2.21, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.000483, allocations: 12 kB / 0.587 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6177/0.6182, allocations: 98.71 MB / 0.6834 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.7994, allocations: 124.3 MB / 0.8048 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003605/0.7998, allocations: 71.95 kB / 0.8048 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004558/0.8044, allocations: 0.8926 MB / 0.8057 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8044, allocations: 0 / 0.8057 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.8044, allocations: 8 kB / 0.8057 GB, free: 1.008 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.0008235/0.8053, allocations: 371.2 kB / 0.8061 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.458e-05/0.8054, allocations: 12.03 kB / 0.8061 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.8054, allocations: 0 / 0.8061 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.8057, allocations: 170.9 kB / 0.8062 GB, free: 388 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.8057, allocations: 4 kB / 0.8062 GB, free: 384 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.8057, allocations: 4 kB / 0.8062 GB, free: 380 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.8059, allocations: 49.67 kB / 0.8063 GB, free: 324 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.806, allocations: 0 / 0.8063 GB, free: 324 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.806, allocations: 0 / 0.8063 GB, free: 324 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.025e-06/0.806, allocations: 7.938 kB / 0.8063 GB, free: 316 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.8062, allocations: 27.97 kB / 0.8063 GB, free: 288 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006842/0.8069, allocations: 272.9 kB / 0.8066 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.8071, allocations: 46.56 kB / 0.8066 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.8071, allocations: 4 kB / 0.8066 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.8074, allocations: 71.45 kB / 0.8067 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 7.64e-06/0.8074, allocations: 0 / 0.8067 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004083/0.8078, allocations: 101.6 kB / 0.8068 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.8079, allocations: 59.36 kB / 0.8069 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.8081, allocations: 105 kB / 0.807 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.8081, allocations: 25.7 kB / 0.807 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.8082, allocations: 88.14 kB / 0.8071 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.8083, allocations: 23.8 kB / 0.8071 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-06/0.8083, allocations: 3.938 kB / 0.8071 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.8086, allocations: 314.8 kB / 0.8074 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.796e-05/0.8087, allocations: 15.98 kB / 0.8074 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.8088, allocations: 30.52 kB / 0.8074 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/0.8089, allocations: 12 kB / 0.8074 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.644e-06/0.8089, allocations: 0 / 0.8074 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003105/0.8092, allocations: 90.14 kB / 0.8075 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.8093, allocations: 7.984 kB / 0.8075 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.511e-06/0.8093, allocations: 0 / 0.8075 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.8093, allocations: 0 / 0.8075 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.8094, allocations: 15.94 kB / 0.8076 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.8095, allocations: 0 / 0.8076 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.8096, allocations: 15.94 kB / 0.8076 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.8097, allocations: 4.062 kB / 0.8076 GB, free: 14.87 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,nand1.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.0001465/0.8098, allocations: 121.8 kB / 0.8077 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.8099, allocations: 7.906 kB / 0.8077 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/0.81, allocations: 12.36 kB / 0.8077 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.864e-06/0.81, allocations: 0 / 0.8077 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.81, allocations: 4 kB / 0.8077 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.308e-06/0.81, allocations: 0 / 0.8077 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.8103, allocations: 169.6 kB / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.8104, allocations: 0 / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.8104, allocations: 11.98 kB / 0.8079 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.182e-06/0.8104, allocations: 4 kB / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.8104, allocations: 0 / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.8105, allocations: 0 / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.996e-06/0.8105, allocations: 0 / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.8108, allocations: 105.1 kB / 0.808 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/0.8109, allocations: 85 kB / 0.8081 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.811, allocations: 0 / 0.8081 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.8112, allocations: 23.92 kB / 0.8081 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.8113, allocations: 11.98 kB / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.8113, allocations: 0 / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001196/0.8114, allocations: 95.25 kB / 0.8082 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.094e-06/0.8115, allocations: 0 / 0.8082 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000465/0.8119, allocations: 12 kB / 0.8082 GB, free: 14.12 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,nand1.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.0001507/0.8121, allocations: 103.9 kB / 0.8083 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.8123, allocations: 43.92 kB / 0.8083 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.412e-06/0.8123, allocations: 0 / 0.8083 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.8124, allocations: 31.92 kB / 0.8084 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.8126, allocations: 16.08 kB / 0.8084 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.813, allocations: 168.2 kB / 0.8086 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.8134, allocations: 0.6848 MB / 0.8092 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.309e-05/0.8134, allocations: 4 kB / 0.8092 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.8135, allocations: 11.44 kB / 0.8092 GB, free: 13 MB / 0.6355 GB Notification: Performance of SimCode: time 1.702e-06/0.8135, allocations: 0 / 0.8092 GB, free: 13 MB / 0.6355 GB Notification: Performance of Templates: time 0.003569/0.8171, allocations: 0.7555 MB / 0.81 GB, free: 12.26 MB / 0.6355 GB