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.887/1.887, allocations: 288.3 MB / 303.2 MB, free: 8.207 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.001161/0.001161, allocations: 179.4 kB / 371.8 MB, free: 10.23 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.642/1.642, allocations: 205.4 MB / 0.6306 GB, free: 9.941 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 93.2 kB / 0.7439 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003945, allocations: 14.53 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2143, allocations: 115.3 MB / 0.9794 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7326/0.9469, allocations: 140.1 MB / 1.116 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.9472, allocations: 90.38 kB / 1.116 GB, free: 16.44 MB / 0.6823 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.009193/0.9564, allocations: 3.055 MB / 1.119 GB, free: 31.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9565, allocations: 0 / 1.119 GB, free: 31.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.9565, allocations: 0 / 1.119 GB, free: 31.99 MB / 0.698 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.0006181/0.9571, allocations: 463.3 kB / 1.12 GB, free: 31.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.9572, allocations: 15.2 kB / 1.12 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.9572, allocations: 7.812 kB / 1.12 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.9573, allocations: 182.8 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.9574, allocations: 7.156 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.9574, allocations: 11.41 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.9577, allocations: 86.72 kB / 1.12 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.9577, allocations: 3.938 kB / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.9577, allocations: 0 / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.9577, allocations: 7.797 kB / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.9579, allocations: 54.23 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.9584, allocations: 325.3 kB / 1.12 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.9586, allocations: 72.89 kB / 1.12 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.9586, allocations: 7.828 kB / 1.12 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.9588, allocations: 94.78 kB / 1.121 GB, free: 30.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.9588, allocations: 0 / 1.121 GB, free: 30.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0004621/0.9593, allocations: 198.9 kB / 1.121 GB, free: 30.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.9594, allocations: 58.47 kB / 1.121 GB, free: 30.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/0.9595, allocations: 111 kB / 1.121 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.9595, allocations: 31.83 kB / 1.121 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.9596, allocations: 97.27 kB / 1.121 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.9596, allocations: 14.38 kB / 1.121 GB, free: 30.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.9596, allocations: 7.75 kB / 1.121 GB, free: 30.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9597, allocations: 320.8 kB / 1.121 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.29e-05/0.9598, allocations: 33.38 kB / 1.121 GB, free: 30.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.481e-05/0.9599, allocations: 83.95 kB / 1.121 GB, free: 30.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.496e-05/0.96, allocations: 38.58 kB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.96, allocations: 0 / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000236/0.9603, allocations: 138 kB / 1.122 GB, free: 30.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.9603, allocations: 7.719 kB / 1.122 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.9603, allocations: 0 / 1.122 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.9603, allocations: 3.844 kB / 1.122 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.9604, allocations: 18.45 kB / 1.122 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.9604, allocations: 6.875 kB / 1.122 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.9605, allocations: 15.09 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.9605, allocations: 3.812 kB / 1.122 GB, free: 30.15 MB / 0.698 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.0001083/0.9606, allocations: 138 kB / 1.122 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.9607, allocations: 6.766 kB / 1.122 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.9607, allocations: 16.22 kB / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.9607, allocations: 0 / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.9607, allocations: 0 / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.9607, allocations: 0 / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.9613, allocations: 446.9 kB / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9613, allocations: 0 / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.9613, allocations: 6.938 kB / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.9613, allocations: 0 / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.9614, allocations: 7.219 kB / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.9614, allocations: 0 / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9614, allocations: 0 / 1.122 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.9617, allocations: 260 kB / 1.123 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.9617, allocations: 81.02 kB / 1.123 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.9618, allocations: 10.62 kB / 1.123 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/0.9619, allocations: 3.875 kB / 1.123 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.9619, allocations: 7.156 kB / 1.123 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.9619, allocations: 7.031 kB / 1.123 GB, free: 29.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.023e-05/0.962, allocations: 102.5 kB / 1.123 GB, free: 29.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.962, allocations: 0 / 1.123 GB, free: 29.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000317/0.9623, allocations: 64.05 kB / 1.123 GB, free: 29.37 MB / 0.698 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.0003423/0.9627, allocations: 169.8 kB / 1.123 GB, free: 29.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.9629, allocations: 99.14 kB / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.9629, allocations: 0 / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.9631, allocations: 59.72 kB / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.9633, allocations: 12.31 kB / 1.123 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.9637, allocations: 210.5 kB / 1.123 GB, free: 29.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.9639, allocations: 0.6935 MB / 1.124 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.859e-05/0.964, allocations: 10.73 kB / 1.124 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.964, allocations: 14.72 kB / 1.124 GB, free: 28.39 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/0.964, allocations: 0 / 1.124 GB, free: 28.39 MB / 0.698 GB Notification: Performance of Templates: time 0.004001/0.968, allocations: 1.738 MB / 1.126 GB, free: 28.25 MB / 0.698 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)