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.479/2.479, allocations: 253.1 MB / 260.6 MB, free: 7.562 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.001435/0.001435, allocations: 179.1 kB / 319.9 MB, free: 3.074 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.129/2.129, allocations: 205.6 MB / 0.5708 GB, free: 15.23 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.001441/0.001441, allocations: 85.02 kB / 0.6751 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.854e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.198, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8892/1.087, allocations: 131.4 MB / 1.017 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/1.088, allocations: 67.97 kB / 1.017 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002319/1.09, allocations: 0.6493 MB / 1.018 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.049e-06/1.09, allocations: 4 kB / 1.018 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.09, allocations: 0 / 1.018 GB, free: 5.176 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.0004765/1.09, allocations: 344.7 kB / 1.018 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.091, allocations: 8.031 kB / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/1.091, allocations: 0 / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/1.091, allocations: 170.9 kB / 1.018 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/1.091, allocations: 0 / 1.018 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/1.091, allocations: 7.938 kB / 1.018 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.162e-05/1.091, allocations: 11.17 kB / 1.018 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.129e-05/1.091, allocations: 37.08 kB / 1.018 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.091, allocations: 0 / 1.018 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/1.091, allocations: 0.8125 kB / 1.018 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/1.091, allocations: 4.938 kB / 1.018 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/1.092, allocations: 240.2 kB / 1.019 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/1.092, allocations: 92.89 kB / 1.019 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/1.092, allocations: 8.922 kB / 1.019 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/1.092, allocations: 0 / 1.019 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/1.092, allocations: 58.42 kB / 1.019 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.023e-06/1.092, allocations: 4 kB / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001895/1.093, allocations: 45.27 kB / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/1.093, allocations: 51.41 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/1.093, allocations: 101 kB / 1.019 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/1.093, allocations: 33.58 kB / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/1.093, allocations: 87.45 kB / 1.019 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/1.093, allocations: 10.97 kB / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/1.093, allocations: 0 / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.093, allocations: 322.8 kB / 1.019 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/1.093, allocations: 7.5 kB / 1.019 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.552e-05/1.093, allocations: 21.28 kB / 1.019 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.048e-05/1.093, allocations: 7.5 kB / 1.019 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.093, allocations: 0 / 1.019 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001278/1.093, allocations: 52.81 kB / 1.019 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.093, allocations: 4.781 kB / 1.019 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.093, allocations: 4.312 kB / 1.019 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.093, allocations: 8.016 kB / 1.019 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/1.093, allocations: 4 kB / 1.019 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/1.093, allocations: 0 / 1.019 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/1.094, allocations: 15.98 kB / 1.019 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/1.094, allocations: 0 / 1.019 GB, free: 3.305 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.801e-05/1.094, allocations: 110.7 kB / 1.02 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/1.094, allocations: 0 / 1.02 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/1.094, allocations: 7.531 kB / 1.02 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.094, allocations: 8 kB / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.094, allocations: 0 / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/1.094, allocations: 3.984 kB / 1.02 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/1.094, allocations: 137.5 kB / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.094, allocations: 0 / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/1.094, allocations: 4 kB / 1.02 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.094, allocations: 0 / 1.02 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/1.094, allocations: 0 / 1.02 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/1.094, allocations: 3.984 kB / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.094, allocations: 0 / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/1.094, allocations: 87.8 kB / 1.02 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/1.094, allocations: 85.05 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/1.094, allocations: 3.438 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.342e-05/1.095, allocations: 7.984 kB / 1.02 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/1.095, allocations: 4 kB / 1.02 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/1.095, allocations: 0 / 1.02 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.461e-05/1.095, allocations: 82.59 kB / 1.02 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/1.095, allocations: 4 kB / 1.02 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002424/1.095, allocations: 11.98 kB / 1.02 GB, free: 2.688 MB / 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.0001423/1.095, allocations: 99.19 kB / 1.02 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001149/1.095, allocations: 26.25 kB / 1.02 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.095, allocations: 0 / 1.02 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.113e-05/1.095, allocations: 11.81 kB / 1.02 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/1.095, allocations: 7.984 kB / 1.02 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/1.096, allocations: 79.86 kB / 1.02 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/1.096, allocations: 0.6807 MB / 1.021 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.756e-05/1.096, allocations: 4 kB / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/1.096, allocations: 7.438 kB / 1.021 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of SimCode: time 8.01e-07/1.096, allocations: 0 / 1.021 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.003245/1.099, allocations: 468.1 kB / 1.021 GB, free: 1.289 MB / 0.6355 GB