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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.031/4.031, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.149e-05/3.157e-05, allocations: 5.016 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2147, allocations: 98.73 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2479/0.4627, allocations: 124.2 MB / 0.756 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/0.4631, allocations: 71.95 kB / 0.7561 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00279/0.4659, allocations: 0.653 MB / 0.7568 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4659, allocations: 0 / 0.7568 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.466, allocations: 4 kB / 0.7568 GB, free: 4.746 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.0005296/0.4665, allocations: 342.5 kB / 0.7571 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.4666, allocations: 8.031 kB / 0.7571 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.4666, allocations: 30.56 kB / 0.7571 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.4667, allocations: 4 kB / 0.7571 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.4669, allocations: 170.9 kB / 0.7573 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.4669, allocations: 8 kB / 0.7573 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.4669, allocations: 3.938 kB / 0.7573 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.4671, allocations: 45.69 kB / 0.7573 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4671, allocations: 0 / 0.7573 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4671, allocations: 0 / 0.7573 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4672, allocations: 0 / 0.7573 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.216e-05/0.4673, allocations: 15.98 kB / 0.7574 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.4678, allocations: 252.9 kB / 0.7576 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/0.4685, allocations: 94.45 kB / 0.7577 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.4686, allocations: 16.92 kB / 0.7577 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.4686, allocations: 4 kB / 0.7577 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.4688, allocations: 51.5 kB / 0.7578 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.056e-06/0.4688, allocations: 0 / 0.7578 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000232/0.4691, allocations: 57.61 kB / 0.7578 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.4691, allocations: 55.36 kB / 0.7579 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.4693, allocations: 97 kB / 0.758 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.4693, allocations: 33.7 kB / 0.758 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.4694, allocations: 92.03 kB / 0.7581 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.4695, allocations: 7.906 kB / 0.7581 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.4695, allocations: 0 / 0.7581 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4697, allocations: 314.8 kB / 0.7584 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.4697, allocations: 8 kB / 0.7584 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.4698, allocations: 21.72 kB / 0.7584 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/0.4699, allocations: 7.984 kB / 0.7584 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4699, allocations: 0 / 0.7584 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001953/0.4701, allocations: 61.62 kB / 0.7585 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.4701, allocations: 11.94 kB / 0.7585 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4702, allocations: 0 / 0.7585 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4702, allocations: 0 / 0.7585 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.818e-05/0.4703, allocations: 4 kB / 0.7585 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4703, allocations: 0 / 0.7585 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.4704, allocations: 15.88 kB / 0.7585 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.4705, allocations: 4.375 kB / 0.7585 GB, free: 2.715 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 0.0001129/0.4706, allocations: 109 kB / 0.7586 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.4706, allocations: 7.938 kB / 0.7586 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.4707, allocations: 4.031 kB / 0.7586 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4707, allocations: 0 / 0.7586 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.4707, allocations: 4 kB / 0.7586 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4707, allocations: 0 / 0.7586 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.471, allocations: 177.5 kB / 0.7588 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.471, allocations: 0 / 0.7588 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.4711, allocations: 4 kB / 0.7588 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4711, allocations: 0 / 0.7588 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4711, allocations: 4 kB / 0.7588 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4711, allocations: 0 / 0.7588 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4711, allocations: 0 / 0.7588 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.4714, allocations: 85.06 kB / 0.7589 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.4715, allocations: 77.11 kB / 0.759 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.4715, allocations: 0 / 0.759 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.4716, allocations: 8 kB / 0.759 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.4717, allocations: 7.984 kB / 0.759 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.4717, allocations: 7.938 kB / 0.759 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.281e-05/0.4718, allocations: 83.28 kB / 0.7591 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.71e-07/0.4718, allocations: 0 / 0.7591 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005091/0.4724, allocations: 8 kB / 0.7591 GB, free: 2.047 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.0006587/0.473, allocations: 0.6277 MB / 0.7597 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001694/0.4732, allocations: 23.94 kB / 0.7597 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4732, allocations: 0 / 0.7597 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.4733, allocations: 16.28 kB / 0.7597 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.4737, allocations: 7.984 kB / 0.7597 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.4743, allocations: 102.5 kB / 0.7598 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.4747, allocations: 0.6926 MB / 0.7605 GB, free: 500 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.414e-05/0.4747, allocations: 96 / 0.7605 GB, free: 500 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.4748, allocations: 15.44 kB / 0.7605 GB, free: 484 kB / 0.6355 GB Notification: Performance of SimCode: time 1.353e-06/0.4748, allocations: 0 / 0.7605 GB, free: 484 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05356/0.5284, allocations: 1.222 MB / 0.7617 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.5287, allocations: 179.5 kB / 0.7619 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/2.874, allocations: 0 / 0.7619 GB, free: 15.1 MB / 0.6511 GB