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 2.403/2.403, allocations: 252 MB / 267.3 MB, free: 10.84 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.00187/0.001871, allocations: 174.3 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.036/3.036, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.001366/0.001366, allocations: 104.3 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003489, allocations: 5.938 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3143, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002196/0.3166, allocations: 1.215 MB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3183, allocations: 0.7798 MB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.187e-05/0.3185, allocations: 3.938 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.3185, allocations: 7.922 kB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.904e-05/0.3186, allocations: 3.938 kB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008548/0.3195, allocations: 103.8 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3197, allocations: 71.78 kB / 0.903 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3198, allocations: 16.17 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.3199, allocations: 31.84 kB / 0.9031 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.32, allocations: 23.91 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.3201, allocations: 4 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.3203, allocations: 95.84 kB / 0.9032 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.3204, allocations: 11.92 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.3205, allocations: 69.48 kB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.3208, allocations: 131.7 kB / 0.9034 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3208, allocations: 0 / 0.9034 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3208, allocations: 0 / 0.9034 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3208, allocations: 3.938 kB / 0.9034 GB, free: 60.81 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.0007014/0.3215, allocations: 435 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.3216, allocations: 12.03 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.295e-05/0.3216, allocations: 34.69 kB / 0.9039 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.3217, allocations: 8.938 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.3218, allocations: 176.1 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.3219, allocations: 12.36 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.3219, allocations: 8.375 kB / 0.9041 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.3221, allocations: 69.59 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3221, allocations: 3.984 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3221, allocations: 4 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3222, allocations: 4 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.3223, allocations: 43.97 kB / 0.9042 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.3229, allocations: 308.7 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.323, allocations: 54.56 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.3232, allocations: 36.97 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.3232, allocations: 0 / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.3234, allocations: 83.3 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.3234, allocations: 4 kB / 0.9047 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004347/0.3239, allocations: 153.5 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.3239, allocations: 55.48 kB / 0.9049 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.324, allocations: 117.8 kB / 0.905 GB, free: 59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.324, allocations: 33.69 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.3241, allocations: 108 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.3241, allocations: 11.84 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.3241, allocations: 0 / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.36e-05/0.3242, allocations: 326.8 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/0.3243, allocations: 23.98 kB / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.429e-05/0.3244, allocations: 73.02 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3246, allocations: 97.06 kB / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3246, allocations: 0 / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002369/0.3249, allocations: 117.6 kB / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.3249, allocations: 12 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3249, allocations: 0 / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3249, allocations: 4 kB / 0.9057 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/0.325, allocations: 11.98 kB / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.3251, allocations: 8.25 kB / 0.9058 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.3251, allocations: 7.906 kB / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.3252, allocations: 15.92 kB / 0.9058 GB, free: 58.11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.3253, allocations: 123.1 kB / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.3253, allocations: 3.906 kB / 0.9059 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.313e-05/0.3254, allocations: 12.38 kB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3254, allocations: 3.938 kB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.3254, allocations: 0 / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3254, allocations: 0 / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.3259, allocations: 410.3 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.326, allocations: 0 / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.326, allocations: 4 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.326, allocations: 4 kB / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.326, allocations: 0 / 0.9063 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3261, allocations: 3.938 kB / 0.9063 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3261, allocations: 3.984 kB / 0.9063 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.3264, allocations: 223.3 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.3264, allocations: 88.95 kB / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.3264, allocations: 0 / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.632e-05/0.3265, allocations: 7.938 kB / 0.9066 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.3266, allocations: 7.984 kB / 0.9066 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.3266, allocations: 4.047 kB / 0.9066 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.3267, allocations: 101.1 kB / 0.9067 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3267, allocations: 4 kB / 0.9067 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003414/0.327, allocations: 39.98 kB / 0.9068 GB, free: 56.99 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007915/0.3278, allocations: 0.8057 MB / 0.9076 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.3281, allocations: 83.81 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3281, allocations: 320 / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.978e-05/0.3282, allocations: 43.98 kB / 0.9077 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.3285, allocations: 13.95 kB / 0.9077 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.33, allocations: 1.549 MB / 0.9092 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.3301, allocations: 0.6926 MB / 0.9099 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.145e-05/0.3302, allocations: 4 kB / 0.9099 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.3302, allocations: 23.42 kB / 0.9099 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of SimCode: time 7.42e-07/0.3302, allocations: 0 / 0.9099 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.3454, allocations: 2.429 MB / 0.9123 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/0.3458, allocations: 294.7 kB / 0.9126 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/2.841, allocations: 2.656 kB / 0.9126 GB, free: 51.03 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)