Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01563/0.01564, allocations: 107.3 kB / 15.06 MB, free: 6.027 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.001858/0.001858, allocations: 182 kB / 15.95 MB, free: 5.953 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.081/2.081, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.4/2.4, allocations: 236.2 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006504/0.0006505, allocations: 8 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7964/0.7971, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001519/0.7987, allocations: 0.925 MB / 0.6843 GB, free: 16.13 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009029/0.7996, allocations: 350.6 kB / 0.6847 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.7997, allocations: 1.188 kB / 0.6847 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.7997, allocations: 3.938 kB / 0.6847 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.311e-05/0.7998, allocations: 5.312 kB / 0.6847 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.8003, allocations: 70.12 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.372e-05/0.8004, allocations: 8.766 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.8004, allocations: 6.578 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.8005, allocations: 7.547 kB / 0.6848 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.282e-05/0.8005, allocations: 9.594 kB / 0.6848 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.8006, allocations: 1.156 kB / 0.6848 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.8008, allocations: 68.3 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.8008, allocations: 6.875 kB / 0.6848 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.8009, allocations: 31.8 kB / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.801, allocations: 58.44 kB / 0.6849 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.8011, allocations: 0 / 0.6849 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8011, allocations: 1.531 kB / 0.6849 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.8011, allocations: 0 / 0.6849 GB, free: 15.78 MB / 0.5261 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.0004265/0.8015, allocations: 361.7 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.8016, allocations: 10.34 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.65e-05/0.8017, allocations: 31.92 kB / 0.6853 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.8017, allocations: 2.219 kB / 0.6853 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.651e-05/0.8018, allocations: 179 kB / 0.6855 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.8018, allocations: 2.172 kB / 0.6855 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.8018, allocations: 6.719 kB / 0.6855 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.802, allocations: 43.67 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.802, allocations: 0.7031 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.802, allocations: 1.219 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.802, allocations: 0 / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.626e-05/0.8021, allocations: 13.41 kB / 0.6855 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.8024, allocations: 247.5 kB / 0.6858 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.8026, allocations: 32.78 kB / 0.6858 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.8026, allocations: 3.984 kB / 0.6858 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.8028, allocations: 59.64 kB / 0.6859 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 2.605e-06/0.8028, allocations: 0 / 0.6859 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0002731/0.8031, allocations: 74.56 kB / 0.6859 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.8031, allocations: 52.56 kB / 0.686 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.8032, allocations: 106.4 kB / 0.6861 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.8032, allocations: 27.23 kB / 0.6861 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.396e-05/0.8033, allocations: 80.8 kB / 0.6862 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.8033, allocations: 19 kB / 0.6862 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.8033, allocations: 0 / 0.6862 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.25e-05/0.8034, allocations: 313.5 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.141e-05/0.8034, allocations: 14.47 kB / 0.6865 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.227e-05/0.8035, allocations: 38.44 kB / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.532e-05/0.8035, allocations: 12.52 kB / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.8035, allocations: 0 / 0.6866 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001511/0.8037, allocations: 69 kB / 0.6866 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.8037, allocations: 8.5 kB / 0.6867 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.8038, allocations: 2.531 kB / 0.6867 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.8038, allocations: 1.031 kB / 0.6867 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.8039, allocations: 13.06 kB / 0.6867 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.8039, allocations: 1.906 kB / 0.6867 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.804, allocations: 10.73 kB / 0.6867 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.804, allocations: 2 kB / 0.6867 GB, free: 13.96 MB / 0.5261 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 7.469e-05/0.8041, allocations: 113.5 kB / 0.6868 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.8041, allocations: 2.156 kB / 0.6868 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.8041, allocations: 12.45 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.8041, allocations: 5.469 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.8041, allocations: 0 / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.8042, allocations: 1.562 kB / 0.6868 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.8045, allocations: 297.8 kB / 0.6871 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.8045, allocations: 0.5156 kB / 0.6871 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.8046, allocations: 7.203 kB / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.8046, allocations: 0.9688 kB / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.8046, allocations: 0.6562 kB / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.8046, allocations: 1.906 kB / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8046, allocations: 4.156 kB / 0.6871 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.8048, allocations: 164.6 kB / 0.6873 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.8048, allocations: 87.66 kB / 0.6873 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.8049, allocations: 0.6562 kB / 0.6873 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.805, allocations: 5.469 kB / 0.6874 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.805, allocations: 2.625 kB / 0.6874 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.805, allocations: 3.391 kB / 0.6874 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.123e-05/0.8051, allocations: 85.52 kB / 0.6874 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8051, allocations: 0 / 0.6874 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004331/0.8055, allocations: 31.38 kB / 0.6875 GB, free: 13.16 MB / 0.5261 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.0007618/0.8063, allocations: 0.7679 MB / 0.6882 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.8065, allocations: 32.38 kB / 0.6883 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8065, allocations: 0 / 0.6883 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.789e-05/0.8066, allocations: 17.91 kB / 0.6883 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.8067, allocations: 1.953 kB / 0.6883 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.8075, allocations: 0.7923 MB / 0.689 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.8076, allocations: 0.6828 MB / 0.6897 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.8077, allocations: 4.219 kB / 0.6897 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.8077, allocations: 9.594 kB / 0.6897 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/0.8077, allocations: 1.219 kB / 0.6897 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.8329, allocations: 1.641 MB / 0.6913 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.8332, allocations: 253.4 kB / 0.6916 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/3.191, allocations: 1.438 kB / 0.6916 GB, free: 10.41 MB / 0.5261 GB