Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.552/1.552, allocations: 252 MB / 267 MB, free: 10.96 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.001184/0.001184, allocations: 175.1 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.4 MB / 0.5777 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.00083/0.0008298, allocations: 93.8 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004696, allocations: 10.17 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3071, allocations: 106.4 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002196/0.3093, allocations: 1.203 MB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.3109, allocations: 0.7451 MB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.357e-05/0.3111, allocations: 0 / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.3111, allocations: 3.938 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.3112, allocations: 23.78 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007267/0.312, allocations: 91.83 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.3122, allocations: 83.7 kB / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3123, allocations: 12 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.3124, allocations: 39.89 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3126, allocations: 35.84 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.3126, allocations: 4 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.3129, allocations: 83.84 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.3129, allocations: 15.98 kB / 0.9026 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.313, allocations: 41.64 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.3132, allocations: 108.1 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3132, allocations: 0 / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3133, allocations: 0 / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.3133, allocations: 4 kB / 0.9027 GB, free: 61.29 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006929/0.314, allocations: 446.5 kB / 0.9032 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.3141, allocations: 8.031 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.196e-05/0.3141, allocations: 38.55 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.3142, allocations: 11.86 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3143, allocations: 178.9 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.3144, allocations: 3.938 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.3144, allocations: 16 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.3147, allocations: 85.62 kB / 0.9035 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3147, allocations: 3.938 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.3148, allocations: 0 / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3148, allocations: 0 / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.315, allocations: 55.91 kB / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.3156, allocations: 332.6 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.3159, allocations: 62.56 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.316, allocations: 48.83 kB / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3161, allocations: 4 kB / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.3164, allocations: 95.39 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.875e-06/0.3164, allocations: 0 / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006127/0.317, allocations: 201.4 kB / 0.9043 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.317, allocations: 59.41 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3172, allocations: 123.8 kB / 0.9044 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3172, allocations: 33.7 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.3173, allocations: 88.28 kB / 0.9046 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.3173, allocations: 23.94 kB / 0.9046 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.3173, allocations: 8 kB / 0.9046 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.467e-05/0.3174, allocations: 322.8 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.3175, allocations: 23.98 kB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.3176, allocations: 82.3 kB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3178, allocations: 39.98 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3178, allocations: 0 / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000312/0.3181, allocations: 145.4 kB / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3181, allocations: 7.938 kB / 0.9052 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3181, allocations: 4 kB / 0.9052 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.3182, allocations: 0 / 0.9052 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.3183, allocations: 23.88 kB / 0.9052 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.3183, allocations: 4 kB / 0.9052 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.3184, allocations: 15.98 kB / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.3185, allocations: 16 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,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 (15): * Single equations (assignments): 15 * 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.0001106/0.3186, allocations: 120.6 kB / 0.9054 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.3186, allocations: 7.906 kB / 0.9054 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.3187, allocations: 12.38 kB / 0.9054 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3187, allocations: 0 / 0.9054 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.3187, allocations: 3.953 kB / 0.9054 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3187, allocations: 3.984 kB / 0.9054 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006408/0.3194, allocations: 442.3 kB / 0.9058 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3194, allocations: 0 / 0.9058 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.3194, allocations: 8 kB / 0.9058 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.3194, allocations: 0 / 0.9058 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.3195, allocations: 7.938 kB / 0.9058 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3195, allocations: 0 / 0.9058 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3195, allocations: 4 kB / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/0.3199, allocations: 255.3 kB / 0.9061 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.32, allocations: 85.02 kB / 0.9061 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.32, allocations: 4 kB / 0.9061 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.3202, allocations: 11.94 kB / 0.9062 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.3202, allocations: 8 kB / 0.9062 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.3203, allocations: 7.984 kB / 0.9062 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.589e-05/0.3203, allocations: 95.27 kB / 0.9063 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3203, allocations: 0 / 0.9063 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004767/0.3208, allocations: 40.19 kB / 0.9063 GB, free: 57.27 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009648/0.3218, allocations: 0.8528 MB / 0.9071 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003411/0.3222, allocations: 95.89 kB / 0.9072 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3222, allocations: 0 / 0.9072 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.3223, allocations: 51.91 kB / 0.9073 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.3228, allocations: 20.22 kB / 0.9073 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.3243, allocations: 0.6577 MB / 0.9079 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.3244, allocations: 0.6965 MB / 0.9086 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.163e-05/0.3245, allocations: 4 kB / 0.9086 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.3246, allocations: 23.42 kB / 0.9086 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.3246, allocations: 0 / 0.9086 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.3418, allocations: 2.645 MB / 0.9112 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/0.3422, allocations: 262.3 kB / 0.9115 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/1.958, allocations: 0 / 0.9115 GB, free: 51.97 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)