Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.712/1.712, allocations: 297.8 MB / 313.7 MB, free: 72 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 184.4 kB / 384.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.2 MB / 0.6626 GB, free: 4.238 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007434/0.0007435, allocations: 91.84 kB / 0.7808 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004499, allocations: 12 kB / 0.9088 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7426/0.7431, allocations: 120.3 MB / 1.026 GB, free: 55.86 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.9371, allocations: 143.3 MB / 1.166 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.9374, allocations: 83.38 kB / 1.166 GB, free: 0.5586 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.009792/0.9472, allocations: 3.126 MB / 1.169 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9472, allocations: 0 / 1.169 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.9472, allocations: 1.125 kB / 1.169 GB, free: 14.34 MB / 0.7448 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.0005932/0.9478, allocations: 459.6 kB / 1.17 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.9479, allocations: 8.031 kB / 1.17 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.948, allocations: 9.453 kB / 1.17 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.9481, allocations: 175.6 kB / 1.17 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.9481, allocations: 10.73 kB / 1.17 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.9482, allocations: 12.94 kB / 1.17 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.9484, allocations: 81.81 kB / 1.17 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.9484, allocations: 1.953 kB / 1.17 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.9485, allocations: 14.52 kB / 1.17 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.9485, allocations: 0.625 kB / 1.17 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.9486, allocations: 51.36 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.9492, allocations: 323.9 kB / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.9494, allocations: 71 kB / 1.17 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.9495, allocations: 48 kB / 1.171 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.9496, allocations: 5.234 kB / 1.171 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.9498, allocations: 99.53 kB / 1.171 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.9498, allocations: 0 / 1.171 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0004855/0.9503, allocations: 199.2 kB / 1.171 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.9503, allocations: 54.33 kB / 1.171 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.9504, allocations: 130.4 kB / 1.171 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.9504, allocations: 30.5 kB / 1.171 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.9505, allocations: 94.11 kB / 1.171 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.9505, allocations: 21.83 kB / 1.171 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.9506, allocations: 0.5625 kB / 1.171 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.9507, allocations: 320.1 kB / 1.171 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.9508, allocations: 36.62 kB / 1.171 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.9509, allocations: 81.11 kB / 1.172 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.9511, allocations: 117.3 kB / 1.172 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9511, allocations: 0 / 1.172 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002482/0.9513, allocations: 144.1 kB / 1.172 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.9514, allocations: 8 kB / 1.172 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9514, allocations: 0 / 1.172 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.9514, allocations: 4 kB / 1.172 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.509e-05/0.9515, allocations: 23.66 kB / 1.172 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.9515, allocations: 2.031 kB / 1.172 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.455e-05/0.9516, allocations: 13.17 kB / 1.172 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.9516, allocations: 7.266 kB / 1.172 GB, free: 11.69 MB / 0.7448 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 0.0001079/0.9517, allocations: 131 kB / 1.172 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.9517, allocations: 8.844 kB / 1.172 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.9518, allocations: 9.688 kB / 1.172 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.9518, allocations: 4 kB / 1.172 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9518, allocations: 3.391 kB / 1.172 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.9518, allocations: 0 / 1.172 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/0.9524, allocations: 431 kB / 1.172 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9524, allocations: 5.547 kB / 1.172 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.9525, allocations: 5.828 kB / 1.172 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.9525, allocations: 3.891 kB / 1.172 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.9525, allocations: 9.734 kB / 1.172 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9525, allocations: 0.5156 kB / 1.172 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9525, allocations: 0 / 1.172 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.9529, allocations: 258.8 kB / 1.173 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.9529, allocations: 85.61 kB / 1.173 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.953, allocations: 6.453 kB / 1.173 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.9531, allocations: 9.359 kB / 1.173 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.9531, allocations: 3.281 kB / 1.173 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.9531, allocations: 9.672 kB / 1.173 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.06e-05/0.9532, allocations: 96.58 kB / 1.173 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9532, allocations: 4 kB / 1.173 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003419/0.9536, allocations: 54 kB / 1.173 GB, free: 10.57 MB / 0.7448 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.0003843/0.954, allocations: 179.5 kB / 1.173 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.9542, allocations: 97.16 kB / 1.173 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9542, allocations: 0 / 1.173 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.9544, allocations: 53.89 kB / 1.173 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.9547, allocations: 12.41 kB / 1.173 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.9551, allocations: 219.8 kB / 1.173 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.9554, allocations: 0.6894 MB / 1.174 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.9554, allocations: 13.41 kB / 1.174 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.9554, allocations: 8.188 kB / 1.174 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of SimCode: time 2.364e-06/0.9555, allocations: 4 kB / 1.174 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of Templates: time 0.004723/0.9602, allocations: 1.735 MB / 1.176 GB, free: 8.383 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)