Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.209/2.209, 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.00153/0.001529, allocations: 176.4 kB / 325.6 MB, free: 2.84 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.407/2.407, allocations: 205.4 MB / 0.5766 GB, free: 20.71 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.001201/0.001201, allocations: 94.12 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000568/0.0005681, allocations: 14.09 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2038, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2235/0.4274, allocations: 133.5 MB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.4278, allocations: 83.95 kB / 1.029 GB, free: 11.75 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.01342/0.4412, allocations: 2.885 MB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.325e-06/0.4412, allocations: 0 / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.4413, allocations: 0 / 1.032 GB, free: 8.859 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.0006415/0.4419, allocations: 454.4 kB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.442, allocations: 12.03 kB / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.442, allocations: 19.78 kB / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.4422, allocations: 163.1 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.4422, allocations: 7.938 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.4422, allocations: 4 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.4425, allocations: 69.66 kB / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4425, allocations: 3.984 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.4426, allocations: 0 / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.4426, allocations: 8 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.4428, allocations: 43.97 kB / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006384/0.4435, allocations: 300.7 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.4437, allocations: 58.5 kB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.4437, allocations: 4.062 kB / 1.033 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.444, allocations: 79.48 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.444, allocations: 3.938 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006439/0.4447, allocations: 153.7 kB / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.4447, allocations: 55.41 kB / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.4448, allocations: 108.9 kB / 1.034 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.4449, allocations: 33.7 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.4449, allocations: 88.31 kB / 1.034 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.445, allocations: 23.8 kB / 1.034 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.445, allocations: 0 / 1.034 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4451, allocations: 322.8 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.4453, allocations: 23.98 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.4454, allocations: 61.14 kB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.4456, allocations: 31.98 kB / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4456, allocations: 3.938 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003761/0.446, allocations: 121.4 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.446, allocations: 4 kB / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.446, allocations: 4.078 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4461, allocations: 0 / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.4462, allocations: 15.98 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.4462, allocations: 11.94 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.4464, allocations: 12.16 kB / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.4464, allocations: 4 kB / 1.034 GB, free: 6.348 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.0001175/0.4465, allocations: 124 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.4465, allocations: 7.906 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.4466, allocations: 8.375 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4466, allocations: 4 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4466, allocations: 0 / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.4466, allocations: 3.953 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006699/0.4473, allocations: 382.4 kB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4473, allocations: 0 / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.516e-05/0.4474, allocations: 15.86 kB / 1.035 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4474, allocations: 0 / 1.035 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.4474, allocations: 4 kB / 1.035 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4475, allocations: 3.953 kB / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4475, allocations: 0 / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.4479, allocations: 221.1 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.448, allocations: 85.02 kB / 1.035 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.448, allocations: 0 / 1.035 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.4482, allocations: 7.984 kB / 1.035 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.4482, allocations: 11.95 kB / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.4483, allocations: 0 / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.911e-05/0.4483, allocations: 99.92 kB / 1.035 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4483, allocations: 0 / 1.035 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004285/0.4488, allocations: 43.92 kB / 1.035 GB, free: 5.25 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.0004652/0.4493, allocations: 178.1 kB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.4496, allocations: 71.89 kB / 1.036 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4497, allocations: 0 / 1.036 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.4498, allocations: 35.98 kB / 1.036 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.4501, allocations: 18.48 kB / 1.036 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.4507, allocations: 219 kB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.451, allocations: 0.6965 MB / 1.036 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.49e-05/0.451, allocations: 4.188 kB / 1.036 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.4511, allocations: 7.438 kB / 1.036 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of SimCode: time 9.41e-07/0.4511, allocations: 0 / 1.036 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of Templates: time 0.006821/0.4579, allocations: 1.512 MB / 1.038 GB, free: 2.473 MB / 0.6823 GB