Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.657/1.657, allocations: 285.6 MB / 293.1 MB, free: 10.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 176.9 kB / 361.4 MB, free: 6.836 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.3 MB / 0.62 GB, free: 11.68 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008631/0.000863, allocations: 96.41 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.761e-05/1.771e-05, allocations: 4 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7473/0.7473, allocations: 115.3 MB / 0.9644 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2088/0.9562, allocations: 139.3 MB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.9565, allocations: 79.95 kB / 1.101 GB, free: 448 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.009107/0.9657, allocations: 3.033 MB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9657, allocations: 0.5938 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.9657, allocations: 4 kB / 1.103 GB, free: 13.45 MB / 0.7136 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.0005809/0.9663, allocations: 447.1 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.9664, allocations: 9.156 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.9664, allocations: 12.94 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.9666, allocations: 180.5 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.9667, allocations: 0.8438 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.9667, allocations: 5.438 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001137/0.9668, allocations: 36.42 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.967, allocations: 70.16 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.967, allocations: 4.719 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.967, allocations: 0 / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.967, allocations: 0.625 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.9676, allocations: 299.5 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.9678, allocations: 55.64 kB / 1.105 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.341e-05/0.9679, allocations: 33.42 kB / 1.105 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.9679, allocations: 4.938 kB / 1.105 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.9681, allocations: 81.27 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.9681, allocations: 4.844 kB / 1.105 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003616/0.9684, allocations: 133.5 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.9685, allocations: 61.34 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.9686, allocations: 111.3 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.9687, allocations: 25.7 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.9687, allocations: 92.28 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.9688, allocations: 27.48 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.9688, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.9689, allocations: 326.8 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.969, allocations: 16 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.9691, allocations: 66.88 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.562e-05/0.9691, allocations: 26.55 kB / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.9691, allocations: 4 kB / 1.106 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001786/0.9693, allocations: 109.4 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.9693, allocations: 4 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.9694, allocations: 4 kB / 1.106 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.9694, allocations: 0 / 1.106 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/0.9695, allocations: 12 kB / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.9695, allocations: 15.2 kB / 1.106 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.212e-05/0.9696, allocations: 8.469 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.9696, allocations: 12 kB / 1.106 GB, free: 10.99 MB / 0.7136 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 () * 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 9.882e-05/0.9697, allocations: 120.9 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.9698, allocations: 7.906 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.9698, allocations: 12.61 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.9698, allocations: 96 / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.9698, allocations: 7.5 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.9698, allocations: 3.984 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.9703, allocations: 383 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.9703, allocations: 7.984 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.9703, allocations: 11.94 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.9704, allocations: 0 / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.9704, allocations: 3.984 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.9704, allocations: 0 / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9704, allocations: 0 / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.9707, allocations: 227.3 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.9707, allocations: 89.02 kB / 1.107 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.9708, allocations: 7.984 kB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.9709, allocations: 4 kB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.9709, allocations: 7.984 kB / 1.107 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.9709, allocations: 4 kB / 1.107 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.875e-05/0.971, allocations: 96.02 kB / 1.107 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.7e-07/0.971, allocations: 0 / 1.107 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003311/0.9714, allocations: 47.94 kB / 1.107 GB, free: 9.887 MB / 0.7136 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) * 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.0004152/0.9718, allocations: 185.5 kB / 1.107 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.972, allocations: 67.86 kB / 1.107 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.972, allocations: 0 / 1.107 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.503e-05/0.9721, allocations: 40 kB / 1.107 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.9723, allocations: 19.09 kB / 1.107 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.9727, allocations: 114.8 kB / 1.107 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.9729, allocations: 0.7001 MB / 1.108 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.696e-05/0.973, allocations: 4.188 kB / 1.108 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.973, allocations: 11.44 kB / 1.108 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of SimCode: time 3.7e-07/0.973, allocations: 4 kB / 1.108 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of Templates: time 0.004761/0.9778, allocations: 1.708 MB / 1.109 GB, free: 7.059 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)