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.006368/0.006374, allocations: 234.9 kB / 15.8 MB, free: 6.316 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.001825/0.001825, allocations: 180.5 kB / 16.69 MB, free: 5.473 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 4.28/4.28, allocations: 389.1 MB / 406.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.18/4.18, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006636/0.0006638, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1879, allocations: 98.71 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.002323/0.1903, allocations: 1.131 MB / 1.106 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006332/0.191, allocations: 213 kB / 1.106 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.1911, allocations: 0 / 1.106 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.1911, allocations: 3.938 kB / 1.106 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.1913, allocations: 19.84 kB / 1.106 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.1915, allocations: 15.33 kB / 1.106 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1916, allocations: 79.72 kB / 1.106 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1917, allocations: 12.17 kB / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.528e-05/0.1918, allocations: 19.92 kB / 1.106 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.354e-05/0.1919, allocations: 35.83 kB / 1.106 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.192, allocations: 7.938 kB / 1.106 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.331e-05/0.192, allocations: 4 kB / 1.106 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.192, allocations: 15.03 kB / 1.106 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.1921, allocations: 33.69 kB / 1.106 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.1922, allocations: 48.17 kB / 1.106 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1922, allocations: 0 / 1.106 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.515e-06/0.1923, allocations: 0 / 1.106 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.1923, allocations: 0 / 1.106 GB, free: 40.43 MB / 0.6042 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.0008444/0.1931, allocations: 406.3 kB / 1.107 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1932, allocations: 8.031 kB / 1.107 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.1933, allocations: 11.86 kB / 1.107 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.1934, allocations: 184 kB / 1.107 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.1935, allocations: 5.219 kB / 1.107 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1935, allocations: 8 kB / 1.107 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.1937, allocations: 61.17 kB / 1.107 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1937, allocations: 0 / 1.107 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.1938, allocations: 3.938 kB / 1.107 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1938, allocations: 3.953 kB / 1.107 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1939, allocations: 31.98 kB / 1.107 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006298/0.1946, allocations: 309.1 kB / 1.107 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.1948, allocations: 46.59 kB / 1.107 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.1949, allocations: 28.84 kB / 1.107 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1949, allocations: 0 / 1.107 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.1952, allocations: 87.27 kB / 1.107 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.635e-06/0.1952, allocations: 3.219 kB / 1.107 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004223/0.1956, allocations: 113.5 kB / 1.107 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.1957, allocations: 55.41 kB / 1.108 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1958, allocations: 129.7 kB / 1.108 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1959, allocations: 25.7 kB / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.1959, allocations: 100 kB / 1.108 GB, free: 38.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.196, allocations: 26.86 kB / 1.108 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.196, allocations: 4 kB / 1.108 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.1961, allocations: 322.8 kB / 1.108 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.38e-05/0.1962, allocations: 16 kB / 1.108 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1963, allocations: 55.42 kB / 1.108 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.387e-05/0.1964, allocations: 19.25 kB / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1964, allocations: 0 / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000277/0.1967, allocations: 107.9 kB / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1968, allocations: 11.95 kB / 1.108 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1968, allocations: 0 / 1.108 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1968, allocations: 5.219 kB / 1.108 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/0.1969, allocations: 7.938 kB / 1.108 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1969, allocations: 480 / 1.108 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.1973, allocations: 34.59 kB / 1.108 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.1973, allocations: 4 kB / 1.108 GB, free: 38.03 MB / 0.6042 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.0001103/0.1974, allocations: 117.8 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.1975, allocations: 9.906 kB / 1.108 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/0.1975, allocations: 20.27 kB / 1.108 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1975, allocations: 3.984 kB / 1.108 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1976, allocations: 4 kB / 1.108 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.1976, allocations: 88.95 kB / 1.109 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.1977, allocations: 3.438 kB / 1.109 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.1979, allocations: 27.97 kB / 1.109 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/0.198, allocations: 7.984 kB / 1.109 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000482/0.1985, allocations: 192.3 kB / 1.109 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003185/0.1989, allocations: 270.6 kB / 1.109 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001218/0.199, allocations: 31.98 kB / 1.109 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.744e-05/0.1991, allocations: 98.3 kB / 1.109 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of Backend: time 8.92e-07/0.1991, allocations: 0 / 1.109 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007038/0.1998, allocations: 122.3 kB / 1.109 GB, free: 37 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007814/0.2006, allocations: 0.6359 MB / 1.11 GB, free: 36.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.006795/0.2074, allocations: 1.156 MB / 1.111 GB, free: 35.23 MB / 0.6042 GB