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.01119/0.01119, allocations: 108.3 kB / 15.05 MB, free: 5.93 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.001158/0.001158, allocations: 187.5 kB / 15.95 MB, free: 5.895 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.135/2.135, allocations: 194.5 MB / 211.2 MB, free: 11.28 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.5/2.5, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006354/0.0006355, allocations: 12 kB / 0.587 GB, free: 2.109 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7157/0.7164, allocations: 98.7 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2756/0.992, allocations: 124.7 MB / 0.8052 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.9924, allocations: 75.97 kB / 0.8053 GB, free: 1.438 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.008818/1.001, allocations: 2.031 MB / 0.8072 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/1.001, allocations: 0 / 0.8072 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.662e-06/1.001, allocations: 0 / 0.8072 GB, free: 15.4 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.0005363/1.002, allocations: 384.9 kB / 0.8076 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.002, allocations: 8.031 kB / 0.8076 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.689e-05/1.002, allocations: 30.56 kB / 0.8076 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/1.002, allocations: 7.953 kB / 0.8077 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/1.002, allocations: 167 kB / 0.8078 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/1.002, allocations: 8 kB / 0.8078 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/1.002, allocations: 0 / 0.8078 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/1.002, allocations: 49.61 kB / 0.8079 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.002, allocations: 0 / 0.8079 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/1.002, allocations: 0 / 0.8079 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.002, allocations: 0 / 0.8079 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.879e-05/1.002, allocations: 7.984 kB / 0.8079 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/1.003, allocations: 252.9 kB / 0.8081 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/1.003, allocations: 30.52 kB / 0.8081 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/1.003, allocations: 0 / 0.8081 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/1.003, allocations: 63.48 kB / 0.8082 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.444e-06/1.004, allocations: 0 / 0.8082 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0004229/1.004, allocations: 65.69 kB / 0.8083 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/1.004, allocations: 67.34 kB / 0.8083 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/1.004, allocations: 88.94 kB / 0.8084 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/1.004, allocations: 33.7 kB / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/1.004, allocations: 80.14 kB / 0.8085 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/1.004, allocations: 7.812 kB / 0.8085 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/1.004, allocations: 4 kB / 0.8085 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002127/1.005, allocations: 321.3 kB / 0.8088 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/1.005, allocations: 12.12 kB / 0.8089 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.239e-05/1.005, allocations: 31.42 kB / 0.8089 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.584e-05/1.005, allocations: 12 kB / 0.8089 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.005, allocations: 0 / 0.8089 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002886/1.005, allocations: 73.56 kB / 0.809 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/1.005, allocations: 7.984 kB / 0.809 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/1.005, allocations: 8.062 kB / 0.809 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/1.005, allocations: 0 / 0.809 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/1.005, allocations: 8 kB / 0.809 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/1.006, allocations: 0 / 0.809 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.261e-05/1.006, allocations: 23.67 kB / 0.809 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/1.006, allocations: 0 / 0.809 GB, free: 13.35 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 () * 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.0001581/1.006, allocations: 113.8 kB / 0.8091 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/1.006, allocations: 3.984 kB / 0.8091 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/1.006, allocations: 7.562 kB / 0.8091 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/1.006, allocations: 4 kB / 0.8091 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.006, allocations: 0 / 0.8091 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/1.006, allocations: 0 / 0.8091 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/1.007, allocations: 298.5 kB / 0.8094 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.007, allocations: 0 / 0.8094 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.154e-05/1.007, allocations: 7.984 kB / 0.8094 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-06/1.007, allocations: 0 / 0.8094 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/1.007, allocations: 4 kB / 0.8094 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/1.007, allocations: 0 / 0.8094 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.007, allocations: 0 / 0.8094 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/1.007, allocations: 163.8 kB / 0.8096 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/1.007, allocations: 93.08 kB / 0.8097 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/1.007, allocations: 4.062 kB / 0.8097 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/1.008, allocations: 4 kB / 0.8097 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/1.008, allocations: 4 kB / 0.8097 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/1.008, allocations: 0 / 0.8097 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.889e-05/1.008, allocations: 83.22 kB / 0.8098 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/1.008, allocations: 4.094 kB / 0.8098 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007979/1.009, allocations: 43.94 kB / 0.8098 GB, free: 12.42 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,$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.001615/1.01, allocations: 0.7818 MB / 0.8106 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002331/1.011, allocations: 31.98 kB / 0.8106 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/1.011, allocations: 0 / 0.8106 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.6e-05/1.011, allocations: 19.92 kB / 0.8106 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/1.011, allocations: 0 / 0.8106 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/1.012, allocations: 0.7977 MB / 0.8114 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/1.013, allocations: 0.6809 MB / 0.8121 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.687e-05/1.013, allocations: 7.984 kB / 0.8121 GB, free: 10 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/1.013, allocations: 11.44 kB / 0.8121 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of SimCode: time 1.964e-06/1.013, allocations: 0 / 0.8121 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/1.039, allocations: 1.838 MB / 0.8139 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/1.04, allocations: 241.2 kB / 0.8141 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/3.727, allocations: 0 / 0.8141 GB, free: 8.043 MB / 0.6355 GB