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.618/1.618, allocations: 285.4 MB / 298 MB, free: 5.961 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.001188/0.001188, allocations: 172.8 kB / 366.4 MB, free: 2.105 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.509/1.509, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0009284/0.0009284, allocations: 95.3 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.478e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8568/0.8568, allocations: 115.3 MB / 0.9709 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2171/1.074, allocations: 140 MB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/1.074, allocations: 87.88 kB / 1.108 GB, free: 11.71 MB / 0.7136 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.009487/1.084, allocations: 3.042 MB / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.512e-06/1.084, allocations: 0 / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.774e-06/1.084, allocations: 1.188 kB / 1.111 GB, free: 8.699 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.0005447/1.084, allocations: 446.3 kB / 1.111 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.084, allocations: 8.75 kB / 1.111 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/1.085, allocations: 14.33 kB / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/1.085, allocations: 186.2 kB / 1.111 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.828e-05/1.085, allocations: 9.125 kB / 1.111 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/1.085, allocations: 4 kB / 1.111 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/1.085, allocations: 81.64 kB / 1.111 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/1.085, allocations: 0 / 1.111 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/1.085, allocations: 2.5 kB / 1.111 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/1.085, allocations: 0 / 1.111 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.526e-05/1.085, allocations: 35.94 kB / 1.111 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/1.086, allocations: 325 kB / 1.112 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/1.086, allocations: 59.3 kB / 1.112 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.422e-05/1.086, allocations: 37.41 kB / 1.112 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/1.086, allocations: 0.9688 kB / 1.112 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/1.086, allocations: 88.31 kB / 1.112 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.502e-06/1.086, allocations: 0 / 1.112 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003375/1.087, allocations: 138.3 kB / 1.112 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/1.087, allocations: 55.39 kB / 1.112 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/1.087, allocations: 114.8 kB / 1.112 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/1.087, allocations: 37.69 kB / 1.112 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/1.087, allocations: 92.28 kB / 1.112 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/1.087, allocations: 23.89 kB / 1.112 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/1.087, allocations: 8 kB / 1.112 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.087, allocations: 318.8 kB / 1.113 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.747e-05/1.087, allocations: 20 kB / 1.113 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/1.087, allocations: 67.83 kB / 1.113 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/1.087, allocations: 35.86 kB / 1.113 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.087, allocations: 0 / 1.113 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002055/1.087, allocations: 121.4 kB / 1.113 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.087, allocations: 4 kB / 1.113 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.087, allocations: 4 kB / 1.113 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/1.087, allocations: 8 kB / 1.113 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/1.088, allocations: 21.17 kB / 1.113 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.088, allocations: 4 kB / 1.113 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/1.088, allocations: 19.89 kB / 1.113 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/1.088, allocations: 7.953 kB / 1.113 GB, free: 6.125 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.535e-05/1.088, allocations: 113.7 kB / 1.113 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/1.088, allocations: 7.906 kB / 1.113 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/1.088, allocations: 12.62 kB / 1.113 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/1.088, allocations: 4 kB / 1.113 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.088, allocations: 3.938 kB / 1.113 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.088, allocations: 3.984 kB / 1.113 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/1.088, allocations: 414.4 kB / 1.113 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/1.088, allocations: 3.375 kB / 1.113 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/1.089, allocations: 4 kB / 1.113 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.089, allocations: 0 / 1.113 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/1.089, allocations: 7.984 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.089, allocations: 4 kB / 1.114 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.089, allocations: 0 / 1.114 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/1.089, allocations: 239.3 kB / 1.114 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/1.089, allocations: 81.02 kB / 1.114 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/1.089, allocations: 4 kB / 1.114 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/1.089, allocations: 4 kB / 1.114 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/1.089, allocations: 7.984 kB / 1.114 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/1.089, allocations: 7.984 kB / 1.114 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.242e-05/1.089, allocations: 101.4 kB / 1.114 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.089, allocations: 0 / 1.114 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000369/1.09, allocations: 55.92 kB / 1.114 GB, free: 4.973 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.00051/1.09, allocations: 185.4 kB / 1.114 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002112/1.09, allocations: 67.92 kB / 1.114 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.09, allocations: 0 / 1.114 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/1.091, allocations: 47.92 kB / 1.114 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/1.091, allocations: 12.55 kB / 1.114 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/1.091, allocations: 121.5 kB / 1.114 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/1.092, allocations: 0.7007 MB / 1.115 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.662e-05/1.092, allocations: 4 kB / 1.115 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/1.092, allocations: 15.42 kB / 1.115 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/1.092, allocations: 0 / 1.115 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of Templates: time 0.005153/1.097, allocations: 1.753 MB / 1.117 GB, free: 2.094 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)