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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.845/1.845, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001461/0.001461, allocations: 169.1 kB / 377.1 MB, free: 1.531 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.703/1.703, allocations: 205.4 MB / 0.6367 GB, free: 9.516 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.0008578/0.0008577, allocations: 95.48 kB / 0.751 GB, free: 62.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003309, allocations: 11.98 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2681, allocations: 116.3 MB / 0.9884 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.695/0.9631, allocations: 141.1 MB / 1.126 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.9634, allocations: 83.14 kB / 1.126 GB, free: 34.07 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.009022/0.9725, allocations: 3.065 MB / 1.129 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9725, allocations: 0 / 1.129 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.9725, allocations: 4 kB / 1.129 GB, free: 31.87 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.0004697/0.973, allocations: 461.5 kB / 1.13 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.973, allocations: 8.031 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.9731, allocations: 9.969 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.773e-05/0.9732, allocations: 174.4 kB / 1.13 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.9732, allocations: 8.5 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.9732, allocations: 7.031 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.9735, allocations: 91.31 kB / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.9735, allocations: 4 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.9735, allocations: 5.375 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.9735, allocations: 0 / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.9737, allocations: 51.17 kB / 1.13 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.9742, allocations: 336 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.9744, allocations: 69.56 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.9744, allocations: 0 / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.9746, allocations: 100.8 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.9746, allocations: 0 / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0004443/0.9751, allocations: 191.9 kB / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.9751, allocations: 59.02 kB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.9752, allocations: 120.5 kB / 1.131 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.9752, allocations: 29.7 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.9753, allocations: 96.36 kB / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.9753, allocations: 15.81 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.9753, allocations: 4 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.9754, allocations: 326.3 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.366e-05/0.9754, allocations: 27.03 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/0.9755, allocations: 77.64 kB / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/0.9756, allocations: 41.61 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9756, allocations: 0 / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002324/0.9759, allocations: 143 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.9759, allocations: 8 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.9759, allocations: 0 / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9759, allocations: 8.156 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.976, allocations: 20.3 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.976, allocations: 0 / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.9761, allocations: 16.5 kB / 1.132 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.9761, allocations: 8 kB / 1.132 GB, free: 29.34 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.299e-05/0.9762, allocations: 125.3 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.9762, allocations: 6.344 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.9763, allocations: 12.38 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.9763, allocations: 7.938 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9763, allocations: 0 / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9763, allocations: 0.5625 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/0.9768, allocations: 444.8 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.9768, allocations: 0 / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.9768, allocations: 11.47 kB / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.9768, allocations: 0 / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.9769, allocations: 8.5 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.9769, allocations: 0.9375 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9769, allocations: 0 / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.9772, allocations: 261.5 kB / 1.132 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.9772, allocations: 81.02 kB / 1.133 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.9772, allocations: 3.469 kB / 1.133 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.9773, allocations: 12 kB / 1.133 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.9774, allocations: 3.609 kB / 1.133 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.9774, allocations: 4.5 kB / 1.133 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.9775, allocations: 99.56 kB / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9775, allocations: 0 / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003107/0.9778, allocations: 59.83 kB / 1.133 GB, free: 28.22 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.0003863/0.9782, allocations: 172.2 kB / 1.133 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.9784, allocations: 99.11 kB / 1.133 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9784, allocations: 4 kB / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.9786, allocations: 50.78 kB / 1.133 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.9788, allocations: 17.09 kB / 1.133 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.9792, allocations: 217.9 kB / 1.133 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.9794, allocations: 0.6953 MB / 1.134 GB, free: 27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.9794, allocations: 4.938 kB / 1.134 GB, free: 27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.9794, allocations: 14.95 kB / 1.134 GB, free: 26.99 MB / 0.7292 GB Notification: Performance of SimCode: time 3.61e-07/0.9794, allocations: 4 kB / 1.134 GB, free: 26.99 MB / 0.7292 GB Notification: Performance of Templates: time 0.004713/0.9842, allocations: 1.733 MB / 1.136 GB, free: 26.02 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)