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 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.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.609/4.609, allocations: 432.6 MB / 445.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.251e-05, allocations: 4.344 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2195, allocations: 98.74 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.231/0.4506, allocations: 124.6 MB / 0.7564 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.451, allocations: 75.95 kB / 0.7565 GB, free: 5.035 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.008782/0.4598, allocations: 2.01 MB / 0.7584 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4598, allocations: 4 kB / 0.7584 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.4598, allocations: 0 / 0.7584 GB, free: 3.016 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004496/0.4603, allocations: 376.1 kB / 0.7588 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4603, allocations: 8.031 kB / 0.7588 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.924e-05/0.4604, allocations: 30.56 kB / 0.7588 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.4605, allocations: 11.94 kB / 0.7588 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.4606, allocations: 163.1 kB / 0.759 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.4606, allocations: 4 kB / 0.759 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.4607, allocations: 7.938 kB / 0.759 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.4608, allocations: 49.67 kB / 0.759 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4608, allocations: 0 / 0.759 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.4608, allocations: 0 / 0.759 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4608, allocations: 0 / 0.759 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.472e-05/0.4609, allocations: 4 kB / 0.759 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.4612, allocations: 248.8 kB / 0.7593 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.452e-05/0.4613, allocations: 38.52 kB / 0.7593 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.4614, allocations: 16.86 kB / 0.7593 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.4614, allocations: 96 / 0.7593 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.4616, allocations: 59.33 kB / 0.7594 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.904e-06/0.4616, allocations: 4 kB / 0.7594 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001994/0.4618, allocations: 57.69 kB / 0.7594 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.4619, allocations: 63.3 kB / 0.7595 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.462, allocations: 93 kB / 0.7596 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.462, allocations: 25.7 kB / 0.7596 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.462, allocations: 88.11 kB / 0.7597 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.4621, allocations: 19.75 kB / 0.7597 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.4621, allocations: 3.938 kB / 0.7597 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4622, allocations: 310.8 kB / 0.76 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.65e-05/0.4623, allocations: 16.12 kB / 0.76 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.4623, allocations: 37.3 kB / 0.7601 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.4624, allocations: 8 kB / 0.7601 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4624, allocations: 0 / 0.7601 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001537/0.4626, allocations: 73.55 kB / 0.7602 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.4626, allocations: 9.25 kB / 0.7602 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4626, allocations: 4.062 kB / 0.7602 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4626, allocations: 0 / 0.7602 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.4627, allocations: 8.094 kB / 0.7602 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4627, allocations: 0 / 0.7602 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.4628, allocations: 11.95 kB / 0.7602 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.4628, allocations: 7.984 kB / 0.7602 GB, free: 0.957 MB / 0.6355 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 () * 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 8.643e-05/0.4629, allocations: 105 kB / 0.7603 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.4629, allocations: 7.906 kB / 0.7603 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.463, allocations: 7.562 kB / 0.7603 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.463, allocations: 7.938 kB / 0.7603 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.463, allocations: 0 / 0.7603 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.463, allocations: 0 / 0.7603 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.4634, allocations: 294.6 kB / 0.7606 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4634, allocations: 0 / 0.7606 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.4634, allocations: 0 / 0.7606 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4634, allocations: 4 kB / 0.7606 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.4635, allocations: 4 kB / 0.7606 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4635, allocations: 128 / 0.7606 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.4635, allocations: 7.953 kB / 0.7606 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.4637, allocations: 163.5 kB / 0.7608 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.4637, allocations: 77.11 kB / 0.7608 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.4638, allocations: 0 / 0.7608 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.4639, allocations: 7.938 kB / 0.7608 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.4639, allocations: 4 kB / 0.7609 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.4639, allocations: 7.938 kB / 0.7609 GB, free: 180 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.108e-05/0.464, allocations: 83.28 kB / 0.7609 GB, free: 96 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.464, allocations: 0 / 0.7609 GB, free: 96 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003957/0.4644, allocations: 43.88 kB / 0.761 GB, free: 52 kB / 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete 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.0008931/0.4653, allocations: 0.7794 MB / 0.7617 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.4654, allocations: 27.94 kB / 0.7618 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4655, allocations: 0 / 0.7618 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.864e-05/0.4655, allocations: 15.98 kB / 0.7618 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.4657, allocations: 4 kB / 0.7618 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.4662, allocations: 124.1 kB / 0.7619 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.4665, allocations: 0.677 MB / 0.7626 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.712e-05/0.4665, allocations: 8.125 kB / 0.7626 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.4666, allocations: 7.438 kB / 0.7626 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of SimCode: time 2.875e-06/0.4666, allocations: 0 / 0.7626 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.4885, allocations: 1.867 MB / 0.7644 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/0.4888, allocations: 207.8 kB / 0.7646 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/2.857, allocations: 2.344 kB / 0.7646 GB, free: 12.32 MB / 0.6511 GB