Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.749/2.749, allocations: 287.9 MB / 302.9 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 185.1 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.211/2.211, allocations: 205.4 MB / 0.6301 GB, free: 10.43 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 95.53 kB / 0.7434 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 16.38 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1591, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.000638/0.1598, allocations: 344.1 kB / 0.9791 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.161, allocations: 1.066 MB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.1611, allocations: 0 / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.1611, allocations: 0 / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.815e-05/0.1612, allocations: 11.98 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.1616, allocations: 103.1 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.48e-05/0.1617, allocations: 51.94 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.853e-05/0.1618, allocations: 3.984 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.1619, allocations: 27.92 kB / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.162, allocations: 27.91 kB / 0.9804 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.162, allocations: 4 kB / 0.9804 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.188e-05/0.1621, allocations: 15.98 kB / 0.9804 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.1621, allocations: 7.984 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.1621, allocations: 37.69 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.1623, allocations: 47.88 kB / 0.9805 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1623, allocations: 7.938 kB / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.91e-06/0.1623, allocations: 0 / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.1623, allocations: 4 kB / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000315/0.1626, allocations: 362.6 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1627, allocations: 12.03 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.1627, allocations: 4 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.118e-05/0.1628, allocations: 174.9 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.1628, allocations: 11.98 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.1629, allocations: 4 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.505e-05/0.163, allocations: 41.69 kB / 0.9811 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.713e-06/0.163, allocations: 4 kB / 0.9811 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.163, allocations: 0 / 0.9811 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.163, allocations: 0 / 0.9811 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.1631, allocations: 8 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.1634, allocations: 300.8 kB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.214e-05/0.1635, allocations: 30.52 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.1635, allocations: 7.938 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.1637, allocations: 59.45 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.346e-06/0.1637, allocations: 0 / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002006/0.1639, allocations: 65.62 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.1639, allocations: 51.41 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.693e-05/0.164, allocations: 117.8 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.164, allocations: 29.69 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.1641, allocations: 92.14 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.1641, allocations: 3.906 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.1642, allocations: 4 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.1642, allocations: 318.8 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-05/0.1643, allocations: 27.98 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1644, allocations: 50.55 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1645, allocations: 65.69 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.617e-06/0.1646, allocations: 0 / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003057/0.1649, allocations: 143.3 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.1649, allocations: 37.7 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.285e-06/0.1649, allocations: 0 / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.165, allocations: 3.938 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.469e-05/0.165, allocations: 7.938 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.719e-06/0.165, allocations: 3.984 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.1653, allocations: 45.19 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.1653, allocations: 4 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booToInt.y,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 7.477e-05/0.1654, allocations: 117.8 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.1654, allocations: 4 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.1655, allocations: 7.891 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.781e-06/0.1655, allocations: 4 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.194e-06/0.1655, allocations: 0 / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.601e-06/0.1655, allocations: 0 / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.78e-05/0.1656, allocations: 169.6 kB / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-06/0.1656, allocations: 0 / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.1657, allocations: 4 kB / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.019e-06/0.1657, allocations: 0 / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.929e-06/0.1657, allocations: 0 / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.591e-06/0.1657, allocations: 64 / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.611e-06/0.1657, allocations: 4 kB / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.1659, allocations: 93.23 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.1659, allocations: 89 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1659, allocations: 7.938 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.21e-05/0.1659, allocations: 0 / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.166, allocations: 4 kB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-06/0.166, allocations: 0 / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.288e-05/0.166, allocations: 87.27 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.91e-07/0.166, allocations: 0 / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002785/0.1663, allocations: 20 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001158/0.1665, allocations: 107.2 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.1667, allocations: 131.3 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.468e-06/0.1667, allocations: 0 / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.234e-05/0.1668, allocations: 12 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.167, allocations: 11.89 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.1673, allocations: 146.7 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.1674, allocations: 0.6887 MB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.529e-05/0.1674, allocations: 4 kB / 0.9841 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.1674, allocations: 7.438 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of SimCode: time 1.206e-06/0.1675, allocations: 0 / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.003579/0.171, allocations: 0.9886 MB / 0.9851 GB, free: 21.3 MB / 0.6198 GB