Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.81/3.81, allocations: 251.1 MB / 266.7 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002885/0.002884, allocations: 175.4 kB / 326.2 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.014/4.014, allocations: 205.4 MB / 0.5772 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 94.8 kB / 0.6817 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007688/0.0007693, allocations: 11.47 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3924, allocations: 106.3 MB / 0.8995 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3459/0.7384, allocations: 133.5 MB / 1.03 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005797/0.739, allocations: 83.95 kB / 1.03 GB, free: 12.25 MB / 0.6823 GB [/home/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.0219/0.761, allocations: 2.916 MB / 1.033 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.497e-06/0.761, allocations: 0 / 1.033 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.7611, allocations: 0 / 1.033 GB, free: 9.328 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.001017/0.7621, allocations: 450.6 kB / 1.033 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.7622, allocations: 16.03 kB / 1.033 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.241e-05/0.7623, allocations: 8.844 kB / 1.033 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.7625, allocations: 164.4 kB / 1.033 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.7626, allocations: 4.375 kB / 1.033 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.7626, allocations: 4.375 kB / 1.033 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.7631, allocations: 78.14 kB / 1.033 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.7631, allocations: 192 / 1.033 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.7632, allocations: 7.922 kB / 1.033 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.7632, allocations: 8 kB / 1.033 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.7636, allocations: 35.98 kB / 1.033 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009784/0.7646, allocations: 300.8 kB / 1.034 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.7649, allocations: 66.36 kB / 1.034 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.7652, allocations: 32.97 kB / 1.034 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.7653, allocations: 4 kB / 1.034 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003805/0.7657, allocations: 83.38 kB / 1.034 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 4.719e-06/0.7657, allocations: 3.938 kB / 1.034 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0009762/0.7667, allocations: 141.6 kB / 1.034 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/0.7668, allocations: 63.34 kB / 1.034 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.7671, allocations: 121.8 kB / 1.034 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.7672, allocations: 29.7 kB / 1.034 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.7673, allocations: 88.08 kB / 1.034 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.7674, allocations: 19.8 kB / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.7674, allocations: 0 / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002375/0.7676, allocations: 322.8 kB / 1.035 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.7679, allocations: 23.98 kB / 1.035 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.7682, allocations: 65.12 kB / 1.035 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.7684, allocations: 31.98 kB / 1.035 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.7685, allocations: 4 kB / 1.035 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006423/0.7691, allocations: 121.4 kB / 1.035 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.7692, allocations: 8 kB / 1.035 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.7692, allocations: 0 / 1.035 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-05/0.7693, allocations: 0 / 1.035 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.7695, allocations: 20.09 kB / 1.035 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.7695, allocations: 7.984 kB / 1.035 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.7697, allocations: 8 kB / 1.035 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.7697, allocations: 4 kB / 1.035 GB, free: 6.777 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.0001894/0.7699, allocations: 121.7 kB / 1.035 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.77, allocations: 7.906 kB / 1.035 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.663e-05/0.77, allocations: 16.36 kB / 1.035 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7701, allocations: 4 kB / 1.035 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.7701, allocations: 0 / 1.035 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.7701, allocations: 0 / 1.035 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.7712, allocations: 386.3 kB / 1.035 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7713, allocations: 0 / 1.035 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.7714, allocations: 4 kB / 1.035 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.7714, allocations: 4 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.7715, allocations: 15.92 kB / 1.036 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/0.7715, allocations: 0 / 1.036 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7715, allocations: 0 / 1.036 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007321/0.7723, allocations: 207.8 kB / 1.036 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.298e-05/0.7724, allocations: 89 kB / 1.036 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.7724, allocations: 4 kB / 1.036 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.7727, allocations: 4 kB / 1.036 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.7728, allocations: 15.86 kB / 1.036 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.7728, allocations: 8 kB / 1.036 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001116/0.773, allocations: 95.86 kB / 1.036 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.91e-07/0.773, allocations: 0 / 1.036 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007954/0.7738, allocations: 43.94 kB / 1.036 GB, free: 5.672 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.0007111/0.7745, allocations: 178.8 kB / 1.036 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006627/0.7752, allocations: 79.88 kB / 1.036 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.7753, allocations: 4.312 kB / 1.036 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.7756, allocations: 35.98 kB / 1.036 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006142/0.7762, allocations: 14.31 kB / 1.036 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008658/0.7771, allocations: 223 kB / 1.036 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.7776, allocations: 0.6887 MB / 1.037 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.152e-05/0.7777, allocations: 4 kB / 1.037 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.7777, allocations: 7.438 kB / 1.037 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/0.7778, allocations: 0 / 1.037 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of Templates: time 0.009337/0.7871, allocations: 1.503 MB / 1.039 GB, free: 2.898 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)