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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.093/4.093, allocations: 433.2 MB / 440.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.15e-05, allocations: 2.844 kB / 0.5325 GB, free: 12.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2254, allocations: 98.73 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2937/0.5192, allocations: 123.6 MB / 0.7496 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.5195, allocations: 67.97 kB / 0.7496 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002349/0.5219, allocations: 0.6605 MB / 0.7503 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5219, allocations: 0 / 0.7503 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.522, allocations: 0 / 0.7503 GB, free: 12.64 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.0005143/0.5225, allocations: 330.5 kB / 0.7506 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.532e-05/0.5226, allocations: 12.03 kB / 0.7506 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.5226, allocations: 3.953 kB / 0.7506 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.5229, allocations: 182.7 kB / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.5229, allocations: 4 kB / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.523, allocations: 0 / 0.7508 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/0.5231, allocations: 15.98 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.5232, allocations: 33.7 kB / 0.7508 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5232, allocations: 0 / 0.7508 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.5233, allocations: 0 / 0.7508 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.5233, allocations: 3.938 kB / 0.7509 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.5238, allocations: 237.5 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006078/0.5245, allocations: 90.45 kB / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.5245, allocations: 17.02 kB / 0.7512 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.5246, allocations: 3.984 kB / 0.7512 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.5247, allocations: 51.41 kB / 0.7512 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.066e-06/0.5248, allocations: 0 / 0.7512 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002186/0.525, allocations: 53.67 kB / 0.7513 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.525, allocations: 51.41 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.344e-05/0.5251, allocations: 101 kB / 0.7514 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.5252, allocations: 29.7 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.5252, allocations: 88.05 kB / 0.7515 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.5253, allocations: 7.906 kB / 0.7516 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.5253, allocations: 0 / 0.7516 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5255, allocations: 318.8 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.5255, allocations: 4 kB / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/0.5255, allocations: 17.72 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.5256, allocations: 15.98 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5256, allocations: 0 / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001153/0.5257, allocations: 53.62 kB / 0.7519 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5258, allocations: 8 kB / 0.7519 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.5258, allocations: 0 / 0.7519 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.5258, allocations: 0 / 0.7519 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.5259, allocations: 11.92 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.5259, allocations: 0 / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.53e-05/0.526, allocations: 4 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.526, allocations: 15.97 kB / 0.752 GB, free: 10.71 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 7.889e-05/0.5261, allocations: 101 kB / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001053/0.5262, allocations: 53.62 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.5262, allocations: 7.906 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.5263, allocations: 8.719 kB / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5263, allocations: 0 / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.5263, allocations: 7.938 kB / 0.7522 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5263, allocations: 0 / 0.7522 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.5265, allocations: 146.2 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5265, allocations: 4 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.5265, allocations: 0 / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5266, allocations: 4 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.5266, allocations: 3.984 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5266, allocations: 3.938 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5266, allocations: 0 / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.5268, allocations: 77.08 kB / 0.7524 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.5268, allocations: 81.02 kB / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.5269, allocations: 4 kB / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-05/0.527, allocations: 11.98 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.527, allocations: 3.938 kB / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.527, allocations: 4 kB / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.474e-05/0.5271, allocations: 87.27 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5271, allocations: 0 / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002362/0.5274, allocations: 8 kB / 0.7526 GB, free: 10.02 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.0004462/0.5278, allocations: 0.6093 MB / 0.7532 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.5279, allocations: 23.94 kB / 0.7532 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5279, allocations: 0 / 0.7532 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.528, allocations: 12 kB / 0.7532 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.5282, allocations: 8.672 kB / 0.7532 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.5286, allocations: 102 kB / 0.7533 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.5289, allocations: 0.6846 MB / 0.754 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.529, allocations: 4 kB / 0.754 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.529, allocations: 7.438 kB / 0.754 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.529, allocations: 0 / 0.754 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.5592, allocations: 0.8991 MB / 0.7549 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/0.5596, allocations: 169 kB / 0.755 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/2.793, allocations: 0 / 0.755 GB, free: 7.391 MB / 0.6355 GB