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.01555/0.01556, allocations: 110.3 kB / 15.05 MB, free: 5.984 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.00174/0.00174, allocations: 181.6 kB / 15.94 MB, free: 5.941 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 1.98/1.98, allocations: 194.5 MB / 211.2 MB, free: 11.09 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.182/2.182, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004736, allocations: 12 kB / 0.587 GB, free: 2.137 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5529/0.5534, allocations: 98.7 MB / 0.6834 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1863/0.7398, allocations: 124.6 MB / 0.8051 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.7401, allocations: 71.95 kB / 0.8051 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004061/0.7441, allocations: 1.1 MB / 0.8062 GB, free: 368 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.927e-06/0.7442, allocations: 0 / 0.8062 GB, free: 368 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.7442, allocations: 4 kB / 0.8062 GB, free: 364 kB / 0.6198 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.0006627/0.7449, allocations: 395.2 kB / 0.8066 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.7449, allocations: 8.031 kB / 0.8066 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.745, allocations: 11.91 kB / 0.8066 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.7452, allocations: 178.9 kB / 0.8068 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.7452, allocations: 4 kB / 0.8068 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.7452, allocations: 0 / 0.8068 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.7456, allocations: 93.58 kB / 0.8069 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.7456, allocations: 4 kB / 0.8069 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.7456, allocations: 0 / 0.8069 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.153e-06/0.7456, allocations: 4 kB / 0.8069 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.746, allocations: 95.92 kB / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.7466, allocations: 288.8 kB / 0.8072 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.7469, allocations: 78.42 kB / 0.8073 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.7469, allocations: 0 / 0.8073 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003442/0.7473, allocations: 103.5 kB / 0.8074 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.435e-06/0.7473, allocations: 0 / 0.8074 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0007237/0.748, allocations: 185.5 kB / 0.8076 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.7481, allocations: 67.3 kB / 0.8076 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.7482, allocations: 109 kB / 0.8078 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.7483, allocations: 29.7 kB / 0.8078 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.7483, allocations: 84.14 kB / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.7484, allocations: 23.67 kB / 0.8079 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-06/0.7484, allocations: 4 kB / 0.8079 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7486, allocations: 314.8 kB / 0.8082 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.7488, allocations: 51.95 kB / 0.8082 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.749, allocations: 65.67 kB / 0.8083 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.7492, allocations: 44.22 kB / 0.8083 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.149e-06/0.7492, allocations: 0 / 0.8083 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004979/0.7497, allocations: 149.5 kB / 0.8085 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.7498, allocations: 4 kB / 0.8085 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.343e-06/0.7498, allocations: 4.031 kB / 0.8085 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.7498, allocations: 0 / 0.8085 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.75, allocations: 27.97 kB / 0.8085 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.343e-06/0.75, allocations: 0 / 0.8085 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.7502, allocations: 31.92 kB / 0.8085 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.7502, allocations: 8 kB / 0.8086 GB, free: 13.72 MB / 0.6355 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.0001284/0.7503, allocations: 109.8 kB / 0.8087 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.7504, allocations: 7.906 kB / 0.8087 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.7504, allocations: 12.38 kB / 0.8087 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.776e-06/0.7504, allocations: 0 / 0.8087 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.16e-06/0.7505, allocations: 0 / 0.8087 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.732e-06/0.7505, allocations: 3.938 kB / 0.8087 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.7507, allocations: 181.6 kB / 0.8089 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.526e-06/0.7507, allocations: 0 / 0.8089 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.7509, allocations: 27.98 kB / 0.8089 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.121e-06/0.7509, allocations: 3.938 kB / 0.8089 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.7509, allocations: 0 / 0.8089 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.7509, allocations: 4 kB / 0.8089 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.152e-06/0.7509, allocations: 3.984 kB / 0.8089 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.7514, allocations: 168.9 kB / 0.8091 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.7515, allocations: 81.02 kB / 0.8091 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.4e-05/0.7516, allocations: 7.984 kB / 0.8091 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.7517, allocations: 23.98 kB / 0.8092 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.7518, allocations: 7.984 kB / 0.8092 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.7518, allocations: 4 kB / 0.8092 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.042e-05/0.7519, allocations: 95.2 kB / 0.8093 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.59e-07/0.7519, allocations: 0 / 0.8093 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000282/0.7522, allocations: 20 kB / 0.8093 GB, free: 12.88 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: 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.000152/0.7524, allocations: 107.4 kB / 0.8094 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.7529, allocations: 111.9 kB / 0.8095 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.688e-06/0.7529, allocations: 0 / 0.8095 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.7531, allocations: 59.97 kB / 0.8096 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.7533, allocations: 17.95 kB / 0.8096 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.7538, allocations: 178.6 kB / 0.8097 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.7542, allocations: 0.6887 MB / 0.8104 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.178e-05/0.7543, allocations: 4.188 kB / 0.8104 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.7543, allocations: 11.44 kB / 0.8104 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of SimCode: time 3.549e-06/0.7543, allocations: 0 / 0.8104 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of Templates: time 0.003817/0.7582, allocations: 0.814 MB / 0.8112 GB, free: 10.84 MB / 0.6355 GB