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 5.194/5.194, allocations: 0.5623 GB / 0.5775 GB, free: 3.312 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.0025/0.0025, allocations: 372.1 kB / 0.6446 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.208/4.208, allocations: 410.7 MB / 1.113 GB, free: 5.934 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.001909/0.001909, allocations: 190.4 kB / 1.226 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004883, allocations: 12 kB / 1.349 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7259/0.7265, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2198/0.9463, allocations: 137.9 MB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.9466, allocations: 72.45 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.007762/0.9543, allocations: 1.813 MB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.414e-06/0.9544, allocations: 1.156 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.9544, allocations: 0 / 1.598 GB, free: 144.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003675/0.9548, allocations: 374.3 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.9548, allocations: 11.62 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.9549, allocations: 4 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.539e-05/0.955, allocations: 171 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.955, allocations: 1.688 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.9551, allocations: 8 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.9552, allocations: 45.56 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.9552, allocations: 0 / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.9552, allocations: 1.906 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9553, allocations: 0 / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.9553, allocations: 8 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.9557, allocations: 294.5 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.976e-05/0.9558, allocations: 27.36 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.9558, allocations: 14.14 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.9559, allocations: 3.938 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.956, allocations: 65.17 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.985e-06/0.956, allocations: 3.797 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0002194/0.9563, allocations: 66.33 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.9563, allocations: 55.41 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.581e-05/0.9564, allocations: 119.7 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.9564, allocations: 25.7 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.9565, allocations: 88.14 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.9565, allocations: 11.83 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.9565, allocations: 6.188 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.9566, allocations: 318.8 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.9567, allocations: 27.98 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.9569, allocations: 52.06 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.957, allocations: 57.69 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.957, allocations: 0 / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003322/0.9573, allocations: 148.4 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.9574, allocations: 41.69 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.9574, allocations: 1.938 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.9574, allocations: 4 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.427e-05/0.9575, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.9575, allocations: 4 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.9578, allocations: 34.19 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.9579, allocations: 8.453 kB / 1.6 GB, free: 142.1 MB / 0.8542 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 8.273e-05/0.958, allocations: 118.7 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.958, allocations: 11.89 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.958, allocations: 5.844 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.958, allocations: 0 / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9581, allocations: 0 / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.9581, allocations: 4 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.9582, allocations: 169.7 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9582, allocations: 4.719 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.9582, allocations: 4 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.9582, allocations: 1.438 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.9583, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.9583, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9583, allocations: 4 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.9584, allocations: 90.59 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.9585, allocations: 77.11 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.9585, allocations: 1.375 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.391e-05/0.9585, allocations: 7.938 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.9586, allocations: 4 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.9586, allocations: 1.375 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.9586, allocations: 91.27 kB / 1.6 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9586, allocations: 0 / 1.6 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002808/0.9589, allocations: 24.44 kB / 1.6 GB, free: 141.4 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: 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.0001452/0.9591, allocations: 104.5 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.9594, allocations: 128.3 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9594, allocations: 0 / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.997e-05/0.9594, allocations: 15.03 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.9597, allocations: 15.94 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.96, allocations: 130.6 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.9602, allocations: 0.6854 MB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.424e-05/0.9602, allocations: 1.125 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.9603, allocations: 11.44 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.9603, allocations: 0 / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.004028/0.9643, allocations: 0.9928 MB / 1.603 GB, free: 139.3 MB / 0.8542 GB