Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.276/2.276, allocations: 253.2 MB / 260.6 MB, free: 7.387 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001446, allocations: 181.8 kB / 319.9 MB, free: 3.051 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.252/2.252, allocations: 205.6 MB / 0.5709 GB, free: 15.26 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 78.7 kB / 0.6751 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.015e-05/2.016e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1978, allocations: 106.3 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8723/1.07, allocations: 131.8 MB / 1.017 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.071, allocations: 71.58 kB / 1.017 GB, free: 5.496 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.008651/1.079, allocations: 2.012 MB / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/1.079, allocations: 0.5938 kB / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.654e-06/1.079, allocations: 0 / 1.019 GB, free: 3.777 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.0004672/1.08, allocations: 371.9 kB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/1.08, allocations: 16.02 kB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/1.08, allocations: 3.938 kB / 1.02 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/1.08, allocations: 167 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/1.08, allocations: 0 / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/1.08, allocations: 4 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.069e-05/1.08, allocations: 4 kB / 1.02 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.422e-05/1.08, allocations: 37 kB / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.08, allocations: 4 kB / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/1.08, allocations: 0 / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.08, allocations: 0 / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/1.08, allocations: 134.2 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.192e-05/1.081, allocations: 30.05 kB / 1.02 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/1.081, allocations: 16.3 kB / 1.02 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/1.081, allocations: 0 / 1.02 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/1.081, allocations: 55.06 kB / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.774e-06/1.081, allocations: 0 / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002009/1.081, allocations: 48.56 kB / 1.02 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/1.081, allocations: 55.39 kB / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/1.081, allocations: 96.16 kB / 1.02 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/1.081, allocations: 25.7 kB / 1.02 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/1.081, allocations: 86.8 kB / 1.021 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/1.081, allocations: 11.41 kB / 1.021 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/1.081, allocations: 3.938 kB / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.081, allocations: 310.8 kB / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/1.081, allocations: 7.375 kB / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.167e-05/1.082, allocations: 34.73 kB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.966e-05/1.082, allocations: 11.95 kB / 1.021 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/1.082, allocations: 0 / 1.021 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001299/1.082, allocations: 57.84 kB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.082, allocations: 11.98 kB / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.082, allocations: 0 / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.082, allocations: 0.5 kB / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/1.082, allocations: 11.19 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.082, allocations: 3.938 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.897e-05/1.082, allocations: 8.094 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/1.082, allocations: 2.062 kB / 1.021 GB, free: 2.008 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 9.847e-05/1.082, allocations: 117.4 kB / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/1.082, allocations: 7.844 kB / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/1.082, allocations: 8.203 kB / 1.021 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/1.082, allocations: 3.984 kB / 1.021 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.082, allocations: 0 / 1.021 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.413e-06/1.082, allocations: 4 kB / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/1.082, allocations: 124.8 kB / 1.021 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.082, allocations: 7.984 kB / 1.021 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/1.082, allocations: 4 kB / 1.021 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/1.082, allocations: 3.953 kB / 1.021 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/1.082, allocations: 0 / 1.021 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.082, allocations: 0 / 1.021 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.082, allocations: 0 / 1.021 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/1.083, allocations: 85.48 kB / 1.021 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/1.083, allocations: 77.11 kB / 1.021 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/1.083, allocations: 8.828 kB / 1.021 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.001e-05/1.083, allocations: 4 kB / 1.021 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/1.083, allocations: 0 / 1.021 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/1.083, allocations: 4 kB / 1.021 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.744e-05/1.083, allocations: 79.27 kB / 1.021 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.083, allocations: 0 / 1.021 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004014/1.083, allocations: 39.12 kB / 1.022 GB, free: 1.367 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.0004903/1.084, allocations: 174.3 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001278/1.084, allocations: 34.77 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.084, allocations: 0 / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/1.084, allocations: 8 kB / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/1.084, allocations: 0 / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/1.084, allocations: 78.92 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/1.085, allocations: 0.6807 MB / 1.022 GB, free: 376 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.712e-05/1.085, allocations: 4 kB / 1.022 GB, free: 372 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/1.085, allocations: 7.438 kB / 1.022 GB, free: 364 kB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/1.085, allocations: 0 / 1.022 GB, free: 364 kB / 0.6355 GB Notification: Performance of Templates: time 0.004872/1.09, allocations: 1.108 MB / 1.024 GB, free: 15.25 MB / 0.6511 GB