Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.279/1.279, allocations: 252 MB / 267.9 MB, free: 10.93 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.0009197/0.0009196, allocations: 186.3 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.4 MB / 0.5785 GB, free: 20.17 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.0006862/0.0006862, allocations: 94.34 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003116, allocations: 14.03 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1458, allocations: 106.3 MB / 0.9012 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.282, allocations: 133.8 MB / 1.032 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.2823, allocations: 91.92 kB / 1.032 GB, free: 9.66 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.008235/0.2905, allocations: 3.078 MB / 1.035 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2905, allocations: 0 / 1.035 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.2905, allocations: 4 kB / 1.035 GB, free: 6.57 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000442/0.291, allocations: 458.5 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.291, allocations: 8.031 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.2911, allocations: 12.84 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.2912, allocations: 180.2 kB / 1.036 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.2912, allocations: 4.375 kB / 1.036 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.2912, allocations: 8.375 kB / 1.036 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.2914, allocations: 98.12 kB / 1.036 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2914, allocations: 4.125 kB / 1.036 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.2915, allocations: 3.938 kB / 1.036 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2915, allocations: 0 / 1.036 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.2916, allocations: 55.91 kB / 1.036 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.2921, allocations: 324.8 kB / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.2922, allocations: 66.5 kB / 1.036 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.564e-05/0.2923, allocations: 52.83 kB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.2924, allocations: 0 / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.2925, allocations: 103.4 kB / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.2926, allocations: 0 / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.000428/0.293, allocations: 197.5 kB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.293, allocations: 51.41 kB / 1.037 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.2931, allocations: 133 kB / 1.037 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2932, allocations: 29.7 kB / 1.037 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.2932, allocations: 96.27 kB / 1.037 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.2932, allocations: 19.95 kB / 1.037 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.2933, allocations: 0 / 1.037 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2934, allocations: 326.8 kB / 1.037 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.481e-05/0.2935, allocations: 27.98 kB / 1.037 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.2936, allocations: 83.47 kB / 1.037 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.2937, allocations: 113.9 kB / 1.037 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2937, allocations: 8 kB / 1.037 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002331/0.294, allocations: 129.4 kB / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.294, allocations: 11.94 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.294, allocations: 384 / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.294, allocations: 4 kB / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.186e-05/0.2941, allocations: 20.14 kB / 1.038 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.2941, allocations: 4 kB / 1.038 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.495e-05/0.2942, allocations: 23.86 kB / 1.038 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2942, allocations: 4 kB / 1.038 GB, free: 3.688 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,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 (15): * Single equations (assignments): 15 * 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.709e-05/0.2943, allocations: 131.7 kB / 1.038 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.2943, allocations: 7.906 kB / 1.038 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.2944, allocations: 8.375 kB / 1.038 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2944, allocations: 8 kB / 1.038 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2944, allocations: 0 / 1.038 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2944, allocations: 3.984 kB / 1.038 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.2949, allocations: 438.3 kB / 1.038 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2949, allocations: 0 / 1.038 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.295, allocations: 4 kB / 1.038 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.295, allocations: 4 kB / 1.038 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.295, allocations: 7.984 kB / 1.038 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.295, allocations: 0 / 1.038 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.295, allocations: 0 / 1.038 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.2953, allocations: 255.3 kB / 1.038 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.2954, allocations: 89.02 kB / 1.038 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.2954, allocations: 4 kB / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.2955, allocations: 7.984 kB / 1.038 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.2955, allocations: 7.938 kB / 1.038 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.2956, allocations: 7.922 kB / 1.038 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.496e-05/0.2956, allocations: 99.27 kB / 1.039 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2956, allocations: 0 / 1.039 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002878/0.2959, allocations: 55.88 kB / 1.039 GB, free: 2.473 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: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002856/0.2962, allocations: 177.5 kB / 1.039 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.2964, allocations: 96.14 kB / 1.039 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2964, allocations: 4 kB / 1.039 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.2966, allocations: 51.97 kB / 1.039 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.2968, allocations: 14.94 kB / 1.039 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.2972, allocations: 227.2 kB / 1.039 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.2974, allocations: 0.6926 MB / 1.04 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.787e-05/0.2975, allocations: 12.16 kB / 1.04 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.2975, allocations: 11.44 kB / 1.04 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.2975, allocations: 0 / 1.04 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of Templates: time 0.003614/0.3011, allocations: 1.725 MB / 1.042 GB, free: 15.44 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)