Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",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.01468/0.01468, 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.001896/0.001896, allocations: 169.1 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.448/2.448, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.633/2.633, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004733, allocations: 10.62 kB / 0.6243 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2675, allocations: 106.2 MB / 0.7281 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002264/0.2698, allocations: 0.9374 MB / 0.729 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2712, allocations: 361.5 kB / 0.7293 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.2713, allocations: 0 / 0.7293 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.2713, allocations: 3.938 kB / 0.7293 GB, free: 8.895 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.382e-05/0.2714, allocations: 0 / 0.7293 GB, free: 8.895 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.272, allocations: 71.73 kB / 0.7294 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.61e-05/0.2721, allocations: 7.984 kB / 0.7294 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.387e-05/0.2722, allocations: 0 / 0.7294 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.2723, allocations: 11.98 kB / 0.7294 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.884e-05/0.2723, allocations: 11.92 kB / 0.7294 GB, free: 8.793 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.2724, allocations: 7.938 kB / 0.7294 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.2727, allocations: 63.94 kB / 0.7295 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.2727, allocations: 7.984 kB / 0.7295 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.2728, allocations: 29.64 kB / 0.7295 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.273, allocations: 55.91 kB / 0.7296 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.273, allocations: 0 / 0.7296 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.264e-06/0.273, allocations: 0 / 0.7296 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2731, allocations: 0 / 0.7296 GB, free: 8.625 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006509/0.2737, allocations: 365.1 kB / 0.7299 GB, free: 8.215 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.2738, allocations: 16.03 kB / 0.7299 GB, free: 8.199 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.548e-05/0.2739, allocations: 34.55 kB / 0.73 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.274, allocations: 0 / 0.73 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.2741, allocations: 171.2 kB / 0.7301 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.2742, allocations: 4 kB / 0.7301 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.2742, allocations: 4 kB / 0.7301 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.2744, allocations: 33.69 kB / 0.7302 GB, free: 7.902 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2744, allocations: 0 / 0.7302 GB, free: 7.902 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.2745, allocations: 7.984 kB / 0.7302 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2745, allocations: 0 / 0.7302 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.2746, allocations: 11.94 kB / 0.7302 GB, free: 7.883 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.2751, allocations: 248.8 kB / 0.7304 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.2753, allocations: 34.56 kB / 0.7305 GB, free: 7.547 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2753, allocations: 3.984 kB / 0.7305 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.2755, allocations: 59.44 kB / 0.7305 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 2.575e-06/0.2756, allocations: 0 / 0.7305 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.0003698/0.2759, allocations: 73.67 kB / 0.7306 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.276, allocations: 51.41 kB / 0.7306 GB, free: 7.332 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2761, allocations: 101.8 kB / 0.7307 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.2762, allocations: 25.7 kB / 0.7308 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.2763, allocations: 80.14 kB / 0.7308 GB, free: 7.109 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.2763, allocations: 23.92 kB / 0.7309 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.2763, allocations: 0 / 0.7309 GB, free: 7.086 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.2765, allocations: 314.8 kB / 0.7312 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-05/0.2766, allocations: 8 kB / 0.7312 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.2767, allocations: 35.36 kB / 0.7312 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.471e-05/0.2768, allocations: 12 kB / 0.7312 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2768, allocations: 4 kB / 0.7312 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002306/0.2771, allocations: 73.61 kB / 0.7313 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.2771, allocations: 7.938 kB / 0.7313 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2771, allocations: 0 / 0.7313 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.2771, allocations: 4.25 kB / 0.7313 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.2773, allocations: 7.938 kB / 0.7313 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.2773, allocations: 15.92 kB / 0.7313 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.213e-05/0.2774, allocations: 7.953 kB / 0.7313 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.2774, allocations: 4 kB / 0.7313 GB, free: 6.574 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001382/0.2776, allocations: 117.8 kB / 0.7315 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.2776, allocations: 3.906 kB / 0.7315 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/0.2777, allocations: 7.562 kB / 0.7315 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.2777, allocations: 0 / 0.7315 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.2777, allocations: 0 / 0.7315 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2777, allocations: 4 kB / 0.7315 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.2783, allocations: 302.5 kB / 0.7318 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.2783, allocations: 0 / 0.7318 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.2784, allocations: 8 kB / 0.7318 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.2784, allocations: 0 / 0.7318 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.2784, allocations: 0 / 0.7318 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2784, allocations: 0 / 0.7318 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2784, allocations: 0 / 0.7318 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.2788, allocations: 163.5 kB / 0.7319 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/0.2788, allocations: 77.11 kB / 0.732 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.2789, allocations: 4 kB / 0.732 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.279, allocations: 3.938 kB / 0.732 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.2791, allocations: 7.984 kB / 0.732 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.2791, allocations: 4 kB / 0.732 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.387e-05/0.2792, allocations: 83.23 kB / 0.7321 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.91e-07/0.2792, allocations: 0 / 0.7321 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000645/0.2799, allocations: 24 kB / 0.7321 GB, free: 5.68 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00131/0.2812, allocations: 0.7778 MB / 0.7329 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.2814, allocations: 27.94 kB / 0.7329 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.2815, allocations: 0 / 0.7329 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.2816, allocations: 19.92 kB / 0.7329 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.2819, allocations: 12.06 kB / 0.7329 GB, free: 4.828 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.2832, allocations: 0.7898 MB / 0.7337 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.2836, allocations: 0.6809 MB / 0.7344 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.876e-05/0.2837, allocations: 4 kB / 0.7344 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.2837, allocations: 7.438 kB / 0.7344 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of SimCode: time 1.123e-06/0.2837, allocations: 0 / 0.7344 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.3094, allocations: 1.649 MB / 0.736 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003874/0.3098, allocations: 246 kB / 0.7362 GB, free: 1.438 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/2.745, allocations: 0 / 0.7362 GB, free: 1.438 MB / 0.5573 GB