Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.295/4.295, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.002356/0.002356, allocations: 174.4 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.824/3.824, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.001405/0.001404, allocations: 90.03 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000753/0.0007533, allocations: 14.28 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3322, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3321/0.6643, allocations: 133.6 MB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004843/0.6649, allocations: 91.94 kB / 1.03 GB, free: 11.68 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.02235/0.6872, allocations: 3.08 MB / 1.033 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.456e-06/0.6873, allocations: 4 kB / 1.033 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.6873, allocations: 4 kB / 1.033 GB, free: 8.59 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.00103/0.6884, allocations: 468.5 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.6885, allocations: 8.031 kB / 1.034 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.801e-05/0.6886, allocations: 8.844 kB / 1.034 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.6888, allocations: 172.3 kB / 1.034 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.6888, allocations: 8.375 kB / 1.034 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.6889, allocations: 4.375 kB / 1.034 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/0.6894, allocations: 94.19 kB / 1.034 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.6894, allocations: 192 / 1.034 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.6895, allocations: 7.938 kB / 1.034 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6895, allocations: 0 / 1.034 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.69, allocations: 51.91 kB / 1.034 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.6911, allocations: 328.8 kB / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.6915, allocations: 70.48 kB / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.6918, allocations: 52.77 kB / 1.034 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.6919, allocations: 0 / 1.034 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004513/0.6924, allocations: 115.2 kB / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 3.567e-06/0.6924, allocations: 0 / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.00129/0.6937, allocations: 189.5 kB / 1.035 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.6938, allocations: 55.41 kB / 1.035 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.694, allocations: 131 kB / 1.035 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.6941, allocations: 33.7 kB / 1.035 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.038e-05/0.6942, allocations: 88.38 kB / 1.035 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.6943, allocations: 19.7 kB / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.6943, allocations: 8 kB / 1.035 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6945, allocations: 318.8 kB / 1.035 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.6947, allocations: 31.98 kB / 1.035 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.6949, allocations: 84.03 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.6952, allocations: 39.92 kB / 1.035 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6952, allocations: 0 / 1.035 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006788/0.6959, allocations: 137.6 kB / 1.035 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.6959, allocations: 4 kB / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.696, allocations: 4 kB / 1.035 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.696, allocations: 0 / 1.035 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.6962, allocations: 27.92 kB / 1.035 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.6963, allocations: 0 / 1.035 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.6965, allocations: 15.92 kB / 1.036 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.6965, allocations: 4 kB / 1.036 GB, free: 5.809 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 0.0002538/0.6968, allocations: 133.8 kB / 1.036 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.6969, allocations: 7.906 kB / 1.036 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.6969, allocations: 12.38 kB / 1.036 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.6969, allocations: 0 / 1.036 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.697, allocations: 0 / 1.036 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.697, allocations: 3.984 kB / 1.036 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.6986, allocations: 442.8 kB / 1.036 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.6987, allocations: 4 kB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.6989, allocations: 4 kB / 1.036 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.6989, allocations: 0 / 1.036 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/0.699, allocations: 7.984 kB / 1.036 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.699, allocations: 0 / 1.036 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.699, allocations: 7.938 kB / 1.036 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.701, allocations: 255.3 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.7013, allocations: 85.02 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-05/0.7014, allocations: 0 / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.7017, allocations: 11.98 kB / 1.036 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.7019, allocations: 4 kB / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/0.7019, allocations: 11.92 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001467/0.7021, allocations: 97.27 kB / 1.037 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.52e-07/0.7021, allocations: 0 / 1.037 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001007/0.7032, allocations: 55.94 kB / 1.037 GB, free: 4.59 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.0007893/0.704, allocations: 175.7 kB / 1.037 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007128/0.7047, allocations: 99.89 kB / 1.037 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.7048, allocations: 0 / 1.037 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.7051, allocations: 47.92 kB / 1.037 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.7058, allocations: 16.3 kB / 1.037 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.707, allocations: 225.8 kB / 1.037 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.7074, allocations: 0.6926 MB / 1.038 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.7076, allocations: 11.94 kB / 1.038 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.7076, allocations: 15.42 kB / 1.038 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of SimCode: time 1.933e-06/0.7076, allocations: 0 / 1.038 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of Templates: time 0.009427/0.7171, allocations: 1.727 MB / 1.04 GB, free: 1.551 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)