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.498/1.498, allocations: 249.3 MB / 261.8 MB, free: 5.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 174.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008371/0.000837, allocations: 90.53 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.201e-05/4.203e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2494, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7218/0.9713, allocations: 133.7 MB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.9715, allocations: 76.52 kB / 1.022 GB, free: 1.027 MB / 0.6355 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.008996/0.9806, allocations: 2.988 MB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9806, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.9806, allocations: 8 kB / 1.025 GB, free: 14.46 MB / 0.6511 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.0004715/0.9811, allocations: 435.9 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.9811, allocations: 8.031 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.351e-05/0.9812, allocations: 30.56 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.9812, allocations: 11.41 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.9814, allocations: 182.9 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.9814, allocations: 7.938 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.9814, allocations: 8 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.9816, allocations: 62.3 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.9816, allocations: 3.938 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.9816, allocations: 3.984 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.9816, allocations: 0 / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.635e-05/0.9817, allocations: 29.12 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.9822, allocations: 302.6 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.768e-05/0.9823, allocations: 48.31 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.9824, allocations: 27.48 kB / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.9824, allocations: 0 / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.9825, allocations: 74.47 kB / 1.027 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.9826, allocations: 0 / 1.027 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.000254/0.9828, allocations: 118.9 kB / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.9829, allocations: 51.41 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.983, allocations: 117.1 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.983, allocations: 29.33 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.983, allocations: 91.31 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.9831, allocations: 18.5 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.9831, allocations: 3.562 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.9832, allocations: 322.6 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.9832, allocations: 11.94 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.518e-05/0.9833, allocations: 52.41 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.986e-05/0.9834, allocations: 22.61 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.9834, allocations: 4 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001479/0.9835, allocations: 103 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.9835, allocations: 11.94 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.9835, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.9836, allocations: 7.938 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.9837, allocations: 11.98 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.9837, allocations: 7.953 kB / 1.028 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.9837, allocations: 8.156 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.9838, allocations: 7.938 kB / 1.028 GB, free: 12.18 MB / 0.6511 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 () * 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 7.039e-05/0.9838, allocations: 110.5 kB / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.9839, allocations: 11.89 kB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.9839, allocations: 12.38 kB / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.9839, allocations: 0 / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.9839, allocations: 0 / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.9839, allocations: 3.953 kB / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.9843, allocations: 373.6 kB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.9843, allocations: 0 / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.9843, allocations: 7.938 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.9844, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.9844, allocations: 3.984 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.9844, allocations: 7.953 kB / 1.028 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.9844, allocations: 3.938 kB / 1.028 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.9846, allocations: 200.7 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.9847, allocations: 81.02 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.9847, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-05/0.9848, allocations: 15.3 kB / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.9848, allocations: 3.953 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.9848, allocations: 4 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.513e-05/0.9849, allocations: 102.3 kB / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9849, allocations: 0 / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002978/0.9852, allocations: 59.53 kB / 1.028 GB, free: 11.18 MB / 0.6511 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 () * 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.0007779/0.986, allocations: 0.7914 MB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.9862, allocations: 62.34 kB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.9862, allocations: 0 / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.96e-05/0.9863, allocations: 41.92 kB / 1.029 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.9865, allocations: 13.11 kB / 1.029 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.9869, allocations: 157.5 kB / 1.03 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.9873, allocations: 0.6965 MB / 1.03 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.367e-05/0.9873, allocations: 8.25 kB / 1.03 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.9874, allocations: 29.23 kB / 1.03 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of SimCode: time 3.7e-07/0.9874, allocations: 0 / 1.03 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/1, allocations: 2.606 MB / 1.033 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/1, allocations: 227.1 kB / 1.033 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.579, allocations: 5.375 kB / 1.033 GB, free: 6.656 MB / 0.6511 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)