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 2.001/2.001, allocations: 252 MB / 267.3 MB, free: 10.86 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.002367/0.002366, allocations: 181.8 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.318/3.318, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.001402/0.001402, allocations: 89.61 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005811/0.0005816, allocations: 12.5 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3247, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002439/0.3272, allocations: 1.223 MB / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.3291, allocations: 0.7798 MB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.3291, allocations: 3.938 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.3292, allocations: 0 / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.3293, allocations: 23.78 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006445/0.33, allocations: 107.8 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3301, allocations: 87.77 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3303, allocations: 8 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.3304, allocations: 31.86 kB / 0.9031 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.3305, allocations: 47.81 kB / 0.9032 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.3306, allocations: 4 kB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/0.3308, allocations: 91.84 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.597e-05/0.3309, allocations: 11.98 kB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.509e-05/0.331, allocations: 77.47 kB / 0.9033 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.3313, allocations: 139.9 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3313, allocations: 0 / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3313, allocations: 3.938 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.3314, allocations: 0 / 0.9035 GB, free: 60.73 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.0008283/0.3322, allocations: 443.6 kB / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/0.3323, allocations: 12.03 kB / 0.9039 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.892e-05/0.3324, allocations: 42.73 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.3324, allocations: 8.844 kB / 0.904 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.3326, allocations: 176.2 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/0.3327, allocations: 4.375 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.3327, allocations: 8.375 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.333, allocations: 89.75 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3331, allocations: 0 / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.3331, allocations: 4 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3331, allocations: 0 / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.3334, allocations: 55.91 kB / 0.9043 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007406/0.3341, allocations: 328.7 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.3344, allocations: 70.56 kB / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.3346, allocations: 44.83 kB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.3346, allocations: 4 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.3349, allocations: 99.39 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.505e-06/0.3349, allocations: 4 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0006922/0.3356, allocations: 189.5 kB / 0.905 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3357, allocations: 59.41 kB / 0.9051 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3358, allocations: 131.6 kB / 0.9052 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.3359, allocations: 33.7 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.3359, allocations: 92.36 kB / 0.9053 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.336, allocations: 15.81 kB / 0.9053 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/0.336, allocations: 7.938 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.3361, allocations: 322.8 kB / 0.9056 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.3362, allocations: 27.98 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.3364, allocations: 81.98 kB / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.3366, allocations: 117.9 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3367, allocations: 0 / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003975/0.3371, allocations: 145.4 kB / 0.906 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3371, allocations: 4 kB / 0.906 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3371, allocations: 11.94 kB / 0.906 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3372, allocations: 0 / 0.906 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.3373, allocations: 23.92 kB / 0.906 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3373, allocations: 0 / 0.906 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.3374, allocations: 19.92 kB / 0.906 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.3375, allocations: 4 kB / 0.906 GB, free: 57.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.3376, allocations: 135.6 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.3377, allocations: 7.906 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.3377, allocations: 4.375 kB / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3377, allocations: 0 / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3377, allocations: 0 / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.3377, allocations: 7.984 kB / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007585/0.3385, allocations: 450.4 kB / 0.9066 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.3385, allocations: 0 / 0.9066 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.015e-05/0.3386, allocations: 4 kB / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3386, allocations: 0 / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.3386, allocations: 3.984 kB / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3387, allocations: 4 kB / 0.9066 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3387, allocations: 3.938 kB / 0.9066 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000474/0.3392, allocations: 255.4 kB / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.3392, allocations: 81.2 kB / 0.907 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.3393, allocations: 4 kB / 0.907 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.3394, allocations: 11.92 kB / 0.907 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.3395, allocations: 7.938 kB / 0.907 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.3395, allocations: 11.98 kB / 0.907 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.3396, allocations: 102.3 kB / 0.9071 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3396, allocations: 3.938 kB / 0.9071 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005747/0.3402, allocations: 40 kB / 0.9071 GB, free: 56.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: 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 (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.001074/0.3413, allocations: 0.8414 MB / 0.908 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003667/0.3417, allocations: 108 kB / 0.9081 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3417, allocations: 0 / 0.9081 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.3419, allocations: 55.95 kB / 0.9081 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.3424, allocations: 15.92 kB / 0.9081 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.3447, allocations: 1.624 MB / 0.9097 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.3449, allocations: 0.6887 MB / 0.9104 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.811e-05/0.3449, allocations: 7.984 kB / 0.9104 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.345, allocations: 19.44 kB / 0.9104 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/0.345, allocations: 0 / 0.9104 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.3659, allocations: 2.649 MB / 0.913 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/0.3662, allocations: 282.7 kB / 0.9133 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/3.035, allocations: 7.938 kB / 0.9133 GB, free: 50.26 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)