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.IntegerSwitch.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.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.357/2.357, allocations: 252.6 MB / 265.2 MB, free: 5.715 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.00246/0.00246, allocations: 183.9 kB / 324.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.257/2.257, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001178/0.001177, allocations: 97.7 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.398e-05/4.407e-05, allocations: 11.98 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2007, allocations: 106.2 MB / 0.8949 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9097/1.11, allocations: 131.6 MB / 1.023 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003751/1.111, allocations: 71.14 kB / 1.024 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01048/1.121, allocations: 1.611 MB / 1.025 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.617e-06/1.121, allocations: 0 / 1.025 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.165e-05/1.121, allocations: 0 / 1.025 GB, free: 1.477 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001087/1.123, allocations: 419.4 kB / 1.025 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/1.123, allocations: 8.031 kB / 1.025 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.551e-05/1.123, allocations: 15.81 kB / 1.026 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/1.123, allocations: 190.7 kB / 1.026 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/1.123, allocations: 7.562 kB / 1.026 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/1.123, allocations: 11.31 kB / 1.026 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/1.124, allocations: 93.55 kB / 1.026 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.124, allocations: 0 / 1.026 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/1.124, allocations: 0 / 1.026 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/1.124, allocations: 4 kB / 1.026 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/1.124, allocations: 57.67 kB / 1.026 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/1.125, allocations: 399.8 kB / 1.026 GB, free: 260 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/1.125, allocations: 71.41 kB / 1.026 GB, free: 196 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/1.126, allocations: 41.86 kB / 1.026 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/1.126, allocations: 0 / 1.026 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/1.126, allocations: 96.94 kB / 1.026 GB, free: 68 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 3.888e-06/1.126, allocations: 0 / 1.026 GB, free: 68 kB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0005179/1.127, allocations: 112.7 kB / 1.027 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/1.127, allocations: 55.39 kB / 1.027 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/1.127, allocations: 149.2 kB / 1.027 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/1.127, allocations: 29.27 kB / 1.027 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.127, allocations: 108.1 kB / 1.027 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.837e-05/1.127, allocations: 26.98 kB / 1.027 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/1.127, allocations: 7.312 kB / 1.027 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.128, allocations: 325.2 kB / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/1.128, allocations: 24.38 kB / 1.027 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/1.128, allocations: 59.08 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/1.128, allocations: 34.23 kB / 1.027 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/1.128, allocations: 0 / 1.027 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004683/1.129, allocations: 123.2 kB / 1.027 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/1.129, allocations: 4 kB / 1.027 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.129, allocations: 4 kB / 1.027 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/1.129, allocations: 0 / 1.027 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/1.129, allocations: 19.92 kB / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/1.129, allocations: 4 kB / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/1.129, allocations: 39.41 kB / 1.028 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/1.129, allocations: 4 kB / 1.028 GB, free: 15.01 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001581/1.13, allocations: 116.3 kB / 1.028 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/1.13, allocations: 11.86 kB / 1.028 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.736e-05/1.13, allocations: 15.44 kB / 1.028 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/1.13, allocations: 0 / 1.028 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.13, allocations: 4 kB / 1.028 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/1.13, allocations: 11.97 kB / 1.028 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/1.13, allocations: 206.5 kB / 1.028 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.13, allocations: 0 / 1.028 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/1.13, allocations: 15.92 kB / 1.028 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/1.131, allocations: 0 / 1.028 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/1.131, allocations: 10.7 kB / 1.028 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.131, allocations: 0 / 1.028 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/1.131, allocations: 4 kB / 1.028 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/1.131, allocations: 151 kB / 1.028 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/1.131, allocations: 85.02 kB / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/1.131, allocations: 6.297 kB / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/1.132, allocations: 26.81 kB / 1.028 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.132, allocations: 15.97 kB / 1.028 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/1.132, allocations: 3.062 kB / 1.028 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001774/1.132, allocations: 119.5 kB / 1.028 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.102e-06/1.132, allocations: 4 kB / 1.028 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004762/1.133, allocations: 23.12 kB / 1.028 GB, free: 14.19 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002199/1.133, allocations: 104.7 kB / 1.028 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000412/1.133, allocations: 84.48 kB / 1.028 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.133, allocations: 3.938 kB / 1.028 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/1.133, allocations: 50.19 kB / 1.029 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/1.134, allocations: 27.66 kB / 1.029 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/1.135, allocations: 167.7 kB / 1.029 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/1.135, allocations: 0.7087 MB / 1.029 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001263/1.135, allocations: 17.2 kB / 1.029 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/1.135, allocations: 15.44 kB / 1.029 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of SimCode: time 1.703e-06/1.135, allocations: 0 / 1.029 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of Templates: time 0.007842/1.143, allocations: 1.21 MB / 1.031 GB, free: 11.84 MB / 0.6511 GB