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.442/1.442, allocations: 252 MB / 267 MB, free: 10.97 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.001026/0.001026, allocations: 188.5 kB / 326.6 MB, free: 2.199 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.133/2.133, allocations: 205.4 MB / 0.5776 GB, free: 20.25 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.0009159/0.0009159, allocations: 88.48 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003749, allocations: 11.69 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2763, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001605/0.278, allocations: 1.214 MB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.279, allocations: 0.7334 MB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.2791, allocations: 0 / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.2791, allocations: 3.938 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.415e-05/0.2791, allocations: 7.875 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.2796, allocations: 103.8 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.652e-05/0.2796, allocations: 63.77 kB / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.171e-05/0.2797, allocations: 8.188 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.912e-05/0.2798, allocations: 31.91 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.933e-05/0.2798, allocations: 27.84 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.2799, allocations: 4 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.28, allocations: 87.84 kB / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.28, allocations: 15.98 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.2801, allocations: 41.58 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.2802, allocations: 99.81 kB / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2802, allocations: 0 / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2802, allocations: 0 / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.2802, allocations: 0 / 0.9027 GB, free: 61.33 MB / 0.6042 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.0004848/0.2807, allocations: 436.1 kB / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2808, allocations: 16.03 kB / 0.9031 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.2808, allocations: 34.55 kB / 0.9031 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.2808, allocations: 7.953 kB / 0.9031 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.824e-05/0.2809, allocations: 174.9 kB / 0.9033 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.281, allocations: 8 kB / 0.9033 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.281, allocations: 4 kB / 0.9033 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.2812, allocations: 77.52 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2812, allocations: 0 / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2812, allocations: 4 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2812, allocations: 8 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.2813, allocations: 43.95 kB / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.2818, allocations: 300.7 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.2819, allocations: 62.48 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.283e-05/0.282, allocations: 36.97 kB / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.282, allocations: 0 / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.2822, allocations: 83.38 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.2822, allocations: 0 / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003857/0.2826, allocations: 149.6 kB / 0.9041 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.2827, allocations: 63.34 kB / 0.9041 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.2827, allocations: 129.7 kB / 0.9042 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.2827, allocations: 25.7 kB / 0.9043 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.2828, allocations: 96.31 kB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.2828, allocations: 19.75 kB / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.2828, allocations: 0 / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.2829, allocations: 318.8 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.2829, allocations: 23.98 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.283, allocations: 65.14 kB / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.564e-05/0.2831, allocations: 31.98 kB / 0.9048 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2831, allocations: 4 kB / 0.9048 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001928/0.2833, allocations: 117.4 kB / 0.9049 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2833, allocations: 4 kB / 0.9049 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2834, allocations: 4 kB / 0.9049 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2834, allocations: 0 / 0.9049 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.227e-05/0.2835, allocations: 28.03 kB / 0.9049 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2835, allocations: 0 / 0.9049 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.095e-05/0.2835, allocations: 12 kB / 0.905 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.2836, allocations: 11.88 kB / 0.905 GB, free: 58.72 MB / 0.6042 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,occ.y,$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 6.875e-05/0.2836, allocations: 127.1 kB / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.2836, allocations: 7.906 kB / 0.9051 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.2837, allocations: 8.375 kB / 0.9051 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2837, allocations: 8 kB / 0.9051 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2837, allocations: 3.953 kB / 0.9051 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2837, allocations: 0 / 0.9051 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.2841, allocations: 394.4 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2841, allocations: 0 / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.2841, allocations: 7.984 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2841, allocations: 7.938 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.2841, allocations: 3.953 kB / 0.9055 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2842, allocations: 4 kB / 0.9055 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2842, allocations: 4 kB / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.2844, allocations: 215.9 kB / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.2844, allocations: 89 kB / 0.9058 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.2845, allocations: 4 kB / 0.9058 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.2846, allocations: 7.953 kB / 0.9058 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.2846, allocations: 3.984 kB / 0.9058 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.2846, allocations: 4 kB / 0.9058 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.69e-05/0.2847, allocations: 95.27 kB / 0.9059 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2847, allocations: 0 / 0.9059 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002633/0.2849, allocations: 43.98 kB / 0.906 GB, free: 57.61 MB / 0.6042 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,occ.y,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.0006389/0.2856, allocations: 0.8148 MB / 0.9068 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.2858, allocations: 79.89 kB / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2858, allocations: 0 / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.286, allocations: 39.92 kB / 0.9069 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.2862, allocations: 22.28 kB / 0.9069 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.2872, allocations: 0.6085 MB / 0.9075 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.2873, allocations: 0.6926 MB / 0.9082 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.807e-05/0.2874, allocations: 8.266 kB / 0.9082 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.2874, allocations: 23.42 kB / 0.9082 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.2874, allocations: 0 / 0.9082 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.3008, allocations: 2.42 MB / 0.9106 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.301, allocations: 269 kB / 0.9108 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.015, allocations: 4 kB / 0.9108 GB, free: 52.66 MB / 0.6042 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)