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.183/2.183, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001917/0.001917, allocations: 186 kB / 325.6 MB, free: 2.832 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.599/2.599, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001423/0.001423, allocations: 88.41 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007502/0.00075, allocations: 19 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2368, allocations: 106.2 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2547/0.4916, allocations: 131.7 MB / 1.028 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.4919, allocations: 75.95 kB / 1.028 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006735/0.4987, allocations: 1.603 MB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4987, allocations: 192 / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.4988, allocations: 0 / 1.029 GB, free: 11.9 MB / 0.6823 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.0008532/0.4996, allocations: 441.7 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.4997, allocations: 8.031 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.4998, allocations: 11.91 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.5, allocations: 194.8 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.5, allocations: 8.188 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.5, allocations: 12 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.5003, allocations: 95.09 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5003, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.5004, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.5004, allocations: 4 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.5006, allocations: 64.52 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007995/0.5014, allocations: 393.4 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.5017, allocations: 82.58 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.5017, allocations: 3.953 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002872/0.502, allocations: 103.5 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 3.176e-06/0.502, allocations: 0 / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0004739/0.5025, allocations: 144 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.5026, allocations: 51.41 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.5028, allocations: 149.4 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.5028, allocations: 37.64 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.5029, allocations: 104 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.503, allocations: 23.94 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.503, allocations: 3.938 kB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5031, allocations: 326.8 kB / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-05/0.5032, allocations: 27.98 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.5034, allocations: 59.33 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.061e-05/0.5035, allocations: 24 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.5035, allocations: 4 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003095/0.5038, allocations: 125.5 kB / 1.032 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.5039, allocations: 14.23 kB / 1.032 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.5039, allocations: 7.938 kB / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.5039, allocations: 0 / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.5041, allocations: 15.98 kB / 1.032 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5041, allocations: 0 / 1.032 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.5043, allocations: 31.98 kB / 1.032 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.5044, allocations: 4 kB / 1.032 GB, free: 9.148 MB / 0.6823 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 () * Number of clocked 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.0001422/0.5045, allocations: 130.5 kB / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.5046, allocations: 15.89 kB / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.073e-05/0.5046, allocations: 20.8 kB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5046, allocations: 0 / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5047, allocations: 0 / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5047, allocations: 4 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.505, allocations: 221.5 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.505, allocations: 0 / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.95e-05/0.5051, allocations: 11.94 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.5051, allocations: 0 / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.5051, allocations: 7.984 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.5051, allocations: 3.953 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5051, allocations: 0 / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.5055, allocations: 143.6 kB / 1.032 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.5056, allocations: 89.02 kB / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.5056, allocations: 4 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.5058, allocations: 23.97 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.5059, allocations: 23.92 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.5059, allocations: 0 / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001238/0.5061, allocations: 122.8 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4e-07/0.5061, allocations: 4 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000296/0.5064, allocations: 27.91 kB / 1.032 GB, free: 8.227 MB / 0.6823 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 () * Number of clocked 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.0001594/0.5066, allocations: 99.25 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002994/0.5069, allocations: 87.91 kB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5069, allocations: 0 / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.507, allocations: 47.92 kB / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.5074, allocations: 31.97 kB / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/0.5081, allocations: 267.9 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.5084, allocations: 0.7087 MB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.592e-05/0.5085, allocations: 21 kB / 1.034 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.5086, allocations: 19.44 kB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of SimCode: time 1.011e-06/0.5086, allocations: 0 / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of Templates: time 0.006801/0.5154, allocations: 1.183 MB / 1.035 GB, free: 5.715 MB / 0.6823 GB