Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 176.8 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 0.5775 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 98.45 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 10.66 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2257, allocations: 106.3 MB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.3869, allocations: 133.8 MB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.3872, allocations: 87.95 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.009324/0.3965, allocations: 3.06 MB / 1.034 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.135e-06/0.3966, allocations: 0 / 1.034 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.3966, allocations: 0 / 1.034 GB, free: 7.242 MB / 0.6823 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.0007284/0.3973, allocations: 474.3 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.3974, allocations: 8.031 kB / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.532e-05/0.3975, allocations: 42.56 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.3975, allocations: 7.906 kB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.3977, allocations: 171 kB / 1.035 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.3977, allocations: 4 kB / 1.035 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.3978, allocations: 19.92 kB / 1.035 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.398, allocations: 81.62 kB / 1.035 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.398, allocations: 0 / 1.035 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.3981, allocations: 7.938 kB / 1.035 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3981, allocations: 0 / 1.035 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.3982, allocations: 51.97 kB / 1.035 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006775/0.3989, allocations: 332.6 kB / 1.035 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.3991, allocations: 74.48 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.3992, allocations: 0 / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.3994, allocations: 99.39 kB / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.3994, allocations: 0 / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0005404/0.4, allocations: 197.5 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.4, allocations: 67.5 kB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.4002, allocations: 114.7 kB / 1.036 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.4002, allocations: 29.7 kB / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.4003, allocations: 88.38 kB / 1.036 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.4003, allocations: 27.7 kB / 1.036 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.4003, allocations: 0 / 1.036 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4005, allocations: 322.8 kB / 1.036 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.4006, allocations: 31.98 kB / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.4007, allocations: 75.25 kB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.919e-05/0.4008, allocations: 41.78 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4008, allocations: 0 / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000283/0.4011, allocations: 141.4 kB / 1.036 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4011, allocations: 4 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4012, allocations: 0 / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4012, allocations: 4 kB / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4013, allocations: 19.92 kB / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.4013, allocations: 4.156 kB / 1.036 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.535e-05/0.4014, allocations: 19.89 kB / 1.036 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.4014, allocations: 11.98 kB / 1.036 GB, free: 4.465 MB / 0.6823 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.0001097/0.4015, allocations: 120.9 kB / 1.036 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.4016, allocations: 7.906 kB / 1.036 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.4016, allocations: 12.38 kB / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.4016, allocations: 0 / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4016, allocations: 384 / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4016, allocations: 4 kB / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.4023, allocations: 446.2 kB / 1.037 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4023, allocations: 3.984 kB / 1.037 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.4023, allocations: 7.938 kB / 1.037 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.4023, allocations: 4.094 kB / 1.037 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.4024, allocations: 7.984 kB / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4024, allocations: 0 / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4024, allocations: 7.938 kB / 1.037 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.4028, allocations: 247.4 kB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.4028, allocations: 89 kB / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.4029, allocations: 0 / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.403, allocations: 16 kB / 1.037 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.403, allocations: 11.94 kB / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.4031, allocations: 4 kB / 1.037 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.504e-05/0.4031, allocations: 94.02 kB / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4031, allocations: 0 / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000364/0.4035, allocations: 55.92 kB / 1.037 GB, free: 3.254 MB / 0.6823 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.0009871/0.4045, allocations: 0.8663 MB / 1.038 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.4048, allocations: 99.83 kB / 1.038 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4048, allocations: 0 / 1.038 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.4049, allocations: 51.91 kB / 1.038 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.4052, allocations: 19.67 kB / 1.038 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.4064, allocations: 1.374 MB / 1.04 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.4067, allocations: 0.7004 MB / 1.04 GB, free: 32 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.882e-05/0.4067, allocations: 4 kB / 1.04 GB, free: 28 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.4068, allocations: 23.42 kB / 1.04 GB, free: 4 kB / 0.6823 GB Notification: Performance of SimCode: time 4e-07/0.4068, allocations: 0 / 1.04 GB, free: 4 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.4202, allocations: 2.814 MB / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.4205, allocations: 272.8 kB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.101, allocations: 0 / 1.043 GB, free: 13.05 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)