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.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.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.4-maint.8.1.x/package.mo): time 1.549/1.549, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.0009144/0.0009143, allocations: 180.9 kB / 366.7 MB, free: 1.66 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.355/1.355, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0007613/0.0007613, allocations: 91.95 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.718e-05/1.721e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5751/0.5752, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.7537, allocations: 140.3 MB / 1.11 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.7539, allocations: 82.08 kB / 1.11 GB, free: 9.84 MB / 0.7136 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.008544/0.7625, allocations: 3.031 MB / 1.113 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.153e-06/0.7625, allocations: 4 kB / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7625, allocations: 0.875 kB / 1.113 GB, free: 6.832 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.0004693/0.763, allocations: 443 kB / 1.114 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.763, allocations: 16.02 kB / 1.114 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.7631, allocations: 11.53 kB / 1.114 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.7632, allocations: 178.9 kB / 1.114 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.7632, allocations: 4 kB / 1.114 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.7632, allocations: 4 kB / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.505e-05/0.7633, allocations: 35.67 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.7635, allocations: 81.14 kB / 1.114 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.7635, allocations: 0 / 1.114 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.7635, allocations: 0 / 1.114 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.7635, allocations: 0 / 1.114 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.764, allocations: 296.7 kB / 1.114 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.7641, allocations: 58.56 kB / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.7642, allocations: 38.08 kB / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.7642, allocations: 0 / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.7643, allocations: 84.84 kB / 1.115 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.7644, allocations: 0 / 1.115 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002837/0.7646, allocations: 129.5 kB / 1.115 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.7647, allocations: 60.23 kB / 1.115 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.855e-05/0.7648, allocations: 120.3 kB / 1.115 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.7648, allocations: 25.7 kB / 1.115 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.7649, allocations: 96.28 kB / 1.115 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.7649, allocations: 23.88 kB / 1.115 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.7649, allocations: 6.469 kB / 1.115 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.765, allocations: 318.8 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.7651, allocations: 19.98 kB / 1.115 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/0.7651, allocations: 67.45 kB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.916e-05/0.7652, allocations: 27.92 kB / 1.115 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7652, allocations: 0 / 1.115 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001554/0.7654, allocations: 109.5 kB / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.7654, allocations: 8 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7654, allocations: 0 / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.7654, allocations: 4 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.7655, allocations: 15.98 kB / 1.115 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.7655, allocations: 0 / 1.115 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.7656, allocations: 17.86 kB / 1.116 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.7656, allocations: 4 kB / 1.116 GB, free: 4.367 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 7.798e-05/0.7657, allocations: 125 kB / 1.116 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.7657, allocations: 7.906 kB / 1.116 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.7657, allocations: 4.625 kB / 1.116 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7658, allocations: 4 kB / 1.116 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7658, allocations: 3.984 kB / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.7658, allocations: 0 / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.7662, allocations: 387 kB / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7662, allocations: 4 kB / 1.116 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.7662, allocations: 7.984 kB / 1.116 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7662, allocations: 0 / 1.116 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.7663, allocations: 4 kB / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.7663, allocations: 0 / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7663, allocations: 0 / 1.116 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.7665, allocations: 235 kB / 1.116 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.7666, allocations: 89.09 kB / 1.116 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.7666, allocations: 8 kB / 1.116 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.7667, allocations: 7.984 kB / 1.116 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.7668, allocations: 7.875 kB / 1.116 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.7668, allocations: 3.984 kB / 1.116 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.804e-05/0.7669, allocations: 95.22 kB / 1.116 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7669, allocations: 0 / 1.116 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000295/0.7672, allocations: 51.92 kB / 1.117 GB, free: 3.262 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.0003416/0.7675, allocations: 168.9 kB / 1.117 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.7677, allocations: 67.92 kB / 1.117 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7677, allocations: 0 / 1.117 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.106e-05/0.7678, allocations: 45.33 kB / 1.117 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.768, allocations: 14.53 kB / 1.117 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.7683, allocations: 118 kB / 1.117 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.7685, allocations: 0.6924 MB / 1.118 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.937e-05/0.7685, allocations: 7.984 kB / 1.118 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.7686, allocations: 11.44 kB / 1.118 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.7686, allocations: 4 kB / 1.118 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of Templates: time 0.003826/0.7724, allocations: 1.723 MB / 1.119 GB, free: 436 kB / 0.7136 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)