Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.481/2.481, allocations: 253.2 MB / 260.6 MB, free: 7.414 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 181.5 kB / 319.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.6 MB / 0.5708 GB, free: 15.3 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001137, allocations: 104.2 kB / 0.6751 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.364e-05/2.38e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2181, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8721/1.09, allocations: 131.7 MB / 1.017 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.091, allocations: 68.7 kB / 1.017 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00462/1.095, allocations: 1.106 MB / 1.018 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.323e-06/1.095, allocations: 0 / 1.018 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.708e-06/1.095, allocations: 0 / 1.018 GB, free: 4.57 MB / 0.6355 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.000708/1.096, allocations: 381.8 kB / 1.019 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.096, allocations: 12.02 kB / 1.019 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/1.096, allocations: 11.84 kB / 1.019 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/1.096, allocations: 182.9 kB / 1.019 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/1.096, allocations: 5.312 kB / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/1.096, allocations: 0 / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001333/1.096, allocations: 27.55 kB / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/1.097, allocations: 48.88 kB / 1.019 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.097, allocations: 0 / 1.019 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/1.097, allocations: 0 / 1.019 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/1.097, allocations: 4 kB / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/1.097, allocations: 271.6 kB / 1.019 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.839e-05/1.097, allocations: 37.52 kB / 1.019 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/1.097, allocations: 20.11 kB / 1.019 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/1.097, allocations: 0 / 1.019 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/1.098, allocations: 62.59 kB / 1.019 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/1.098, allocations: 7.938 kB / 1.019 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002425/1.098, allocations: 66.66 kB / 1.02 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/1.098, allocations: 53.91 kB / 1.02 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/1.098, allocations: 114.9 kB / 1.02 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/1.098, allocations: 29.64 kB / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/1.098, allocations: 87.14 kB / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/1.098, allocations: 15.8 kB / 1.02 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/1.098, allocations: 0 / 1.02 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.098, allocations: 318.7 kB / 1.02 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/1.098, allocations: 15.38 kB / 1.02 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.976e-05/1.098, allocations: 29.58 kB / 1.02 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.871e-05/1.099, allocations: 10.75 kB / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.099, allocations: 4 kB / 1.02 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000181/1.099, allocations: 70.78 kB / 1.02 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.099, allocations: 5.406 kB / 1.02 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.099, allocations: 0 / 1.02 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/1.099, allocations: 4.031 kB / 1.02 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/1.099, allocations: 27.92 kB / 1.02 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/1.099, allocations: 0 / 1.02 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/1.099, allocations: 27.91 kB / 1.02 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/1.099, allocations: 11.95 kB / 1.02 GB, free: 2.562 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 () * 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 9.631e-05/1.099, allocations: 108.4 kB / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/1.099, allocations: 7.906 kB / 1.02 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/1.1, allocations: 7.938 kB / 1.02 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/1.1, allocations: 0 / 1.02 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.1, allocations: 7.984 kB / 1.02 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.1, allocations: 3.984 kB / 1.02 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/1.1, allocations: 157.1 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.1, allocations: 0 / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/1.1, allocations: 23.98 kB / 1.021 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.1, allocations: 0 / 1.021 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/1.1, allocations: 7.375 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.1, allocations: 0 / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.1, allocations: 0 / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/1.1, allocations: 95.91 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/1.1, allocations: 92.77 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/1.1, allocations: 0 / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/1.101, allocations: 23.97 kB / 1.021 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/1.101, allocations: 11.92 kB / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/1.101, allocations: 192 / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.12e-05/1.101, allocations: 96.14 kB / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.101, allocations: 0 / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002869/1.101, allocations: 15.94 kB / 1.021 GB, free: 1.871 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 () * 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.0001444/1.101, allocations: 101.1 kB / 1.021 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001711/1.101, allocations: 39.17 kB / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.101, allocations: 0 / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.003e-05/1.102, allocations: 27.25 kB / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/1.102, allocations: 7.953 kB / 1.021 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/1.102, allocations: 112.5 kB / 1.021 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/1.102, allocations: 0.6885 MB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.512e-05/1.103, allocations: 4.172 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/1.103, allocations: 11.44 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of SimCode: time 6.82e-07/1.103, allocations: 0 / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of Templates: time 0.003858/1.106, allocations: 0.759 MB / 1.023 GB, free: 120 kB / 0.6355 GB