Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.769/1.769, allocations: 288.2 MB / 303.2 MB, free: 8.188 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.001047/0.001047, allocations: 183.3 kB / 371.8 MB, free: 10.24 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.883/1.883, allocations: 205.4 MB / 0.6305 GB, free: 9.949 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.0008846/0.0008846, allocations: 82.94 kB / 0.7439 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004687, allocations: 15.03 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2614, allocations: 115.3 MB / 0.9795 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7777/1.039, allocations: 140.1 MB / 1.116 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/1.039, allocations: 78.98 kB / 1.116 GB, free: 16.38 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.01024/1.05, allocations: 3.063 MB / 1.119 GB, free: 31.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.807e-06/1.05, allocations: 0 / 1.119 GB, free: 31.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.177e-05/1.05, allocations: 3.844 kB / 1.119 GB, free: 31.94 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.0007069/1.05, allocations: 469.6 kB / 1.12 GB, free: 31.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/1.051, allocations: 11.47 kB / 1.12 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/1.051, allocations: 41.95 kB / 1.12 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/1.051, allocations: 11.75 kB / 1.12 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/1.051, allocations: 175.8 kB / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/1.051, allocations: 10.25 kB / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/1.051, allocations: 7.688 kB / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/1.051, allocations: 83.92 kB / 1.12 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.051, allocations: 0 / 1.12 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/1.051, allocations: 3.812 kB / 1.12 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.051, allocations: 3.188 kB / 1.12 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/1.051, allocations: 54.86 kB / 1.12 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/1.052, allocations: 329.2 kB / 1.12 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/1.052, allocations: 71.59 kB / 1.121 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/1.052, allocations: 6.781 kB / 1.121 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/1.052, allocations: 99.05 kB / 1.121 GB, free: 30.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/1.052, allocations: 0 / 1.121 GB, free: 30.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0004544/1.053, allocations: 196.2 kB / 1.121 GB, free: 30.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.053, allocations: 55.28 kB / 1.121 GB, free: 30.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/1.053, allocations: 122.5 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/1.053, allocations: 25.7 kB / 1.121 GB, free: 30.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/1.053, allocations: 97.25 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/1.053, allocations: 19.28 kB / 1.121 GB, free: 30.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/1.053, allocations: 3.375 kB / 1.121 GB, free: 30.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.053, allocations: 321.4 kB / 1.121 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.907e-05/1.053, allocations: 33 kB / 1.121 GB, free: 30.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.813e-05/1.053, allocations: 78.77 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.338e-05/1.054, allocations: 33.31 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.054, allocations: 3.938 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002662/1.054, allocations: 146.3 kB / 1.122 GB, free: 30.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.054, allocations: 3.938 kB / 1.122 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.054, allocations: 3.844 kB / 1.122 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.054, allocations: 0 / 1.122 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/1.054, allocations: 18.42 kB / 1.122 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.054, allocations: 6.594 kB / 1.122 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/1.054, allocations: 26.97 kB / 1.122 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/1.054, allocations: 7.766 kB / 1.122 GB, free: 30.04 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.0001177/1.054, allocations: 127.7 kB / 1.122 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/1.054, allocations: 7.781 kB / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/1.054, allocations: 7.875 kB / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/1.054, allocations: 0 / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.054, allocations: 3.938 kB / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.054, allocations: 4 kB / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/1.055, allocations: 433.6 kB / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.055, allocations: 0 / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/1.055, allocations: 7.75 kB / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/1.055, allocations: 0 / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/1.055, allocations: 6.719 kB / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.055, allocations: 4 kB / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.055, allocations: 0 / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/1.055, allocations: 257 kB / 1.123 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/1.055, allocations: 84.64 kB / 1.123 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/1.055, allocations: 3.875 kB / 1.123 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/1.055, allocations: 11.14 kB / 1.123 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/1.055, allocations: 3.906 kB / 1.123 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/1.055, allocations: 10.52 kB / 1.123 GB, free: 29.37 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.878e-05/1.055, allocations: 93.8 kB / 1.123 GB, free: 29.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.056, allocations: 0 / 1.123 GB, free: 29.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003385/1.056, allocations: 64.53 kB / 1.123 GB, free: 29.27 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.0008359/1.057, allocations: 0.8663 MB / 1.124 GB, free: 28.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002453/1.057, allocations: 98.02 kB / 1.124 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.057, allocations: 3.5 kB / 1.124 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/1.057, allocations: 47.59 kB / 1.124 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/1.057, allocations: 19.58 kB / 1.124 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009865/1.058, allocations: 1.388 MB / 1.125 GB, free: 27.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/1.059, allocations: 0.6931 MB / 1.126 GB, free: 26.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.05e-05/1.059, allocations: 7.125 kB / 1.126 GB, free: 26.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/1.059, allocations: 21.05 kB / 1.126 GB, free: 26.54 MB / 0.698 GB Notification: Performance of SimCode: time 3.977e-06/1.059, allocations: 0 / 1.126 GB, free: 26.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/1.073, allocations: 2.829 MB / 1.129 GB, free: 26.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/1.073, allocations: 254.8 kB / 1.129 GB, free: 25.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.653, allocations: 2.578 kB / 1.129 GB, free: 25.97 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)