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.362/2.362, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.001579/0.001579, allocations: 181.3 kB / 325.6 MB, free: 2.793 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.675/2.675, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001113/0.001113, allocations: 90.33 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.000478, allocations: 11.97 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2582, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001744/0.26, allocations: 1.239 MB / 0.9001 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005016/0.2606, allocations: 246.2 kB / 0.9003 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.2606, allocations: 3.938 kB / 0.9004 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.2607, allocations: 7.922 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.2608, allocations: 19.95 kB / 0.9004 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.261, allocations: 31.92 kB / 0.9004 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.2611, allocations: 71.84 kB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.2612, allocations: 29.48 kB / 0.9005 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.2613, allocations: 39.84 kB / 0.9005 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.2614, allocations: 39.77 kB / 0.9006 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.2614, allocations: 4 kB / 0.9006 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.125e-05/0.2614, allocations: 8 kB / 0.9006 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.2615, allocations: 15.92 kB / 0.9006 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.2615, allocations: 41.64 kB / 0.9006 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2616, allocations: 79.81 kB / 0.9007 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.2617, allocations: 0 / 0.9007 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2617, allocations: 0 / 0.9007 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2617, allocations: 0 / 0.9007 GB, free: 63.52 MB / 0.6042 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.0007382/0.2624, allocations: 435.2 kB / 0.9011 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2625, allocations: 12.03 kB / 0.9011 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.2625, allocations: 15.86 kB / 0.9012 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.2627, allocations: 184.9 kB / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.2627, allocations: 12.12 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.2627, allocations: 12 kB / 0.9014 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.263, allocations: 91.16 kB / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.263, allocations: 0 / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.263, allocations: 7.938 kB / 0.9015 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.263, allocations: 0 / 0.9015 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.2632, allocations: 64.48 kB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006141/0.2639, allocations: 397.4 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.2641, allocations: 90.44 kB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.2641, allocations: 0 / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.2643, allocations: 91.59 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.2644, allocations: 4 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.000384/0.2647, allocations: 151.8 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.2648, allocations: 55.41 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.2649, allocations: 158.2 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.265, allocations: 25.7 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.265, allocations: 108 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.2651, allocations: 35.55 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-06/0.2651, allocations: 4 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.2652, allocations: 322.8 kB / 0.9029 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.303e-05/0.2653, allocations: 28 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.2654, allocations: 59.41 kB / 0.903 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.014e-05/0.2655, allocations: 24 kB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2655, allocations: 3.953 kB / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002559/0.2657, allocations: 131.9 kB / 0.9031 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2658, allocations: 8.219 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.2658, allocations: 0 / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2658, allocations: 3.938 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.266, allocations: 16 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.266, allocations: 4 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.2662, allocations: 31.81 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.2662, allocations: 8 kB / 0.9032 GB, free: 60.76 MB / 0.6042 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 9.884e-05/0.2663, allocations: 133.7 kB / 0.9033 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.2664, allocations: 15.77 kB / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.2664, allocations: 20.83 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2664, allocations: 0 / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2664, allocations: 0 / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2664, allocations: 0 / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.2667, allocations: 217.6 kB / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2667, allocations: 0 / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.2668, allocations: 15.95 kB / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2668, allocations: 0 / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.2669, allocations: 4 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2669, allocations: 7.938 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2669, allocations: 4 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.2671, allocations: 141 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.2672, allocations: 92.86 kB / 0.9038 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.2672, allocations: 7.953 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.2675, allocations: 27.97 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/0.2676, allocations: 11.98 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.2676, allocations: 11.94 kB / 0.9039 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001222/0.2678, allocations: 115.2 kB / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.51e-07/0.2678, allocations: 0 / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003148/0.2681, allocations: 24 kB / 0.904 GB, free: 59.83 MB / 0.6042 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.0001248/0.2683, allocations: 115.2 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.2685, allocations: 75.92 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2685, allocations: 0 / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.2687, allocations: 46.36 kB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.269, allocations: 23.97 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.2696, allocations: 268 kB / 0.9045 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.2697, allocations: 0.7203 MB / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.051e-05/0.2698, allocations: 13.08 kB / 0.9052 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.2699, allocations: 11.44 kB / 0.9052 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/0.2699, allocations: 0 / 0.9052 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.004633/0.2745, allocations: 1.19 MB / 0.9064 GB, free: 57.33 MB / 0.6042 GB