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.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009701/0.0097, allocations: 112 kB / 15.06 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.001115/0.001115, allocations: 180.7 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.07/2.07, allocations: 194.5 MB / 211.2 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.383/2.383, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004678, allocations: 12 kB / 0.587 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6382/0.6387, allocations: 98.71 MB / 0.6834 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2264/0.8652, allocations: 124.4 MB / 0.8048 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.8655, allocations: 75.94 kB / 0.8049 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004302/0.8698, allocations: 1.158 MB / 0.806 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.3e-06/0.8698, allocations: 4 kB / 0.806 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.8699, allocations: 4 kB / 0.806 GB, free: 0.7188 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.0006127/0.8705, allocations: 391.1 kB / 0.8064 GB, free: 296 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.8705, allocations: 12.03 kB / 0.8064 GB, free: 284 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.8706, allocations: 4 kB / 0.8064 GB, free: 280 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.8708, allocations: 182.9 kB / 0.8066 GB, free: 56 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.8708, allocations: 0 / 0.8066 GB, free: 56 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.8709, allocations: 8 kB / 0.8066 GB, free: 48 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.871, allocations: 61.61 kB / 0.8066 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.293e-06/0.8711, allocations: 0 / 0.8066 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.8711, allocations: 0 / 0.8066 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-06/0.8711, allocations: 0 / 0.8066 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.8712, allocations: 35.98 kB / 0.8067 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.8718, allocations: 316.7 kB / 0.807 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.8719, allocations: 42.56 kB / 0.807 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.872, allocations: 7.938 kB / 0.807 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.8722, allocations: 91.39 kB / 0.8071 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.668e-06/0.8722, allocations: 0 / 0.8071 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003333/0.8725, allocations: 117.5 kB / 0.8072 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.8726, allocations: 51.41 kB / 0.8073 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.8727, allocations: 124.8 kB / 0.8074 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.8728, allocations: 29.7 kB / 0.8074 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.8729, allocations: 88.12 kB / 0.8075 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.8729, allocations: 27.8 kB / 0.8075 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.8729, allocations: 4 kB / 0.8075 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.8731, allocations: 326.8 kB / 0.8078 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/0.8732, allocations: 16 kB / 0.8079 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.79e-05/0.8733, allocations: 43.42 kB / 0.8079 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.902e-05/0.8733, allocations: 27.92 kB / 0.8079 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8733, allocations: 0 / 0.8079 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002275/0.8736, allocations: 101.5 kB / 0.808 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.8736, allocations: 8.469 kB / 0.808 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.8736, allocations: 0 / 0.808 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.8737, allocations: 0 / 0.808 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.8737, allocations: 11.94 kB / 0.808 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.8738, allocations: 7.938 kB / 0.808 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.8739, allocations: 28.02 kB / 0.8081 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.874, allocations: 8 kB / 0.8081 GB, free: 14.36 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,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * 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.0001291/0.8741, allocations: 123.3 kB / 0.8082 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.8741, allocations: 3.906 kB / 0.8082 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.883e-05/0.8742, allocations: 20.36 kB / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.332e-06/0.8742, allocations: 3.938 kB / 0.8082 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.429e-06/0.8742, allocations: 4 kB / 0.8082 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.537e-06/0.8742, allocations: 3.953 kB / 0.8082 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.8745, allocations: 185.6 kB / 0.8084 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.445e-06/0.8745, allocations: 4 kB / 0.8084 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.8745, allocations: 7.938 kB / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.8745, allocations: 0 / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.8745, allocations: 0 / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.8746, allocations: 0 / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.067e-06/0.8746, allocations: 4 kB / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.8748, allocations: 124.9 kB / 0.8085 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.8749, allocations: 81.02 kB / 0.8086 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.875, allocations: 7.984 kB / 0.8086 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.8751, allocations: 23.98 kB / 0.8087 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.8752, allocations: 15.97 kB / 0.8087 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.8752, allocations: 0 / 0.8087 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.601e-05/0.8753, allocations: 99.27 kB / 0.8088 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.83e-07/0.8753, allocations: 0 / 0.8088 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002966/0.8756, allocations: 20 kB / 0.8088 GB, free: 13.55 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,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * 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.0001501/0.8758, allocations: 103.9 kB / 0.8089 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.876, allocations: 71.84 kB / 0.8089 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.803e-06/0.876, allocations: 0 / 0.8089 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.775e-05/0.8761, allocations: 28.28 kB / 0.809 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.8764, allocations: 36.23 kB / 0.809 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.8769, allocations: 195 kB / 0.8092 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.8773, allocations: 0.6887 MB / 0.8099 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.859e-05/0.8774, allocations: 16.55 kB / 0.8099 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.8774, allocations: 11.44 kB / 0.8099 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.835e-06/0.8774, allocations: 3.938 kB / 0.8099 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.004345/0.8818, allocations: 1.031 MB / 0.8109 GB, free: 11.32 MB / 0.6355 GB