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.004218/0.004223, allocations: 233.5 kB / 15.82 MB, free: 6.293 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.001114/0.001114, allocations: 174 kB / 16.7 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 3.515/3.515, allocations: 389.1 MB / 406.5 MB, free: 6.871 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.601/4.601, allocations: 472.3 MB / 0.9024 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.000508, allocations: 16 kB / 1.008 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2168, allocations: 98.7 MB / 1.105 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7856/1.002, allocations: 124.6 MB / 1.226 GB, free: 199.7 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.003, allocations: 72.8 kB / 1.226 GB, free: 199.7 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.004681/1.008, allocations: 1.102 MB / 1.227 GB, free: 199 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.884e-06/1.008, allocations: 7.938 kB / 1.228 GB, free: 199 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.008, allocations: 0 / 1.228 GB, free: 199 MB / 0.7917 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.0007143/1.008, allocations: 394.8 kB / 1.228 GB, free: 198.6 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.008, allocations: 12.03 kB / 1.228 GB, free: 198.6 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/1.008, allocations: 5 kB / 1.228 GB, free: 198.5 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/1.009, allocations: 182.5 kB / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/1.009, allocations: 4 kB / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/1.009, allocations: 5.219 kB / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/1.009, allocations: 87.03 kB / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.009, allocations: 4 kB / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/1.009, allocations: 1.5 kB / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.009, allocations: 0 / 1.228 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005448/1.01, allocations: 100.2 kB / 1.228 GB, free: 198.2 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/1.01, allocations: 295.8 kB / 1.229 GB, free: 197.9 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/1.011, allocations: 66.95 kB / 1.229 GB, free: 197.9 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/1.011, allocations: 56.56 kB / 1.229 GB, free: 197.8 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/1.011, allocations: 0.5938 kB / 1.229 GB, free: 197.8 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004536/1.011, allocations: 106.6 kB / 1.229 GB, free: 197.7 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=6): time 3.817e-06/1.011, allocations: 0 / 1.229 GB, free: 197.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=6): time 0.0009666/1.012, allocations: 191.2 kB / 1.229 GB, free: 197.6 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/1.012, allocations: 55.78 kB / 1.229 GB, free: 197.5 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/1.013, allocations: 125 kB / 1.229 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/1.013, allocations: 25.7 kB / 1.229 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/1.013, allocations: 94.83 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/1.013, allocations: 20.98 kB / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/1.013, allocations: 0 / 1.229 GB, free: 197.3 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.745e-05/1.013, allocations: 318.3 kB / 1.23 GB, free: 197 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/1.013, allocations: 51.33 kB / 1.23 GB, free: 196.9 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/1.013, allocations: 63.86 kB / 1.23 GB, free: 196.9 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/1.014, allocations: 45.81 kB / 1.23 GB, free: 196.9 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.014, allocations: 5.219 kB / 1.23 GB, free: 196.9 MB / 0.7917 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006366/1.014, allocations: 143.6 kB / 1.23 GB, free: 196.8 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/1.014, allocations: 9 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.014, allocations: 3.906 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.014, allocations: 0 / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/1.015, allocations: 30.03 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.015, allocations: 4 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/1.015, allocations: 23.03 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/1.015, allocations: 0 / 1.23 GB, free: 196.7 MB / 0.7917 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.0001087/1.015, allocations: 117.2 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/1.015, allocations: 8.656 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/1.015, allocations: 8.922 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.015, allocations: 2.438 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.015, allocations: 9.406 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.015, allocations: 2.812 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/1.015, allocations: 181 kB / 1.23 GB, free: 196.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.015, allocations: 3.812 kB / 1.23 GB, free: 196.4 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/1.016, allocations: 25.34 kB / 1.23 GB, free: 196.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/1.016, allocations: 0.5156 kB / 1.23 GB, free: 196.3 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/1.016, allocations: 4.688 kB / 1.23 GB, free: 196.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.016, allocations: 1.359 kB / 1.23 GB, free: 196.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.016, allocations: 0 / 1.23 GB, free: 196.3 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/1.016, allocations: 173.3 kB / 1.23 GB, free: 196.2 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/1.016, allocations: 86.52 kB / 1.231 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/1.016, allocations: 0 / 1.231 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/1.017, allocations: 24.39 kB / 1.231 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/1.017, allocations: 12.89 kB / 1.231 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/1.017, allocations: 1.688 kB / 1.231 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 6.561e-05/1.017, allocations: 97.16 kB / 1.231 GB, free: 196 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.1e-07/1.017, allocations: 0 / 1.231 GB, free: 196 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002709/1.017, allocations: 19.27 kB / 1.231 GB, free: 196 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001349/1.017, allocations: 108.2 kB / 1.231 GB, free: 195.9 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0006416/1.018, allocations: 110 kB / 1.231 GB, free: 195.8 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.018, allocations: 0 / 1.231 GB, free: 195.8 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003037/1.018, allocations: 60.03 kB / 1.231 GB, free: 195.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/1.019, allocations: 16.52 kB / 1.231 GB, free: 195.8 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/1.019, allocations: 173 kB / 1.231 GB, free: 195.6 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/1.019, allocations: 0.6924 MB / 1.232 GB, free: 194.9 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 6.818e-05/1.019, allocations: 4.797 kB / 1.232 GB, free: 194.9 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/1.019, allocations: 11.44 kB / 1.232 GB, free: 194.9 MB / 0.7917 GB Notification: Performance of SimCode: time 9.51e-07/1.019, allocations: 1.031 kB / 1.232 GB, free: 194.9 MB / 0.7917 GB Notification: Performance of Templates: time 0.004317/1.024, allocations: 0.8149 MB / 1.233 GB, free: 194.5 MB / 0.7917 GB