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.644/2.644, 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.002384/0.002384, allocations: 177.5 kB / 325.6 MB, free: 2.836 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.848/2.848, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.001124/0.001124, allocations: 107.4 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006601/0.0006603, allocations: 14.91 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.248, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001402/0.2495, allocations: 0.9298 MB / 0.8998 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008691/0.2504, allocations: 369.8 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.2505, allocations: 0 / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.2505, allocations: 0 / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.448e-05/0.2505, allocations: 0 / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.251, allocations: 79.66 kB / 0.9002 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.016e-05/0.2511, allocations: 8 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.2512, allocations: 3.984 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.086e-05/0.2512, allocations: 4 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.05e-05/0.2512, allocations: 12 kB / 0.9002 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.2513, allocations: 0 / 0.9002 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.2514, allocations: 67.86 kB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.2515, allocations: 3.984 kB / 0.9003 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.2515, allocations: 29.7 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.2517, allocations: 55.92 kB / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2517, allocations: 0 / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2517, allocations: 0 / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2517, allocations: 0 / 0.9004 GB, free: 63.94 MB / 0.6042 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.0004121/0.2521, allocations: 369 kB / 0.9007 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2522, allocations: 12.03 kB / 0.9007 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.2522, allocations: 4 kB / 0.9008 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.879e-05/0.2523, allocations: 171 kB / 0.9009 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.2524, allocations: 0 / 0.9009 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.2524, allocations: 4 kB / 0.9009 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.2525, allocations: 37.67 kB / 0.901 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2525, allocations: 0 / 0.901 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2526, allocations: 0 / 0.901 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2526, allocations: 0 / 0.901 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.06e-05/0.2526, allocations: 12 kB / 0.901 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.2528, allocations: 161.6 kB / 0.9011 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.299e-05/0.2529, allocations: 30.55 kB / 0.9011 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.2529, allocations: 0 / 0.9011 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.253, allocations: 55.5 kB / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.2531, allocations: 0 / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002387/0.2533, allocations: 69.67 kB / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.2534, allocations: 55.34 kB / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.2534, allocations: 101.8 kB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.2534, allocations: 29.69 kB / 0.9014 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.315e-05/0.2535, allocations: 84.14 kB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.2535, allocations: 12.12 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.2535, allocations: 3.938 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.2536, allocations: 318.9 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.2536, allocations: 8 kB / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.202e-05/0.2537, allocations: 35.42 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.2537, allocations: 8 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2537, allocations: 4 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001531/0.2539, allocations: 73.58 kB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.2539, allocations: 8 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.254, allocations: 4.172 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.254, allocations: 0 / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.2541, allocations: 8 kB / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2542, allocations: 0 / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.198e-05/0.2542, allocations: 4 kB / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.2542, allocations: 3.984 kB / 0.902 GB, free: 62.05 MB / 0.6042 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 8.715e-05/0.2543, allocations: 117.8 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.2544, allocations: 11.95 kB / 0.9021 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.2544, allocations: 3.5 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2544, allocations: 4 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2545, allocations: 3.938 kB / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2545, allocations: 0 / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.2546, allocations: 157.6 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2546, allocations: 0 / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.2547, allocations: 0 / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2547, allocations: 0 / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2547, allocations: 4 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2547, allocations: 0 / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2547, allocations: 4 kB / 0.9023 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.2549, allocations: 81.11 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.255, allocations: 81.06 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.255, allocations: 0 / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.2551, allocations: 0 / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.2551, allocations: 7.984 kB / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2551, allocations: 0 / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.397e-05/0.2552, allocations: 83.28 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.864e-06/0.2552, allocations: 0 / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005216/0.2557, allocations: 35.92 kB / 0.9026 GB, free: 61.37 MB / 0.6042 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.0004819/0.2562, allocations: 167.5 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.2564, allocations: 28.25 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2564, allocations: 4.062 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/0.2565, allocations: 15.92 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.2567, allocations: 3.938 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.257, allocations: 112.7 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.2572, allocations: 0.6809 MB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.261e-05/0.2573, allocations: 0 / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.2573, allocations: 15.44 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/0.2573, allocations: 0 / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.005019/0.2623, allocations: 0.9191 MB / 0.9045 GB, free: 59.39 MB / 0.6042 GB