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.659/1.659, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001117/0.001117, allocations: 195.6 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.536/1.536, allocations: 205.4 MB / 0.6367 GB, free: 8.555 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.0008478/0.0008478, allocations: 94.73 kB / 0.751 GB, free: 63.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 8 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2618, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6236/0.8854, allocations: 141.1 MB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.8857, allocations: 82.55 kB / 1.126 GB, free: 34 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.008517/0.8942, allocations: 3.062 MB / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8943, allocations: 0 / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.8943, allocations: 8 kB / 1.129 GB, free: 31.79 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.0005661/0.8949, allocations: 458.1 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.8949, allocations: 12.02 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.895, allocations: 9.969 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.8951, allocations: 174.4 kB / 1.13 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.8951, allocations: 8 kB / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.8952, allocations: 7.438 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.8954, allocations: 95.22 kB / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.8954, allocations: 0 / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.8955, allocations: 3.391 kB / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.8955, allocations: 4 kB / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.8956, allocations: 50.64 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.8962, allocations: 338.8 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.8964, allocations: 65.61 kB / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.8964, allocations: 0 / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.8966, allocations: 97.67 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.8967, allocations: 3.938 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0004539/0.8971, allocations: 189.8 kB / 1.131 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.8972, allocations: 63.34 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.063e-05/0.8972, allocations: 120.8 kB / 1.131 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.8973, allocations: 25.7 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.8973, allocations: 99.84 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.8973, allocations: 15.81 kB / 1.131 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.8973, allocations: 0 / 1.131 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.8974, allocations: 326.3 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.958e-05/0.8975, allocations: 35.03 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.914e-05/0.8976, allocations: 73.8 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.749e-05/0.8977, allocations: 39.47 kB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.8977, allocations: 4 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002293/0.8979, allocations: 135.2 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.898, allocations: 12 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.898, allocations: 0.5625 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.898, allocations: 4 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.8981, allocations: 15.42 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.8981, allocations: 8.797 kB / 1.132 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.8982, allocations: 17.19 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.8982, allocations: 4 kB / 1.132 GB, free: 29.26 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.588e-05/0.8983, allocations: 133.3 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.8983, allocations: 4 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.8983, allocations: 4.891 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.8984, allocations: 7.938 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.8984, allocations: 0.5 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.8984, allocations: 3.375 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.8989, allocations: 448.5 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8989, allocations: 3.938 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.8989, allocations: 8.484 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8989, allocations: 0 / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.899, allocations: 4 kB / 1.132 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.899, allocations: 1.031 kB / 1.132 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.899, allocations: 0 / 1.132 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.8993, allocations: 263.5 kB / 1.132 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.8993, allocations: 81.58 kB / 1.133 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.8994, allocations: 4 kB / 1.133 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.8995, allocations: 8.266 kB / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.8995, allocations: 11.38 kB / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.8995, allocations: 0 / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.8996, allocations: 103.3 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8996, allocations: 0.6562 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003245/0.8999, allocations: 55.83 kB / 1.133 GB, free: 28.14 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.0003696/0.9003, allocations: 170.2 kB / 1.133 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.9006, allocations: 102.3 kB / 1.133 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9006, allocations: 0 / 1.133 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.9007, allocations: 48.11 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.9009, allocations: 20.55 kB / 1.133 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.9014, allocations: 226.8 kB / 1.133 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.9016, allocations: 0.6949 MB / 1.134 GB, free: 26.92 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.851e-05/0.9016, allocations: 10.3 kB / 1.134 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.9017, allocations: 14.86 kB / 1.134 GB, free: 26.9 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/0.9017, allocations: 0 / 1.134 GB, free: 26.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.004553/0.9062, allocations: 1.744 MB / 1.136 GB, free: 25.93 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)