Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.04/5.04, allocations: 0.5624 GB / 0.577 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002388/0.002388, allocations: 358.6 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.211/4.211, allocations: 410.7 MB / 1.112 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001782/0.001782, allocations: 192.7 kB / 1.225 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000511/0.0005113, allocations: 12 kB / 1.348 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5896/0.5902, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.0008965/0.5911, allocations: 0.5402 MB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.5927, allocations: 1.206 MB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.343e-05/0.5929, allocations: 4 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.5929, allocations: 7.922 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.128e-05/0.593, allocations: 15.86 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009379/0.5939, allocations: 294.9 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.5942, allocations: 227.5 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.5943, allocations: 28.53 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.5944, allocations: 99.78 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.5946, allocations: 75.7 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/0.5946, allocations: 16 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.5947, allocations: 28.73 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.5948, allocations: 19.86 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.5948, allocations: 54.23 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.5951, allocations: 179.3 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.796e-06/0.5951, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.979e-06/0.5951, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.924e-06/0.5951, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004873/0.5956, allocations: 489.2 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5957, allocations: 19.56 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.5957, allocations: 23.77 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.028e-05/0.5958, allocations: 176.1 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.5959, allocations: 21.12 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.596, allocations: 16 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.5962, allocations: 93.59 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5962, allocations: 1.094 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.5962, allocations: 4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.373e-06/0.5962, allocations: 1.781 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.5964, allocations: 49.8 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.5971, allocations: 498.6 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.5974, allocations: 74.55 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.051e-05/0.5975, allocations: 25.95 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.5975, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.5977, allocations: 118.9 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 2.667e-06/0.5978, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0003984/0.5982, allocations: 169.5 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.5982, allocations: 55.41 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.5983, allocations: 168.3 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.5984, allocations: 32.14 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.5985, allocations: 112 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.5985, allocations: 27.61 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.5986, allocations: 8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.5986, allocations: 322.8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.5989, allocations: 97.5 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.5992, allocations: 147.7 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.5995, allocations: 181 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.5995, allocations: 0.6562 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007548/0.6002, allocations: 395.8 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.822e-05/0.6003, allocations: 97.59 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.413e-06/0.6003, allocations: 7.953 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.6004, allocations: 4.75 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.6005, allocations: 12.44 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.6005, allocations: 3.984 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006281/0.6011, allocations: 121.9 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.6012, allocations: 20.95 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,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): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.0001397/0.6014, allocations: 139.2 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.6014, allocations: 12.61 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.6014, allocations: 17.5 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-06/0.6015, allocations: 6.578 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.921e-06/0.6015, allocations: 0 / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.414e-06/0.6015, allocations: 0 / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.6017, allocations: 221.5 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.361e-06/0.6017, allocations: 0 / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.6017, allocations: 12 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.513e-06/0.6018, allocations: 0 / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.6018, allocations: 7.984 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.6018, allocations: 0.8438 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.246e-06/0.6018, allocations: 5.406 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.6021, allocations: 171.9 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.6021, allocations: 85.02 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.6022, allocations: 8 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.6022, allocations: 0 / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.6023, allocations: 19.94 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.6023, allocations: 7.984 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.427e-05/0.6024, allocations: 110.1 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.66e-07/0.6024, allocations: 5.5 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003581/0.6028, allocations: 55.89 kB / 1.468 GB, free: 276.8 MB / 0.8542 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,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.0001396/0.6029, allocations: 108.2 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005534/0.6035, allocations: 388.7 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.028e-06/0.6035, allocations: 4 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.943e-05/0.6036, allocations: 51.91 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.604, allocations: 25.64 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.6044, allocations: 264 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.6046, allocations: 0.7146 MB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.152e-05/0.6047, allocations: 8.656 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.6047, allocations: 18.06 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.564e-06/0.6047, allocations: 0 / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.006344/0.6111, allocations: 2.555 MB / 1.472 GB, free: 272.8 MB / 0.8542 GB