Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.615/1.615, allocations: 293 MB / 309 MB, free: 4.824 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.0009442/0.0009444, allocations: 176.5 kB / 378.7 MB, free: 1.027 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.463/1.463, allocations: 205.4 MB / 0.6383 GB, free: 8.121 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.000897/0.000897, allocations: 88.55 kB / 0.7527 GB, free: 62.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 16 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2256, allocations: 116.4 MB / 0.9904 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5966/0.8223, allocations: 141.1 MB / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.8226, allocations: 82.69 kB / 1.128 GB, free: 33.04 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.008077/0.8306, allocations: 3.081 MB / 1.131 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8307, allocations: 0 / 1.131 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.8307, allocations: 0 / 1.131 GB, free: 30.83 MB / 0.7292 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.0004362/0.8311, allocations: 462.1 kB / 1.132 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.8312, allocations: 8.031 kB / 1.132 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.8312, allocations: 13.53 kB / 1.132 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.215e-05/0.8313, allocations: 175.7 kB / 1.132 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.8313, allocations: 4.375 kB / 1.132 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.8314, allocations: 8.375 kB / 1.132 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.8316, allocations: 94.88 kB / 1.132 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.8316, allocations: 192 / 1.132 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.8316, allocations: 7.938 kB / 1.132 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8316, allocations: 0 / 1.132 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.8317, allocations: 52.02 kB / 1.132 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.8322, allocations: 327.8 kB / 1.132 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.8324, allocations: 73.02 kB / 1.133 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.838e-05/0.8325, allocations: 47.66 kB / 1.133 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.8325, allocations: 0 / 1.133 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.8327, allocations: 104.5 kB / 1.133 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.8327, allocations: 0.6562 kB / 1.133 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0004138/0.8331, allocations: 189.1 kB / 1.133 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.8331, allocations: 59.34 kB / 1.133 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.73e-05/0.8332, allocations: 133.5 kB / 1.133 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.8333, allocations: 28.94 kB / 1.133 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.8333, allocations: 93.03 kB / 1.133 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.8333, allocations: 27.05 kB / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.8333, allocations: 0 / 1.133 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.8334, allocations: 318.2 kB / 1.133 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.372e-05/0.8335, allocations: 35.38 kB / 1.134 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.64e-05/0.8336, allocations: 73.33 kB / 1.134 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.8338, allocations: 118.3 kB / 1.134 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.8338, allocations: 4.656 kB / 1.134 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002233/0.834, allocations: 142.3 kB / 1.134 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.834, allocations: 8 kB / 1.134 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.834, allocations: 0 / 1.134 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.834, allocations: 4 kB / 1.134 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.562e-05/0.8341, allocations: 19.86 kB / 1.134 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.8342, allocations: 4 kB / 1.134 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.8342, allocations: 12.75 kB / 1.134 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.8342, allocations: 8 kB / 1.134 GB, free: 28.15 MB / 0.7292 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 7.256e-05/0.8343, allocations: 129 kB / 1.134 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.8343, allocations: 7.906 kB / 1.134 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.8344, allocations: 8.375 kB / 1.134 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.8344, allocations: 5.484 kB / 1.134 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.8344, allocations: 0 / 1.134 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.8344, allocations: 4.266 kB / 1.134 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.8348, allocations: 442.2 kB / 1.134 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8349, allocations: 0 / 1.134 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.8349, allocations: 5.438 kB / 1.134 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.8349, allocations: 0 / 1.134 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.8349, allocations: 7.375 kB / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8349, allocations: 4.5 kB / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8349, allocations: 0 / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.8352, allocations: 259 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.8353, allocations: 81.02 kB / 1.135 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.8353, allocations: 11.59 kB / 1.135 GB, free: 27.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.879e-05/0.8354, allocations: 8 kB / 1.135 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.8354, allocations: 7.984 kB / 1.135 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.8355, allocations: 7.406 kB / 1.135 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.8355, allocations: 104 kB / 1.135 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8355, allocations: 0 / 1.135 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002909/0.8358, allocations: 51.88 kB / 1.135 GB, free: 27.02 MB / 0.7292 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.0003258/0.8361, allocations: 175.1 kB / 1.135 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.8364, allocations: 105.2 kB / 1.135 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8364, allocations: 0 / 1.135 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.8365, allocations: 56.75 kB / 1.135 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.8368, allocations: 7.516 kB / 1.135 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.8372, allocations: 220.4 kB / 1.136 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.8373, allocations: 0.6995 MB / 1.136 GB, free: 25.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.085e-05/0.8374, allocations: 4 kB / 1.136 GB, free: 25.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.8374, allocations: 11.44 kB / 1.136 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.8374, allocations: 0 / 1.136 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of Templates: time 0.004715/0.8421, allocations: 1.722 MB / 1.138 GB, free: 24.83 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)