Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadModel(Buildings): time 3.966/3.966, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.963e-05, allocations: 4 kB / 0.5325 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5013, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.6995, allocations: 123.9 MB / 0.7499 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.6998, allocations: 67.97 kB / 0.75 GB, free: 3.547 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.008019/0.7078, allocations: 2.015 MB / 0.752 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.842e-06/0.7078, allocations: 0 / 0.752 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.839e-06/0.7078, allocations: 0 / 0.752 GB, free: 1.527 MB / 0.6198 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.0004522/0.7083, allocations: 376.1 kB / 0.7523 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.7084, allocations: 8.031 kB / 0.7523 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.7084, allocations: 3.953 kB / 0.7523 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.7086, allocations: 163.1 kB / 0.7525 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.7086, allocations: 4 kB / 0.7525 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.7086, allocations: 3.984 kB / 0.7525 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.825e-05/0.7087, allocations: 15.92 kB / 0.7525 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.511e-05/0.7088, allocations: 37.62 kB / 0.7526 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.7088, allocations: 0 / 0.7526 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.272e-06/0.7088, allocations: 0 / 0.7526 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-06/0.7088, allocations: 0 / 0.7526 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.709, allocations: 138.2 kB / 0.7527 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.999e-05/0.7091, allocations: 26.58 kB / 0.7527 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.7091, allocations: 12.86 kB / 0.7527 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.456e-06/0.7091, allocations: 0 / 0.7527 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.7093, allocations: 55.44 kB / 0.7528 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.3e-06/0.7093, allocations: 0 / 0.7528 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001775/0.7095, allocations: 57.58 kB / 0.7528 GB, free: 492 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.7095, allocations: 59.41 kB / 0.7529 GB, free: 420 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/0.7096, allocations: 85 kB / 0.753 GB, free: 328 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.7096, allocations: 25.7 kB / 0.753 GB, free: 296 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.7097, allocations: 88.14 kB / 0.7531 GB, free: 204 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.7097, allocations: 3.906 kB / 0.7531 GB, free: 200 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-06/0.7097, allocations: 0 / 0.7531 GB, free: 200 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.7099, allocations: 318.8 kB / 0.7534 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/0.71, allocations: 8 kB / 0.7534 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.935e-05/0.71, allocations: 35.56 kB / 0.7534 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.513e-05/0.7101, allocations: 11.92 kB / 0.7534 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.533e-06/0.7101, allocations: 0 / 0.7534 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001342/0.7102, allocations: 65.62 kB / 0.7535 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.7102, allocations: 7.938 kB / 0.7535 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.696e-06/0.7103, allocations: 4.094 kB / 0.7535 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.7103, allocations: 4 kB / 0.7535 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.7104, allocations: 4 kB / 0.7535 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.906e-06/0.7104, allocations: 4 kB / 0.7535 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.441e-05/0.7104, allocations: 3.906 kB / 0.7535 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.7105, allocations: 4 kB / 0.7535 GB, free: 15.71 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001014/0.7106, allocations: 116.9 kB / 0.7536 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.7106, allocations: 3.938 kB / 0.7536 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.7106, allocations: 4.125 kB / 0.7536 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-06/0.7106, allocations: 8 kB / 0.7537 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.356e-06/0.7107, allocations: 0 / 0.7537 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7107, allocations: 0 / 0.7537 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.7108, allocations: 130.2 kB / 0.7538 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-06/0.7108, allocations: 0 / 0.7538 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.7109, allocations: 3.953 kB / 0.7538 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.02e-06/0.7109, allocations: 0 / 0.7538 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.7109, allocations: 4 kB / 0.7538 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.02e-06/0.7109, allocations: 0 / 0.7538 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.648e-06/0.7109, allocations: 3.938 kB / 0.7538 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.7111, allocations: 89.19 kB / 0.7539 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.7111, allocations: 77.11 kB / 0.754 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.7112, allocations: 3.953 kB / 0.754 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.159e-05/0.7112, allocations: 2.141 kB / 0.754 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.7112, allocations: 7.984 kB / 0.754 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.178e-06/0.7113, allocations: 0 / 0.754 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.742e-05/0.7113, allocations: 75.28 kB / 0.754 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.983e-06/0.7113, allocations: 0 / 0.754 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000361/0.7117, allocations: 47.97 kB / 0.7541 GB, free: 15.06 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0004398/0.7122, allocations: 164.9 kB / 0.7542 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.865e-05/0.7123, allocations: 23.94 kB / 0.7543 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.638e-06/0.7123, allocations: 4.125 kB / 0.7543 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.576e-05/0.7123, allocations: 16 kB / 0.7543 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/0.7125, allocations: 2.062 kB / 0.7543 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/0.7127, allocations: 67.88 kB / 0.7543 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.713, allocations: 0.6768 MB / 0.755 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.7131, allocations: 11.89 kB / 0.755 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.7131, allocations: 7.438 kB / 0.755 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of SimCode: time 1.565e-06/0.7131, allocations: 0 / 0.755 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.004164/0.7173, allocations: 1.123 MB / 0.7561 GB, free: 12.92 MB / 0.6355 GB