Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.483/2.483, allocations: 252.6 MB / 265.2 MB, free: 5.699 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 186.4 kB / 324.5 MB, free: 14.34 MB / 266.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.5754 GB, free: 10.43 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.001062/0.001061, allocations: 86.09 kB / 0.6797 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.498e-05, allocations: 8 kB / 0.7911 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.199, allocations: 106.2 MB / 0.8949 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8789/1.078, allocations: 131.2 MB / 1.023 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/1.078, allocations: 68.5 kB / 1.023 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002287/1.081, allocations: 0.6564 MB / 1.024 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.373e-06/1.081, allocations: 0 / 1.024 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.081, allocations: 0 / 1.024 GB, free: 2.668 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004739/1.081, allocations: 340.2 kB / 1.024 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.081, allocations: 15.91 kB / 1.024 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/1.081, allocations: 4 kB / 1.024 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/1.081, allocations: 166.9 kB / 1.024 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/1.081, allocations: 4 kB / 1.024 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/1.081, allocations: 6.922 kB / 1.024 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/1.082, allocations: 39.64 kB / 1.024 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.082, allocations: 4 kB / 1.024 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/1.082, allocations: 0 / 1.024 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/1.082, allocations: 0 / 1.024 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/1.082, allocations: 15.17 kB / 1.024 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/1.082, allocations: 258.7 kB / 1.025 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/1.083, allocations: 89.27 kB / 1.025 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/1.083, allocations: 12.3 kB / 1.025 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/1.083, allocations: 4 kB / 1.025 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/1.083, allocations: 57.25 kB / 1.025 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.096e-06/1.083, allocations: 3.938 kB / 1.025 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002013/1.083, allocations: 48.69 kB / 1.025 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/1.083, allocations: 57.92 kB / 1.025 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/1.084, allocations: 95.75 kB / 1.025 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/1.084, allocations: 37.12 kB / 1.025 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/1.084, allocations: 84.14 kB / 1.025 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/1.084, allocations: 15.45 kB / 1.025 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/1.084, allocations: 0 / 1.025 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.084, allocations: 314.8 kB / 1.025 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/1.084, allocations: 7.5 kB / 1.025 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.289e-05/1.084, allocations: 17.66 kB / 1.025 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.185e-05/1.084, allocations: 14.98 kB / 1.025 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.084, allocations: 3.938 kB / 1.025 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001318/1.084, allocations: 61.19 kB / 1.025 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.084, allocations: 4 kB / 1.025 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.084, allocations: 4 kB / 1.025 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.084, allocations: 0 / 1.025 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/1.084, allocations: 7.812 kB / 1.025 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/1.084, allocations: 3.938 kB / 1.025 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/1.084, allocations: 11.94 kB / 1.025 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/1.084, allocations: 4 kB / 1.025 GB, free: 0.7461 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booToInt.y,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.856e-05/1.085, allocations: 107.6 kB / 1.026 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/1.085, allocations: 4 kB / 1.026 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/1.085, allocations: 7.094 kB / 1.026 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.085, allocations: 7.625 kB / 1.026 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.085, allocations: 0 / 1.026 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.085, allocations: 0 / 1.026 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/1.085, allocations: 168 kB / 1.026 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.085, allocations: 0 / 1.026 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/1.085, allocations: 4 kB / 1.026 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.085, allocations: 0 / 1.026 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/1.085, allocations: 0 / 1.026 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.085, allocations: 4 kB / 1.026 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.085, allocations: 0 / 1.026 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/1.085, allocations: 91.28 kB / 1.026 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/1.085, allocations: 84.48 kB / 1.026 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/1.085, allocations: 0 / 1.026 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/1.085, allocations: 4 kB / 1.026 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/1.085, allocations: 11.98 kB / 1.026 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/1.085, allocations: 0 / 1.026 GB, free: 196 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.276e-05/1.086, allocations: 86.59 kB / 1.026 GB, free: 112 kB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.086, allocations: 0 / 1.026 GB, free: 112 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002302/1.086, allocations: 4 kB / 1.026 GB, free: 108 kB / 0.6355 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,booToInt.y,booPul.y,booPul.pulseStart) * Number of discrete 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.0001805/1.086, allocations: 106.6 kB / 1.026 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000125/1.086, allocations: 23.69 kB / 1.026 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.086, allocations: 0 / 1.026 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.308e-05/1.086, allocations: 15.19 kB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/1.086, allocations: 15.94 kB / 1.026 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/1.087, allocations: 75.78 kB / 1.026 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/1.087, allocations: 0.6809 MB / 1.027 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.177e-05/1.087, allocations: 0 / 1.027 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/1.087, allocations: 11.44 kB / 1.027 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of SimCode: time 6.72e-07/1.087, allocations: 0 / 1.027 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.003302/1.09, allocations: 495.2 kB / 1.027 GB, free: 14.67 MB / 0.6511 GB