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 4.849/4.849, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.002357/0.002356, allocations: 359.5 kB / 0.644 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 3.964/3.964, allocations: 410.7 MB / 1.112 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001793/0.001793, allocations: 184.4 kB / 1.225 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000512/0.0005125, allocations: 12 kB / 1.348 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.636/0.6365, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001101/0.6377, allocations: 0.9258 MB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006521/0.6384, allocations: 364.2 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.6384, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.6384, allocations: 5.75 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.576e-05/0.6385, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.6388, allocations: 71.8 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.1e-05/0.6389, allocations: 11.94 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.639, allocations: 8.625 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.889e-05/0.639, allocations: 4 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.728e-05/0.639, allocations: 12.55 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.6391, allocations: 1.938 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.6392, allocations: 79.8 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.6393, allocations: 7.984 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.6393, allocations: 29.7 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.6394, allocations: 51.92 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.648e-06/0.6394, allocations: 4.672 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.691e-06/0.6395, allocations: 3.938 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.557e-06/0.6395, allocations: 0.5938 kB / 1.462 GB, free: 282.8 MB / 0.8542 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.000333/0.6398, allocations: 364.9 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.6399, allocations: 11.62 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.6399, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.011e-05/0.64, allocations: 165.2 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.64, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.64, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.504e-05/0.6401, allocations: 42.56 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.6402, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.11e-06/0.6402, allocations: 0.7188 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-06/0.6402, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.47e-05/0.6402, allocations: 5.781 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.6404, allocations: 165.5 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.443e-05/0.6405, allocations: 31.27 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.6405, allocations: 9.609 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.6405, allocations: 0.6562 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.6407, allocations: 62.27 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.13e-06/0.6407, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0002022/0.6409, allocations: 70.44 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.6409, allocations: 55.39 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.15e-05/0.641, allocations: 100.1 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.724e-06/0.641, allocations: 25.7 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.6411, allocations: 80.14 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.6411, allocations: 19.83 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-06/0.6411, allocations: 1.281 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.6412, allocations: 322.8 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.6412, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/0.6413, allocations: 37.2 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/0.6413, allocations: 20.23 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.431e-06/0.6413, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000116/0.6414, allocations: 62.22 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.6415, allocations: 9 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.658e-06/0.6415, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6415, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.6416, allocations: 16.92 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.618e-06/0.6416, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/0.6417, allocations: 5.312 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.6417, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 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 6.181e-05/0.6417, allocations: 122.8 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.6418, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.6418, allocations: 8.5 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-06/0.6418, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.821e-06/0.6418, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.621e-06/0.6418, allocations: 2.438 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.627e-05/0.6419, allocations: 161.6 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.642, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.642, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.031e-06/0.642, allocations: 7.984 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.642, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.079e-06/0.642, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.283e-06/0.642, allocations: 4.922 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.6422, allocations: 89.86 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.6422, allocations: 85.62 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.6422, allocations: 4 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.832e-05/0.6423, allocations: 1.25 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.6423, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.6423, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.396e-05/0.6424, allocations: 84.11 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.22e-07/0.6424, allocations: 0.9062 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003051/0.6427, allocations: 28 kB / 1.464 GB, free: 280.2 MB / 0.8542 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.0003257/0.643, allocations: 167.2 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.6432, allocations: 33.52 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6432, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.6432, allocations: 8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.6434, allocations: 7.984 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.6437, allocations: 112 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.6438, allocations: 0.677 MB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.296e-05/0.6438, allocations: 4 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.6438, allocations: 11.38 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.383e-06/0.6439, allocations: 0 / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.003504/0.6474, allocations: 0.9316 MB / 1.466 GB, free: 278.4 MB / 0.8542 GB