Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.345/2.345, 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.001555/0.001555, allocations: 171.7 kB / 325.6 MB, free: 2.859 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.379/2.379, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001196/0.001195, allocations: 100.5 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006422/0.0006421, allocations: 13.62 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2305, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2215/0.452, allocations: 133.4 MB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/0.4524, allocations: 83.95 kB / 1.029 GB, free: 11.79 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.01321/0.4657, allocations: 2.893 MB / 1.032 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4657, allocations: 4 kB / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.4657, allocations: 0 / 1.032 GB, free: 8.887 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006798/0.4664, allocations: 450.4 kB / 1.033 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4665, allocations: 12.03 kB / 1.033 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.4665, allocations: 11.86 kB / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.4667, allocations: 163.1 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.4667, allocations: 4 kB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.4667, allocations: 8 kB / 1.033 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.467, allocations: 77.58 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.467, allocations: 0 / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.4671, allocations: 0 / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.4671, allocations: 4 kB / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.4673, allocations: 39.97 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006407/0.468, allocations: 308.7 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.4682, allocations: 50.5 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.4682, allocations: 0 / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.4685, allocations: 83.5 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.4685, allocations: 3.938 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006439/0.4692, allocations: 157.5 kB / 1.033 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.4693, allocations: 59.34 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.4694, allocations: 116.9 kB / 1.034 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.4694, allocations: 25.7 kB / 1.034 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.4695, allocations: 88.31 kB / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.4696, allocations: 15.81 kB / 1.034 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.4696, allocations: 0 / 1.034 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4697, allocations: 322.8 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.4699, allocations: 27.98 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.47, allocations: 57.14 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.4702, allocations: 35.98 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4702, allocations: 3.938 kB / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003763/0.4706, allocations: 117.4 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4706, allocations: 8.156 kB / 1.034 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4706, allocations: 4 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4707, allocations: 0 / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.4708, allocations: 19.92 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.4708, allocations: 7.953 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.4709, allocations: 8 kB / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.471, allocations: 4 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001165/0.4711, allocations: 121.8 kB / 1.034 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.4711, allocations: 11.91 kB / 1.034 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.4712, allocations: 12.38 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4712, allocations: 0 / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4712, allocations: 0 / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4712, allocations: 3.953 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006845/0.4719, allocations: 386.7 kB / 1.035 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4719, allocations: 4 kB / 1.035 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.472, allocations: 8.031 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.472, allocations: 3.984 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.4721, allocations: 11.94 kB / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4721, allocations: 3.953 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4721, allocations: 0 / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.4726, allocations: 213.2 kB / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.4726, allocations: 85.02 kB / 1.035 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.4727, allocations: 0 / 1.035 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.4728, allocations: 7.984 kB / 1.035 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.4729, allocations: 7.953 kB / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.4729, allocations: 8 kB / 1.035 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.183e-05/0.473, allocations: 95.86 kB / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.473, allocations: 0 / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004506/0.4735, allocations: 51.92 kB / 1.035 GB, free: 5.277 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: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00048/0.474, allocations: 168.8 kB / 1.035 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003804/0.4744, allocations: 83.94 kB / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4744, allocations: 0 / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.4746, allocations: 35.98 kB / 1.036 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.4748, allocations: 8.266 kB / 1.036 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.4754, allocations: 223.2 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.4757, allocations: 0.6887 MB / 1.036 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.288e-05/0.4758, allocations: 8.172 kB / 1.036 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.4758, allocations: 7.438 kB / 1.036 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of SimCode: time 6.61e-07/0.4758, allocations: 8 kB / 1.036 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of Templates: time 0.007445/0.4833, allocations: 1.506 MB / 1.038 GB, free: 2.508 MB / 0.6823 GB