Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.021/5.021, allocations: 0.5623 GB / 0.5775 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002561/0.002561, allocations: 362.8 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.25/4.25, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001825/0.001825, allocations: 178.3 kB / 1.226 GB, free: 35.97 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004815, allocations: 16 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2279, allocations: 115.3 MB / 1.461 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9062/1.134, allocations: 137.9 MB / 1.596 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/1.135, allocations: 74.39 kB / 1.596 GB, free: 3.797 MB / 0.6667 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.01294/1.148, allocations: 2.034 MB / 1.598 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.925e-06/1.148, allocations: 0 / 1.598 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.355e-06/1.148, allocations: 1.438 kB / 1.598 GB, free: 2.039 MB / 0.6667 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.000598/1.148, allocations: 372.3 kB / 1.598 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.148, allocations: 16.02 kB / 1.598 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/1.148, allocations: 7.438 kB / 1.598 GB, free: 1.605 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/1.149, allocations: 163 kB / 1.599 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/1.149, allocations: 3.938 kB / 1.599 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/1.149, allocations: 4 kB / 1.599 GB, free: 1.398 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/1.149, allocations: 39.98 kB / 1.599 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.149, allocations: 0 / 1.599 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/1.149, allocations: 0 / 1.599 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.149, allocations: 4 kB / 1.599 GB, free: 1.355 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.8e-05/1.149, allocations: 3.984 kB / 1.599 GB, free: 1.352 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/1.149, allocations: 164.6 kB / 1.599 GB, free: 1.145 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/1.149, allocations: 29.52 kB / 1.599 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.47e-05/1.149, allocations: 15.69 kB / 1.599 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/1.149, allocations: 0 / 1.599 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/1.15, allocations: 54.09 kB / 1.599 GB, free: 1.031 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=4): time 3.296e-06/1.15, allocations: 0 / 1.599 GB, free: 1.031 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4): time 0.0003512/1.15, allocations: 71.73 kB / 1.599 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/1.15, allocations: 59.33 kB / 1.599 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/1.15, allocations: 100.6 kB / 1.599 GB, free: 0.7891 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/1.15, allocations: 29.64 kB / 1.599 GB, free: 0.7539 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/1.15, allocations: 84.14 kB / 1.599 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/1.15, allocations: 7.406 kB / 1.599 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/1.15, allocations: 0 / 1.599 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002392/1.151, allocations: 318.9 kB / 1.6 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/1.151, allocations: 11.48 kB / 1.6 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.315e-05/1.151, allocations: 30.92 kB / 1.6 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.396e-05/1.151, allocations: 15.17 kB / 1.6 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.151, allocations: 0 / 1.6 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002274/1.151, allocations: 81.58 kB / 1.6 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.151, allocations: 4 kB / 1.6 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.151, allocations: 0 / 1.6 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/1.151, allocations: 4 kB / 1.6 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/1.151, allocations: 4 kB / 1.6 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.152, allocations: 4.156 kB / 1.6 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.728e-05/1.152, allocations: 0 / 1.6 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/1.152, allocations: 6.938 kB / 1.6 GB, free: 16.19 MB / 0.6823 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 0.0001345/1.152, allocations: 126.6 kB / 1.6 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/1.152, allocations: 4 kB / 1.6 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/1.152, allocations: 6.438 kB / 1.6 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/1.152, allocations: 0 / 1.6 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.152, allocations: 0 / 1.6 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/1.152, allocations: 3.938 kB / 1.6 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/1.152, allocations: 157.1 kB / 1.6 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.152, allocations: 2.688 kB / 1.6 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/1.152, allocations: 4 kB / 1.6 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/1.152, allocations: 0 / 1.6 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/1.152, allocations: 4 kB / 1.6 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.152, allocations: 0 / 1.6 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.152, allocations: 0 / 1.6 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/1.153, allocations: 79.55 kB / 1.6 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/1.153, allocations: 88.97 kB / 1.6 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/1.153, allocations: 2.375 kB / 1.6 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.174e-05/1.153, allocations: 3.984 kB / 1.6 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/1.153, allocations: 0 / 1.6 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/1.153, allocations: 11.94 kB / 1.6 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.166e-05/1.153, allocations: 75.28 kB / 1.6 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.71e-07/1.153, allocations: 0 / 1.6 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005908/1.154, allocations: 39.67 kB / 1.6 GB, free: 15.52 MB / 0.6823 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.0006464/1.154, allocations: 176 kB / 1.6 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002151/1.155, allocations: 27.39 kB / 1.601 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.155, allocations: 0 / 1.601 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.579e-05/1.155, allocations: 15.31 kB / 1.601 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/1.155, allocations: 4 kB / 1.601 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/1.155, allocations: 115.8 kB / 1.601 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/1.156, allocations: 0.677 MB / 1.601 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.34e-05/1.156, allocations: 12.17 kB / 1.601 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/1.156, allocations: 11.38 kB / 1.601 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of SimCode: time 1.302e-06/1.156, allocations: 4 kB / 1.601 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of Templates: time 0.007022/1.163, allocations: 1.101 MB / 1.602 GB, free: 13.36 MB / 0.6823 GB