Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01442/0.01442, allocations: 89.05 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001202/0.001202, allocations: 167.9 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.078/2.078, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.833/2.833, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004979, allocations: 12.48 kB / 0.6243 GB, free: 21.21 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2754, allocations: 106.2 MB / 0.7281 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001837/0.2773, allocations: 1.032 MB / 0.7291 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005024/0.2778, allocations: 182 kB / 0.7293 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.2779, allocations: 3.938 kB / 0.7293 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.2779, allocations: 0 / 0.7293 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.443e-05/0.278, allocations: 8 kB / 0.7293 GB, free: 6.895 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.2781, allocations: 4 kB / 0.7293 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.414e-05/0.2782, allocations: 23.95 kB / 0.7293 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.2783, allocations: 11.94 kB / 0.7293 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.129e-05/0.2784, allocations: 15.92 kB / 0.7293 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.2785, allocations: 7.938 kB / 0.7293 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.2785, allocations: 0 / 0.7293 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.2785, allocations: 0 / 0.7293 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.2785, allocations: 11.98 kB / 0.7293 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.2786, allocations: 25.7 kB / 0.7294 GB, free: 6.789 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 6.786e-05/0.2787, allocations: 19.89 kB / 0.7294 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2787, allocations: 0 / 0.7294 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2787, allocations: 3.938 kB / 0.7294 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2787, allocations: 4 kB / 0.7294 GB, free: 6.762 MB / 0.5573 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.0005659/0.2793, allocations: 343.6 kB / 0.7297 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.2794, allocations: 8.031 kB / 0.7297 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.2794, allocations: 30.56 kB / 0.7298 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.2795, allocations: 11.91 kB / 0.7298 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.2797, allocations: 167 kB / 0.7299 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.2797, allocations: 4 kB / 0.7299 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.2797, allocations: 4 kB / 0.7299 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.2798, allocations: 45.67 kB / 0.73 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2799, allocations: 0 / 0.73 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2799, allocations: 0 / 0.73 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2799, allocations: 0 / 0.73 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.994e-05/0.28, allocations: 19.92 kB / 0.73 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.2804, allocations: 256.9 kB / 0.7302 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.281, allocations: 90.52 kB / 0.7303 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.281, allocations: 4 kB / 0.7303 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.2812, allocations: 59.48 kB / 0.7304 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.993e-06/0.2812, allocations: 0 / 0.7304 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0002294/0.2815, allocations: 61.59 kB / 0.7304 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.2815, allocations: 59.36 kB / 0.7305 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.2817, allocations: 109.8 kB / 0.7306 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.2817, allocations: 29.7 kB / 0.7306 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.2818, allocations: 84.14 kB / 0.7307 GB, free: 5.191 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.2818, allocations: 11.84 kB / 0.7307 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.2818, allocations: 4 kB / 0.7307 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2819, allocations: 318.8 kB / 0.731 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.813e-05/0.282, allocations: 8 kB / 0.731 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.838e-05/0.2821, allocations: 29.59 kB / 0.7311 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/0.2821, allocations: 4 kB / 0.7311 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2821, allocations: 0 / 0.7311 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000128/0.2823, allocations: 57.69 kB / 0.7311 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.2823, allocations: 8 kB / 0.7311 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2823, allocations: 0 / 0.7311 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2823, allocations: 0 / 0.7311 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.03e-05/0.2824, allocations: 11.92 kB / 0.7312 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2824, allocations: 0 / 0.7312 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.441e-05/0.2825, allocations: 11.86 kB / 0.7312 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.2825, allocations: 8 kB / 0.7312 GB, free: 4.707 MB / 0.5573 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 0.0001079/0.2826, allocations: 117.8 kB / 0.7313 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.2827, allocations: 0 / 0.7313 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.929e-05/0.2827, allocations: 11.89 kB / 0.7313 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2828, allocations: 4 kB / 0.7313 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2828, allocations: 0 / 0.7313 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2828, allocations: 0 / 0.7313 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.283, allocations: 161.6 kB / 0.7315 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.283, allocations: 4 kB / 0.7315 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.283, allocations: 0 / 0.7315 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.283, allocations: 0 / 0.7315 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2831, allocations: 4 kB / 0.7315 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2831, allocations: 0 / 0.7315 GB, free: 4.344 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2831, allocations: 4.234 kB / 0.7315 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.2833, allocations: 92.91 kB / 0.7316 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.2833, allocations: 77.11 kB / 0.7316 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.2834, allocations: 7.984 kB / 0.7316 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.2834, allocations: 4 kB / 0.7316 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.2835, allocations: 7.984 kB / 0.7316 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.2835, allocations: 4.375 kB / 0.7316 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.858e-05/0.2836, allocations: 87.28 kB / 0.7317 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2836, allocations: 0 / 0.7317 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002672/0.2839, allocations: 8 kB / 0.7317 GB, free: 4.02 MB / 0.5573 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.0005107/0.2844, allocations: 0.6241 MB / 0.7323 GB, free: 3.367 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.2846, allocations: 23.98 kB / 0.7324 GB, free: 3.344 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.2846, allocations: 0 / 0.7324 GB, free: 3.344 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.904e-05/0.2846, allocations: 19.88 kB / 0.7324 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.2849, allocations: 4 kB / 0.7324 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009125/0.2858, allocations: 0.5552 MB / 0.7329 GB, free: 2.711 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.2861, allocations: 0.6848 MB / 0.7336 GB, free: 2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.19e-05/0.2862, allocations: 0 / 0.7336 GB, free: 2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.2862, allocations: 11.44 kB / 0.7336 GB, free: 1.988 MB / 0.5573 GB Notification: Performance of SimCode: time 7.52e-07/0.2863, allocations: 0 / 0.7336 GB, free: 1.988 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.3058, allocations: 1.224 MB / 0.7348 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003356/0.3062, allocations: 200.3 kB / 0.735 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/2.689, allocations: 0 / 0.735 GB, free: 0.6328 MB / 0.5573 GB