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.509/2.509, allocations: 252.6 MB / 265.2 MB, free: 5.723 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.001422/0.001422, allocations: 191.7 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 0.5754 GB, free: 10.46 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.001142/0.001142, allocations: 93.88 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.967e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2265, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8694/1.096, allocations: 131.5 MB / 1.023 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/1.096, allocations: 69.64 kB / 1.023 GB, free: 2.918 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.008664/1.105, allocations: 2.025 MB / 1.025 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.283e-06/1.105, allocations: 0 / 1.025 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.174e-06/1.105, allocations: 4 kB / 1.025 GB, free: 1.152 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.0004303/1.105, allocations: 363.6 kB / 1.026 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.106, allocations: 12.03 kB / 1.026 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/1.106, allocations: 0.875 kB / 1.026 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/1.106, allocations: 174.9 kB / 1.026 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/1.106, allocations: 4 kB / 1.026 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/1.106, allocations: 3.438 kB / 1.026 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/1.106, allocations: 37.69 kB / 1.026 GB, free: 492 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.106, allocations: 4 kB / 1.026 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.106, allocations: 0 / 1.026 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.106, allocations: 0 / 1.026 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.323e-05/1.106, allocations: 4 kB / 1.026 GB, free: 484 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/1.106, allocations: 156.2 kB / 1.026 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.064e-05/1.106, allocations: 40.03 kB / 1.026 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/1.106, allocations: 8.859 kB / 1.026 GB, free: 228 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/1.106, allocations: 4 kB / 1.026 GB, free: 224 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/1.107, allocations: 58.3 kB / 1.026 GB, free: 160 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/1.107, allocations: 0 / 1.026 GB, free: 160 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000201/1.107, allocations: 60.86 kB / 1.026 GB, free: 100 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/1.107, allocations: 55.34 kB / 1.026 GB, free: 32 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/1.107, allocations: 96.22 kB / 1.026 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/1.107, allocations: 29.83 kB / 1.026 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.504e-05/1.107, allocations: 80.14 kB / 1.027 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/1.107, allocations: 11.66 kB / 1.027 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/1.107, allocations: 0 / 1.027 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.107, allocations: 318.8 kB / 1.027 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/1.107, allocations: 7.188 kB / 1.027 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.033e-05/1.107, allocations: 31.25 kB / 1.027 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.867e-05/1.107, allocations: 12 kB / 1.027 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.107, allocations: 0 / 1.027 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000143/1.107, allocations: 72.48 kB / 1.027 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.108, allocations: 4 kB / 1.027 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.108, allocations: 0 / 1.027 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.108, allocations: 4 kB / 1.027 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.369e-05/1.108, allocations: 4.094 kB / 1.027 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/1.108, allocations: 8 kB / 1.027 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/1.108, allocations: 0 / 1.027 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/1.108, allocations: 7.312 kB / 1.027 GB, free: 15.34 MB / 0.6511 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 7.92e-05/1.108, allocations: 120.7 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/1.108, allocations: 7.906 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/1.108, allocations: 7.125 kB / 1.027 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.108, allocations: 0 / 1.027 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.108, allocations: 0 / 1.027 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.108, allocations: 0 / 1.027 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/1.108, allocations: 161.6 kB / 1.027 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.108, allocations: 3.938 kB / 1.027 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.002e-05/1.108, allocations: 4 kB / 1.027 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.108, allocations: 0 / 1.027 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/1.108, allocations: 0 / 1.027 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.108, allocations: 0 / 1.027 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.108, allocations: 0 / 1.027 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/1.108, allocations: 91.94 kB / 1.027 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/1.108, allocations: 81.11 kB / 1.027 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/1.108, allocations: 3.984 kB / 1.027 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/1.109, allocations: 0 / 1.027 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/1.109, allocations: 4 kB / 1.027 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/1.109, allocations: 0 / 1.027 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.888e-05/1.109, allocations: 75.28 kB / 1.028 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.109, allocations: 0 / 1.028 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000351/1.109, allocations: 47.23 kB / 1.028 GB, free: 14.66 MB / 0.6511 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.0004572/1.109, allocations: 174.3 kB / 1.028 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001285/1.11, allocations: 31.06 kB / 1.028 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.11, allocations: 3.938 kB / 1.028 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.207e-05/1.11, allocations: 8 kB / 1.028 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/1.11, allocations: 7.109 kB / 1.028 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/1.11, allocations: 80.56 kB / 1.028 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/1.11, allocations: 0.6809 MB / 1.029 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.422e-05/1.11, allocations: 0 / 1.029 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/1.11, allocations: 11.44 kB / 1.029 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of SimCode: time 7.32e-07/1.11, allocations: 0 / 1.029 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of Templates: time 0.004802/1.115, allocations: 1.122 MB / 1.03 GB, free: 12.54 MB / 0.6511 GB