Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.916/1.916, allocations: 293 MB / 309 MB, free: 4.793 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.0009774/0.0009776, allocations: 174.7 kB / 378.7 MB, free: 1.031 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.514/1.514, allocations: 205.4 MB / 0.6383 GB, free: 9.164 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.0007576/0.0007578, allocations: 98.64 kB / 0.7527 GB, free: 62.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003662, allocations: 12 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2343, allocations: 116.4 MB / 0.9904 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6212/0.8555, allocations: 141.1 MB / 1.128 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.8558, allocations: 86.84 kB / 1.128 GB, free: 33.19 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.007738/0.8635, allocations: 3.073 MB / 1.131 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.497e-06/0.8636, allocations: 3.422 kB / 1.131 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.8636, allocations: 8 kB / 1.131 GB, free: 30.97 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.0004134/0.864, allocations: 449.4 kB / 1.132 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.864, allocations: 12.03 kB / 1.132 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.8641, allocations: 12.84 kB / 1.132 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.452e-05/0.8642, allocations: 176.2 kB / 1.132 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.8642, allocations: 8.156 kB / 1.132 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.8642, allocations: 8.375 kB / 1.132 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.8644, allocations: 93.61 kB / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.8644, allocations: 192 / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.8645, allocations: 3.938 kB / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.8645, allocations: 4 kB / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.8646, allocations: 47.41 kB / 1.132 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.8651, allocations: 329.4 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.8652, allocations: 72.94 kB / 1.133 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.896e-05/0.8653, allocations: 45.08 kB / 1.133 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.8653, allocations: 4 kB / 1.133 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.8655, allocations: 100.8 kB / 1.133 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.8655, allocations: 0 / 1.133 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0004229/0.866, allocations: 198 kB / 1.133 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.866, allocations: 58.73 kB / 1.133 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.8661, allocations: 126.2 kB / 1.133 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.8661, allocations: 29.7 kB / 1.133 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.8661, allocations: 93.09 kB / 1.133 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.8662, allocations: 26.98 kB / 1.133 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.8662, allocations: 0 / 1.133 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.8662, allocations: 326.1 kB / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.8663, allocations: 27.33 kB / 1.134 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-05/0.8664, allocations: 78.3 kB / 1.134 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.8666, allocations: 124.4 kB / 1.134 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8666, allocations: 4 kB / 1.134 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002127/0.8668, allocations: 134.8 kB / 1.134 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.8668, allocations: 4 kB / 1.134 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.8668, allocations: 4.75 kB / 1.134 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.8668, allocations: 0 / 1.134 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.8669, allocations: 27.47 kB / 1.134 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.8669, allocations: 4 kB / 1.134 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.867, allocations: 11.27 kB / 1.134 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.867, allocations: 8 kB / 1.134 GB, free: 28.3 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 6.706e-05/0.8671, allocations: 126.4 kB / 1.134 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.8671, allocations: 11.84 kB / 1.134 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.8672, allocations: 20.62 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.8672, allocations: 3.938 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.8672, allocations: 0 / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.8672, allocations: 0 / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.8676, allocations: 431.1 kB / 1.134 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8676, allocations: 0 / 1.134 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-05/0.8677, allocations: 12.45 kB / 1.134 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8677, allocations: 4 kB / 1.134 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.8677, allocations: 4 kB / 1.134 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8677, allocations: 0 / 1.134 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8677, allocations: 0.5 kB / 1.134 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.868, allocations: 256 kB / 1.135 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.868, allocations: 89.02 kB / 1.135 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.868, allocations: 7.422 kB / 1.135 GB, free: 27.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-05/0.8681, allocations: 5.719 kB / 1.135 GB, free: 27.33 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.8682, allocations: 7.75 kB / 1.135 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.8682, allocations: 11.22 kB / 1.135 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.7e-05/0.8682, allocations: 98.56 kB / 1.135 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8683, allocations: 0 / 1.135 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002924/0.8686, allocations: 59.19 kB / 1.135 GB, free: 27.17 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.0003183/0.8689, allocations: 165.2 kB / 1.135 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.8691, allocations: 102.3 kB / 1.135 GB, free: 26.94 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.8691, allocations: 3.938 kB / 1.135 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.8692, allocations: 58.3 kB / 1.135 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.8695, allocations: 11.84 kB / 1.135 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.8699, allocations: 232.3 kB / 1.136 GB, free: 26.65 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.87, allocations: 0.6912 MB / 1.136 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.8701, allocations: 7.188 kB / 1.136 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.8701, allocations: 11.44 kB / 1.136 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/0.8701, allocations: 4 kB / 1.136 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.004321/0.8744, allocations: 1.737 MB / 1.138 GB, free: 24.96 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)