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.Switch.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00657/0.006575, allocations: 238.7 kB / 15.81 MB, free: 6.277 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.001811/0.001811, allocations: 183.9 kB / 16.69 MB, free: 5.449 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.396/4.396, allocations: 389.1 MB / 406.5 MB, free: 11.87 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 3.915/3.915, allocations: 472.3 MB / 0.9024 GB, free: 18.77 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004962, allocations: 12.22 kB / 1.008 GB, free: 13.41 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 98.72 MB / 1.105 GB, free: 10.73 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002074/0.2155, allocations: 1.176 MB / 1.106 GB, free: 9.543 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0005529/0.2161, allocations: 205 kB / 1.106 GB, free: 9.34 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.2162, allocations: 4.75 kB / 1.106 GB, free: 9.336 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.2162, allocations: 7.922 kB / 1.106 GB, free: 9.328 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2163, allocations: 8.469 kB / 1.106 GB, free: 9.32 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.2165, allocations: 16.66 kB / 1.106 GB, free: 9.305 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.2166, allocations: 67.72 kB / 1.106 GB, free: 9.238 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2167, allocations: 14.27 kB / 1.106 GB, free: 9.227 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.2168, allocations: 23.92 kB / 1.106 GB, free: 9.203 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/0.2169, allocations: 27.84 kB / 1.106 GB, free: 9.176 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.2169, allocations: 4.562 kB / 1.106 GB, free: 9.172 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.68e-05/0.217, allocations: 0.6562 kB / 1.106 GB, free: 9.172 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.217, allocations: 11.98 kB / 1.106 GB, free: 9.16 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.217, allocations: 38.36 kB / 1.106 GB, free: 9.117 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 9.34e-05/0.2172, allocations: 39.89 kB / 1.106 GB, free: 9.078 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2172, allocations: 0.5 kB / 1.106 GB, free: 9.078 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2172, allocations: 0.625 kB / 1.106 GB, free: 9.078 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2172, allocations: 0 / 1.106 GB, free: 9.078 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008238/0.218, allocations: 410.3 kB / 1.107 GB, free: 8.637 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2181, allocations: 9.438 kB / 1.107 GB, free: 8.629 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.2181, allocations: 7.906 kB / 1.107 GB, free: 8.621 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.2183, allocations: 164.2 kB / 1.107 GB, free: 8.422 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.2183, allocations: 7.922 kB / 1.107 GB, free: 8.414 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.2184, allocations: 8 kB / 1.107 GB, free: 8.406 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.2188, allocations: 84.5 kB / 1.107 GB, free: 8.32 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2188, allocations: 0 / 1.107 GB, free: 8.32 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.2189, allocations: 5.391 kB / 1.107 GB, free: 8.316 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2189, allocations: 3.953 kB / 1.107 GB, free: 8.312 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000578/0.2195, allocations: 95.42 kB / 1.107 GB, free: 8.223 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.22, allocations: 300.4 kB / 1.107 GB, free: 7.883 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.2204, allocations: 72.42 kB / 1.107 GB, free: 7.805 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.2207, allocations: 54.47 kB / 1.107 GB, free: 7.75 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.2207, allocations: 4.797 kB / 1.107 GB, free: 7.746 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/0.2212, allocations: 97.92 kB / 1.107 GB, free: 7.641 MB / 0.573 GB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.2212, allocations: 4 kB / 1.107 GB, free: 7.637 MB / 0.573 GB Notification: Performance of matching and sorting (n=6): time 0.001012/0.2222, allocations: 193.4 kB / 1.108 GB, free: 7.441 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.2223, allocations: 55.41 kB / 1.108 GB, free: 7.375 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.2224, allocations: 125.8 kB / 1.108 GB, free: 7.242 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.2224, allocations: 25.7 kB / 1.108 GB, free: 7.211 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.2225, allocations: 88.14 kB / 1.108 GB, free: 7.121 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.2226, allocations: 15.81 kB / 1.108 GB, free: 7.105 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/0.2226, allocations: 0 / 1.108 GB, free: 7.105 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.2227, allocations: 322.8 kB / 1.108 GB, free: 6.781 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.223, allocations: 47.95 kB / 1.108 GB, free: 6.734 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.2233, allocations: 61.62 kB / 1.108 GB, free: 6.668 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.2236, allocations: 55.95 kB / 1.108 GB, free: 6.613 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2237, allocations: 0 / 1.108 GB, free: 6.613 MB / 0.573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006494/0.2243, allocations: 145.5 kB / 1.109 GB, free: 6.465 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2243, allocations: 7.953 kB / 1.109 GB, free: 6.457 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2244, allocations: 0 / 1.109 GB, free: 6.457 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2244, allocations: 0 / 1.109 GB, free: 6.457 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.2246, allocations: 32.31 kB / 1.109 GB, free: 6.426 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.2246, allocations: 0 / 1.109 GB, free: 6.426 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.2248, allocations: 27.92 kB / 1.109 GB, free: 6.398 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.2249, allocations: 4 kB / 1.109 GB, free: 6.395 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001332/0.225, allocations: 125 kB / 1.109 GB, free: 6.266 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.225, allocations: 7.906 kB / 1.109 GB, free: 6.258 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.2251, allocations: 16.33 kB / 1.109 GB, free: 6.238 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2251, allocations: 0 / 1.109 GB, free: 6.238 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2251, allocations: 0 / 1.109 GB, free: 6.238 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.2252, allocations: 81.02 kB / 1.109 GB, free: 6.141 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.2252, allocations: 4 kB / 1.109 GB, free: 6.137 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.2254, allocations: 27.97 kB / 1.109 GB, free: 6.109 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.2255, allocations: 11.98 kB / 1.109 GB, free: 6.098 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008534/0.2264, allocations: 236.9 kB / 1.109 GB, free: 5.859 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007553/0.2272, allocations: 306.7 kB / 1.109 GB, free: 5.543 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003148/0.2275, allocations: 67.94 kB / 1.109 GB, free: 5.477 MB / 0.573 GB Notification: Performance of sorting global known variables: time 7.887e-05/0.2276, allocations: 91.27 kB / 1.11 GB, free: 5.387 MB / 0.573 GB Notification: Performance of Backend: time 3.066e-06/0.2276, allocations: 0 / 1.11 GB, free: 5.387 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0007195/0.2283, allocations: 142.3 kB / 1.11 GB, free: 5.242 MB / 0.573 GB Notification: Performance of SimCode: time 0.0007081/0.229, allocations: 0.6255 MB / 1.11 GB, free: 4.57 MB / 0.573 GB Notification: Performance of Templates: time 0.004488/0.2335, allocations: 1.003 MB / 1.111 GB, free: 3.582 MB / 0.573 GB