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.352/2.352, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 182.6 kB / 325.6 MB, free: 2.832 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.362/2.362, allocations: 205.4 MB / 0.5766 GB, free: 21.1 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.001156/0.001156, allocations: 105.9 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007451/0.0007452, allocations: 11.97 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2731, allocations: 106.3 MB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2296/0.5028, allocations: 131.6 MB / 1.027 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.5031, allocations: 63.97 kB / 1.027 GB, free: 14.12 MB / 0.6823 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.009259/0.5124, allocations: 2.045 MB / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5124, allocations: 0 / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.5125, allocations: 4 kB / 1.029 GB, free: 12.06 MB / 0.6823 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.0005287/0.513, allocations: 376.9 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5131, allocations: 12.03 kB / 1.03 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.5131, allocations: 4 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.5133, allocations: 163 kB / 1.03 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.5133, allocations: 3.938 kB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.5133, allocations: 4 kB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.5135, allocations: 41.67 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.5135, allocations: 0 / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.5135, allocations: 0 / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5135, allocations: 0 / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.454e-05/0.5136, allocations: 4 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.5138, allocations: 161.6 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.5139, allocations: 34.55 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.5139, allocations: 0 / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.5141, allocations: 52.55 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.5141, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002707/0.5144, allocations: 69.67 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.5145, allocations: 51.41 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.5145, allocations: 96.84 kB / 1.031 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.5146, allocations: 25.7 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.5146, allocations: 88.12 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.5147, allocations: 3.906 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.5147, allocations: 4 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5148, allocations: 318.8 kB / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.5149, allocations: 8.125 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.004e-05/0.5149, allocations: 35.42 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.515, allocations: 8 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.515, allocations: 0 / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001559/0.5152, allocations: 77.77 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.5152, allocations: 17.17 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5152, allocations: 4 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.5152, allocations: 0 / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.5154, allocations: 8 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5154, allocations: 0 / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.5154, allocations: 0 / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.5155, allocations: 4 kB / 1.031 GB, free: 10.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.0001168/0.5156, allocations: 121.7 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.5156, allocations: 3.906 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.5156, allocations: 11.48 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5157, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5157, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5157, allocations: 4 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.5159, allocations: 157.6 kB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5159, allocations: 0 / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.5159, allocations: 3.938 kB / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5159, allocations: 0 / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.5159, allocations: 4 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.516, allocations: 4 kB / 1.031 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.516, allocations: 4 kB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.5162, allocations: 81.11 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.5163, allocations: 81.06 kB / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.5163, allocations: 0 / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.035e-05/0.5163, allocations: 0 / 1.032 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.5164, allocations: 7.984 kB / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.5164, allocations: 0 / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.283e-05/0.5165, allocations: 87.28 kB / 1.032 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5165, allocations: 0 / 1.032 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003774/0.5169, allocations: 35.94 kB / 1.032 GB, free: 9.496 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.0004903/0.5174, allocations: 183.9 kB / 1.032 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.5175, allocations: 28.2 kB / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5176, allocations: 4.062 kB / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.026e-05/0.5176, allocations: 11.94 kB / 1.032 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.5178, allocations: 6.234 kB / 1.032 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.5181, allocations: 116.6 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.5185, allocations: 0.6809 MB / 1.033 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.11e-05/0.5185, allocations: 0 / 1.033 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.5185, allocations: 11.44 kB / 1.033 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of SimCode: time 1.303e-06/0.5185, allocations: 4 kB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of Templates: time 0.004936/0.5235, allocations: 1.105 MB / 1.034 GB, free: 7.309 MB / 0.6823 GB