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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004213/0.004218, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.00117/0.00117, allocations: 175.3 kB / 16.7 MB, free: 5.453 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 3.9/3.9, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.215/4.215, allocations: 472.3 MB / 0.9024 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000653/0.0006534, allocations: 8.219 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1819, allocations: 98.73 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.809/0.991, allocations: 124.7 MB / 1.226 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.9913, allocations: 77.56 kB / 1.226 GB, free: 28.33 MB / 0.6198 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.008512/0.9999, allocations: 2.028 MB / 1.228 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9999, allocations: 3.938 kB / 1.228 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.9999, allocations: 2.438 kB / 1.228 GB, free: 27.12 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.000414/1, allocations: 383.9 kB / 1.229 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1, allocations: 8.031 kB / 1.229 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/1, allocations: 0.9375 kB / 1.229 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.717e-05/1.001, allocations: 169.2 kB / 1.229 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/1.001, allocations: 0 / 1.229 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/1.001, allocations: 4 kB / 1.229 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/1.001, allocations: 45.91 kB / 1.229 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/1.001, allocations: 0 / 1.229 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/1.001, allocations: 0 / 1.229 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/1.001, allocations: 0 / 1.229 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.855e-05/1.001, allocations: 7.141 kB / 1.229 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/1.001, allocations: 161.9 kB / 1.229 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.057e-05/1.001, allocations: 30.31 kB / 1.229 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/1.001, allocations: 17.7 kB / 1.229 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/1.001, allocations: 0 / 1.229 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/1.001, allocations: 56.78 kB / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.195e-06/1.001, allocations: 0 / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002397/1.002, allocations: 62.98 kB / 1.229 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/1.002, allocations: 59.02 kB / 1.229 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/1.002, allocations: 95.64 kB / 1.23 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/1.002, allocations: 25.7 kB / 1.23 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/1.002, allocations: 84.12 kB / 1.23 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/1.002, allocations: 11.84 kB / 1.23 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/1.002, allocations: 0 / 1.23 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.002, allocations: 319.7 kB / 1.23 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/1.002, allocations: 12.94 kB / 1.23 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.477e-05/1.002, allocations: 35.95 kB / 1.23 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/1.002, allocations: 8.172 kB / 1.23 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.002, allocations: 4 kB / 1.23 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001229/1.002, allocations: 67.72 kB / 1.23 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.002, allocations: 4 kB / 1.23 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.002, allocations: 4 kB / 1.23 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.002, allocations: 7.312 kB / 1.23 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/1.002, allocations: 13.58 kB / 1.23 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/1.002, allocations: 0 / 1.23 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.592e-05/1.002, allocations: 7.906 kB / 1.23 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/1.002, allocations: 0 / 1.23 GB, free: 25.36 MB / 0.6198 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 () * Number of clocked 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 9.068e-05/1.003, allocations: 122.6 kB / 1.23 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/1.003, allocations: 0 / 1.23 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/1.003, allocations: 7.219 kB / 1.23 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.003, allocations: 4 kB / 1.23 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.003, allocations: 4.578 kB / 1.23 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.003, allocations: 0 / 1.23 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/1.003, allocations: 155.9 kB / 1.23 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.003, allocations: 4.328 kB / 1.23 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.615e-05/1.003, allocations: 0 / 1.23 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.003, allocations: 0 / 1.23 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/1.003, allocations: 5.219 kB / 1.23 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.003, allocations: 0 / 1.23 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.003, allocations: 3.938 kB / 1.23 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/1.003, allocations: 89.73 kB / 1.23 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/1.003, allocations: 77.77 kB / 1.231 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/1.003, allocations: 0.6094 kB / 1.231 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.828e-05/1.003, allocations: 0 / 1.231 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/1.003, allocations: 8.453 kB / 1.231 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/1.003, allocations: 0 / 1.231 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.308e-05/1.003, allocations: 79.94 kB / 1.231 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/1.003, allocations: 0 / 1.231 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000381/1.004, allocations: 40.67 kB / 1.231 GB, free: 24.73 MB / 0.6198 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 () * Number of clocked 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.0004448/1.004, allocations: 166.9 kB / 1.231 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001423/1.004, allocations: 30.02 kB / 1.231 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.004, allocations: 4 kB / 1.231 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.848e-05/1.004, allocations: 8.875 kB / 1.231 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/1.005, allocations: 13.39 kB / 1.231 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/1.005, allocations: 115.5 kB / 1.231 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/1.006, allocations: 0.6841 MB / 1.232 GB, free: 39.72 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.964e-05/1.006, allocations: 1.453 kB / 1.232 GB, free: 39.72 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/1.006, allocations: 11.44 kB / 1.232 GB, free: 39.72 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/1.006, allocations: 0 / 1.232 GB, free: 39.72 MB / 0.6355 GB Notification: Performance of Templates: time 0.006152/1.012, allocations: 1.12 MB / 1.233 GB, free: 39.18 MB / 0.6355 GB