Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.621/1.621, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001664/0.001664, allocations: 185.4 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.001056/0.001056, allocations: 90.03 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.000397, allocations: 9.625 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2767, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.4692, allocations: 133.7 MB / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.4696, allocations: 87.95 kB / 1.031 GB, free: 9.836 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.009452/0.479, allocations: 3.002 MB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4791, allocations: 4 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.4791, allocations: 0 / 1.034 GB, free: 6.824 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006089/0.4797, allocations: 459.5 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.4798, allocations: 12.03 kB / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.4798, allocations: 34.55 kB / 1.034 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.4799, allocations: 4 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.48, allocations: 181.9 kB / 1.034 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.4801, allocations: 7.938 kB / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.4801, allocations: 4 kB / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.4803, allocations: 73.64 kB / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4803, allocations: 0 / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4803, allocations: 11.88 kB / 1.035 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4804, allocations: 0 / 1.035 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.4805, allocations: 51.95 kB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.4811, allocations: 304.7 kB / 1.035 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.4812, allocations: 62.48 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.4813, allocations: 0 / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.4815, allocations: 79.5 kB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.4815, allocations: 0 / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004382/0.4819, allocations: 157.5 kB / 1.035 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.482, allocations: 59.42 kB / 1.035 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/0.4821, allocations: 120.9 kB / 1.035 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.4821, allocations: 29.7 kB / 1.035 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.4822, allocations: 88.33 kB / 1.035 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.4822, allocations: 15.81 kB / 1.035 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.4822, allocations: 0 / 1.035 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.4823, allocations: 324.8 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.797e-05/0.4824, allocations: 23.98 kB / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.025e-05/0.4825, allocations: 65.12 kB / 1.036 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.627e-05/0.4826, allocations: 32 kB / 1.036 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4826, allocations: 0 / 1.036 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002232/0.4828, allocations: 129.5 kB / 1.036 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4828, allocations: 4 kB / 1.036 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.4828, allocations: 7.984 kB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4829, allocations: 0 / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.483, allocations: 12 kB / 1.036 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.483, allocations: 0 / 1.036 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.483, allocations: 19.94 kB / 1.036 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.4831, allocations: 4 kB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.p,bli.p,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 (11): * Single equations (assignments): 11 * 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.0001218/0.4832, allocations: 125.8 kB / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.4832, allocations: 7.906 kB / 1.036 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.4833, allocations: 12.31 kB / 1.036 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4833, allocations: 8 kB / 1.036 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4833, allocations: 3.984 kB / 1.036 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4833, allocations: 0 / 1.036 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.4838, allocations: 394.5 kB / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4838, allocations: 0 / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.4838, allocations: 7.938 kB / 1.037 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.4839, allocations: 0 / 1.037 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.4839, allocations: 3.984 kB / 1.037 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4839, allocations: 0 / 1.037 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.4839, allocations: 7.953 kB / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.4842, allocations: 219.4 kB / 1.037 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.4843, allocations: 84.95 kB / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.4843, allocations: 0 / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.4844, allocations: 4 kB / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.4844, allocations: 15.94 kB / 1.037 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.4845, allocations: 4 kB / 1.037 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.981e-05/0.4845, allocations: 95.27 kB / 1.037 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4845, allocations: 0 / 1.037 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003598/0.4849, allocations: 55.92 kB / 1.037 GB, free: 3.113 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: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009663/0.4859, allocations: 0.8148 MB / 1.038 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.4861, allocations: 88.16 kB / 1.038 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.4861, allocations: 4.062 kB / 1.038 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.4863, allocations: 43.86 kB / 1.038 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.4865, allocations: 7.984 kB / 1.038 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.4876, allocations: 1.201 MB / 1.039 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.488, allocations: 0.6964 MB / 1.04 GB, free: 148 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.488, allocations: 4.188 kB / 1.04 GB, free: 144 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.4881, allocations: 31.42 kB / 1.04 GB, free: 116 kB / 0.6823 GB Notification: Performance of SimCode: time 3.8e-07/0.4881, allocations: 0 / 1.04 GB, free: 116 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.5053, allocations: 2.581 MB / 1.042 GB, free: 13.74 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/0.5057, allocations: 254.6 kB / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.142, allocations: 0 / 1.043 GB, free: 13.39 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1)