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.546/5.546, allocations: 0.5623 GB / 0.5776 GB, free: 3.324 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.002488/0.002488, allocations: 355.2 kB / 0.6447 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.603/4.603, allocations: 410.7 MB / 1.113 GB, free: 5.977 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.001804/0.001804, allocations: 186.4 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.0004983, allocations: 19.98 kB / 1.349 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7527/0.7532, 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.001078/0.7544, allocations: 0.5399 MB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.7561, allocations: 1.205 MB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.7563, allocations: 4.906 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.7563, allocations: 7.922 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.064e-05/0.7564, allocations: 12.92 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.7575, allocations: 295.8 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.7578, allocations: 231.5 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.7579, allocations: 28.72 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.7581, allocations: 95.8 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.7582, allocations: 75.7 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.15e-05/0.7583, allocations: 16 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.7584, allocations: 32.75 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.7585, allocations: 15.92 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.05e-05/0.7586, allocations: 54.23 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.7588, allocations: 177.7 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.7588, allocations: 1.312 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.083e-06/0.7588, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.7589, allocations: 0 / 1.464 GB, free: 281.5 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.0005767/0.7594, allocations: 489.4 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.7595, allocations: 15.56 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.7596, allocations: 31.7 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.7597, allocations: 174.2 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.7598, allocations: 12 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-05/0.7599, allocations: 17.09 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.7601, allocations: 94.28 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.7601, allocations: 6.406 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.7602, allocations: 7.938 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.7602, allocations: 3.938 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.7603, allocations: 43.98 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008088/0.7612, allocations: 498.9 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.7615, allocations: 71.19 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.514e-05/0.7615, allocations: 29.44 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.7616, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.7618, allocations: 116.7 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 2.044e-06/0.7619, allocations: 0.75 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.000471/0.7623, allocations: 171.3 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.7624, allocations: 55.41 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.7625, allocations: 164.9 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.7626, allocations: 35.83 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.7627, allocations: 108 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.7628, allocations: 31.59 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.7628, allocations: 8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.7629, allocations: 326.8 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.7632, allocations: 89.23 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.7636, allocations: 151.5 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.7639, allocations: 174.7 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7639, allocations: 0.5 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009203/0.7649, allocations: 392.5 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.351e-05/0.765, allocations: 105.1 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.765, allocations: 7.938 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.765, allocations: 4.828 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.7651, allocations: 12 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.7652, allocations: 0 / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009655/0.7661, allocations: 126.7 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.7662, allocations: 19.98 kB / 1.467 GB, free: 277.7 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.0001627/0.7664, allocations: 135.8 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.7664, allocations: 19.8 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.7665, allocations: 12.84 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.7665, allocations: 4.609 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.7665, allocations: 0 / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.7666, allocations: 91.53 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.7666, allocations: 7.984 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-05/0.7667, allocations: 0 / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.7667, allocations: 12.83 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003289/0.7671, allocations: 217.9 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002978/0.7674, allocations: 311.7 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001023/0.7675, allocations: 47.98 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001431/0.7677, allocations: 113 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of Backend: time 6.91e-07/0.7677, allocations: 3.938 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009928/0.7687, allocations: 434.4 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0007363/0.7694, allocations: 0.7086 MB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.007905/0.7774, allocations: 2.643 MB / 1.472 GB, free: 273 MB / 0.8542 GB