Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01112/0.01112, allocations: 106.6 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001207/0.001207, allocations: 186.4 kB / 15.94 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.04/2.04, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.319/2.319, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007282/0.0007283, allocations: 12 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6882/0.689, allocations: 98.72 MB / 0.6834 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2768/0.9659, allocations: 124.3 MB / 0.8049 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.9662, allocations: 79.94 kB / 0.8049 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002239/0.9684, allocations: 0.6505 MB / 0.8056 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9685, allocations: 0 / 0.8056 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.9685, allocations: 0 / 0.8056 GB, free: 1.094 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004853/0.969, allocations: 343.3 kB / 0.8059 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.969, allocations: 8.031 kB / 0.8059 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.125e-05/0.9691, allocations: 34.56 kB / 0.8059 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.9692, allocations: 11.91 kB / 0.8059 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.9693, allocations: 163 kB / 0.8061 GB, free: 460 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.9694, allocations: 4 kB / 0.8061 GB, free: 456 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.9694, allocations: 3.938 kB / 0.8061 GB, free: 452 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.9695, allocations: 41.69 kB / 0.8061 GB, free: 404 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.9695, allocations: 0 / 0.8061 GB, free: 404 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.9695, allocations: 0 / 0.8061 GB, free: 404 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.9695, allocations: 0 / 0.8061 GB, free: 404 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.679e-05/0.9696, allocations: 15.98 kB / 0.8062 GB, free: 388 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.9701, allocations: 260.9 kB / 0.8064 GB, free: 76 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.9707, allocations: 98.48 kB / 0.8065 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.9707, allocations: 0 / 0.8065 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.9709, allocations: 55.5 kB / 0.8066 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.364e-06/0.9709, allocations: 0 / 0.8066 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002333/0.9711, allocations: 65.53 kB / 0.8066 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.9712, allocations: 67.34 kB / 0.8067 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/0.9713, allocations: 104.9 kB / 0.8068 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.9713, allocations: 25.7 kB / 0.8068 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.9714, allocations: 84.14 kB / 0.8069 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.9714, allocations: 3.906 kB / 0.8069 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.9714, allocations: 8 kB / 0.8069 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.9716, allocations: 310.8 kB / 0.8072 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.9716, allocations: 11.98 kB / 0.8072 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.356e-05/0.9717, allocations: 25.72 kB / 0.8072 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.613e-05/0.9717, allocations: 7.938 kB / 0.8072 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9717, allocations: 0 / 0.8072 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001314/0.9719, allocations: 57.62 kB / 0.8073 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.9719, allocations: 5.562 kB / 0.8073 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9719, allocations: 0 / 0.8073 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.972, allocations: 4 kB / 0.8073 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.651e-05/0.972, allocations: 4 kB / 0.8073 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.972, allocations: 3.984 kB / 0.8073 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.266e-05/0.9721, allocations: 15.89 kB / 0.8073 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.9722, allocations: 4 kB / 0.8073 GB, free: 15.05 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 () * 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 9.918e-05/0.9723, allocations: 109.8 kB / 0.8074 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.9723, allocations: 7.938 kB / 0.8074 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.9723, allocations: 11.89 kB / 0.8075 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.9724, allocations: 0 / 0.8075 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9724, allocations: 384 / 0.8075 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.9724, allocations: 0 / 0.8075 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.9726, allocations: 169.6 kB / 0.8076 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.9726, allocations: 4 kB / 0.8076 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.9726, allocations: 4 kB / 0.8076 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.9726, allocations: 0 / 0.8076 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.9726, allocations: 0 / 0.8076 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.9727, allocations: 0 / 0.8076 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9727, allocations: 0 / 0.8076 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.9728, allocations: 81.08 kB / 0.8077 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.9729, allocations: 85.02 kB / 0.8078 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.9729, allocations: 7.984 kB / 0.8078 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.973, allocations: 4 kB / 0.8078 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.9731, allocations: 8.266 kB / 0.8078 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.9731, allocations: 3.938 kB / 0.8078 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.405e-05/0.9732, allocations: 87.28 kB / 0.8079 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9732, allocations: 0 / 0.8079 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002282/0.9735, allocations: 7.938 kB / 0.8079 GB, free: 14.37 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 () * 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.0004817/0.9739, allocations: 0.6281 MB / 0.8085 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.9741, allocations: 31.86 kB / 0.8085 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9741, allocations: 0 / 0.8085 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.9742, allocations: 12 kB / 0.8086 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.9744, allocations: 12 kB / 0.8086 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008756/0.9753, allocations: 0.5548 MB / 0.8091 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.9756, allocations: 0.6887 MB / 0.8098 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.9757, allocations: 0 / 0.8098 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.9757, allocations: 15.44 kB / 0.8098 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/0.9758, allocations: 0 / 0.8098 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.9991, allocations: 1.206 MB / 0.811 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003487/0.9995, allocations: 199.2 kB / 0.8112 GB, free: 11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/3.316, allocations: 3.938 kB / 0.8112 GB, free: 10.99 MB / 0.6355 GB