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.BooleanToReal.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.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.402/2.402, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001963/0.001963, allocations: 179.8 kB / 325.6 MB, free: 2.816 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.37/2.37, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.001121/0.001121, allocations: 108.7 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007497/0.0007497, allocations: 13.16 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2245, allocations: 106.3 MB / 0.8989 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2582/0.4828, allocations: 131.3 MB / 1.027 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.4831, allocations: 71.95 kB / 1.027 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002359/0.4855, allocations: 0.6532 MB / 1.028 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4855, allocations: 0 / 1.028 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.4856, allocations: 0 / 1.028 GB, free: 13.24 MB / 0.6823 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.0005094/0.4861, allocations: 347.2 kB / 1.028 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4861, allocations: 12.03 kB / 1.028 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.4862, allocations: 3.906 kB / 1.028 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.4864, allocations: 178.9 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.4864, allocations: 0 / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.4864, allocations: 3.938 kB / 1.028 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.4866, allocations: 41.69 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4866, allocations: 0 / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4866, allocations: 4 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.4866, allocations: 0 / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.855e-05/0.4867, allocations: 16 kB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.4872, allocations: 260.9 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/0.4878, allocations: 98.48 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.4878, allocations: 0 / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.488, allocations: 55.56 kB / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.488, allocations: 4 kB / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002286/0.4882, allocations: 61.62 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.4883, allocations: 51.41 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.4884, allocations: 108.8 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.4884, allocations: 25.7 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.4885, allocations: 84.14 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.4885, allocations: 7.906 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.4886, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4887, allocations: 322.8 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.52e-05/0.4888, allocations: 8 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.589e-05/0.4888, allocations: 21.72 kB / 1.029 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.85e-05/0.4889, allocations: 7.984 kB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4889, allocations: 0 / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000134/0.489, allocations: 53.64 kB / 1.029 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4891, allocations: 11.98 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4891, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4891, allocations: 7.969 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.206e-05/0.4892, allocations: 4 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.4892, allocations: 0 / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.056e-05/0.4893, allocations: 7.938 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.4893, allocations: 7.953 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked 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 0.000101/0.4894, allocations: 113.8 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.4894, allocations: 7.906 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.4895, allocations: 7.906 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4895, allocations: 4 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4895, allocations: 4 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4895, allocations: 3.938 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.4897, allocations: 161.6 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4897, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.4898, allocations: 4 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4898, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.4898, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4898, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4898, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.49, allocations: 93 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.4901, allocations: 81.02 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.4901, allocations: 4.375 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.4902, allocations: 8 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.4902, allocations: 8.266 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.4902, allocations: 4 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.383e-05/0.4903, allocations: 87.27 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4903, allocations: 4 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002236/0.4906, allocations: 4 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * 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.0001317/0.4907, allocations: 95.25 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.4909, allocations: 31.97 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4909, allocations: 3.938 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.278e-05/0.4909, allocations: 8 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.4911, allocations: 20 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.4915, allocations: 130.5 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.4919, allocations: 0.6887 MB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.4919, allocations: 7.938 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.492, allocations: 7.438 kB / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of SimCode: time 7.41e-07/0.492, allocations: 7.938 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of Templates: time 0.003186/0.4952, allocations: 468.1 kB / 1.032 GB, free: 9.039 MB / 0.6823 GB