Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.012/2.012, allocations: 252 MB / 267.3 MB, free: 10.85 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.001552/0.001552, allocations: 169.6 kB / 327 MB, free: 2.094 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.123/2.123, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.001115/0.001115, allocations: 97.92 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004215, allocations: 8.625 kB / 0.7971 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3067, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002054/0.3088, allocations: 1.215 MB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.3105, allocations: 0.7641 MB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.623e-05/0.3106, allocations: 0 / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.3107, allocations: 3.938 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.3108, allocations: 15.88 kB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.3115, allocations: 95.77 kB / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.3117, allocations: 59.84 kB / 0.903 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.3118, allocations: 4 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.312, allocations: 51.77 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.3121, allocations: 23.86 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.3122, allocations: 4 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.3124, allocations: 87.91 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.3125, allocations: 11.92 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.3126, allocations: 53.56 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.3129, allocations: 135.6 kB / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3129, allocations: 0 / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.305e-06/0.3129, allocations: 0 / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3129, allocations: 0 / 0.9034 GB, free: 60.87 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.0006953/0.3136, allocations: 439 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.3137, allocations: 8.031 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.877e-05/0.3137, allocations: 34.73 kB / 0.9038 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.3138, allocations: 8.844 kB / 0.9038 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.3139, allocations: 176.2 kB / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.3139, allocations: 8.375 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.314, allocations: 4.375 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.3142, allocations: 73.72 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3142, allocations: 0 / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3142, allocations: 11.98 kB / 0.9041 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3143, allocations: 4 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.3144, allocations: 35.98 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.315, allocations: 304.6 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.3152, allocations: 54.5 kB / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.3153, allocations: 36.95 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.3153, allocations: 0 / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.3155, allocations: 91.44 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.3155, allocations: 4 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004245/0.316, allocations: 133.6 kB / 0.9047 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.316, allocations: 59.34 kB / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.3161, allocations: 129.7 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3161, allocations: 33.7 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.3162, allocations: 84.14 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.3162, allocations: 19.75 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.3162, allocations: 0 / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.726e-05/0.3163, allocations: 326.8 kB / 0.9054 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.3163, allocations: 23.98 kB / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.086e-05/0.3164, allocations: 65.12 kB / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3166, allocations: 97.08 kB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3166, allocations: 0 / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002208/0.3169, allocations: 121.5 kB / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3169, allocations: 4 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3169, allocations: 7.938 kB / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3169, allocations: 0 / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.317, allocations: 19.92 kB / 0.9057 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.317, allocations: 0 / 0.9057 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.726e-05/0.3171, allocations: 15.98 kB / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.3171, allocations: 4 kB / 0.9057 GB, free: 58.2 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.pDown,bli.pDown,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 8.462e-05/0.3172, allocations: 125.8 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.3172, allocations: 11.84 kB / 0.9058 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.3173, allocations: 12.41 kB / 0.9058 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3173, allocations: 4 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3173, allocations: 0 / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3173, allocations: 3.984 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.3177, allocations: 390.7 kB / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3177, allocations: 0 / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.3178, allocations: 4 kB / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3178, allocations: 0 / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3178, allocations: 7.938 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3178, allocations: 3.938 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3178, allocations: 0 / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.3181, allocations: 223.4 kB / 0.9064 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.3181, allocations: 81.02 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3181, allocations: 0 / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.3182, allocations: 11.92 kB / 0.9065 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.3183, allocations: 4 kB / 0.9065 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3183, allocations: 11.98 kB / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.06e-05/0.3184, allocations: 95.27 kB / 0.9066 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3184, allocations: 0 / 0.9066 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003285/0.3187, allocations: 28 kB / 0.9067 GB, free: 57.11 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.pDown,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.0007173/0.3194, allocations: 0.8102 MB / 0.9075 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.3197, allocations: 76.09 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3197, allocations: 0 / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3198, allocations: 43.91 kB / 0.9076 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.3201, allocations: 18.69 kB / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.3215, allocations: 1.546 MB / 0.9091 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.3217, allocations: 0.6887 MB / 0.9098 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.347e-05/0.3217, allocations: 7.984 kB / 0.9098 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.3218, allocations: 19.44 kB / 0.9098 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.3218, allocations: 0 / 0.9098 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.3367, allocations: 2.334 MB / 0.9121 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.337, allocations: 265.9 kB / 0.9123 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/2.847, allocations: 4 kB / 0.9123 GB, free: 51.24 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)