Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009679/0.009679, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004708, allocations: 12.09 kB / 0.6743 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2309, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001897/0.2328, allocations: 1.231 MB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.2345, allocations: 0.7723 MB / 0.7898 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.2346, allocations: 3.938 kB / 0.7898 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.2346, allocations: 3.984 kB / 0.7898 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.22e-05/0.2347, allocations: 11.88 kB / 0.7898 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.2352, allocations: 103.8 kB / 0.7899 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.2354, allocations: 91.7 kB / 0.79 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2355, allocations: 11.98 kB / 0.79 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.2356, allocations: 35.91 kB / 0.7901 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.446e-05/0.2357, allocations: 43.83 kB / 0.7901 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.2357, allocations: 4 kB / 0.7901 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.2359, allocations: 87.84 kB / 0.7902 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.236, allocations: 23.91 kB / 0.7902 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.934e-05/0.2361, allocations: 61.56 kB / 0.7903 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.2363, allocations: 151.8 kB / 0.7904 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2363, allocations: 0 / 0.7904 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2363, allocations: 0 / 0.7904 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2363, allocations: 0 / 0.7904 GB, free: 8.914 MB / 0.6075 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.0006431/0.237, allocations: 442.7 kB / 0.7909 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.237, allocations: 16.02 kB / 0.7909 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.2371, allocations: 12.84 kB / 0.7909 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.2372, allocations: 176.3 kB / 0.7911 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.2373, allocations: 12.31 kB / 0.7911 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.2373, allocations: 4.375 kB / 0.7911 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.2375, allocations: 93.94 kB / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2376, allocations: 0 / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.2376, allocations: 0 / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2376, allocations: 0 / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.2378, allocations: 59.91 kB / 0.7912 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.2383, allocations: 332.5 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.2385, allocations: 66.56 kB / 0.7916 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.2386, allocations: 48.83 kB / 0.7916 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.2387, allocations: 0 / 0.7916 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.2389, allocations: 99.39 kB / 0.7917 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.645e-06/0.2389, allocations: 4 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004828/0.2394, allocations: 193.5 kB / 0.7919 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.2395, allocations: 59.55 kB / 0.792 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.2396, allocations: 129.8 kB / 0.7921 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.2396, allocations: 33.7 kB / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.2397, allocations: 92.28 kB / 0.7922 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.2397, allocations: 23.73 kB / 0.7923 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.2397, allocations: 17.72 kB / 0.7923 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2399, allocations: 326.8 kB / 0.7926 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-05/0.24, allocations: 35.97 kB / 0.7926 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.2401, allocations: 74 kB / 0.7927 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.2403, allocations: 113.9 kB / 0.7928 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2403, allocations: 4 kB / 0.7928 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002668/0.2406, allocations: 141.5 kB / 0.7929 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2406, allocations: 8.031 kB / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2406, allocations: 0 / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2406, allocations: 4 kB / 0.7929 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.952e-05/0.2407, allocations: 19.92 kB / 0.793 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2407, allocations: 4 kB / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.769e-05/0.2408, allocations: 7.906 kB / 0.793 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.2408, allocations: 12 kB / 0.793 GB, free: 6.023 MB / 0.6075 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 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * 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.0001006/0.2409, allocations: 130.7 kB / 0.7931 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.241, allocations: 11.89 kB / 0.7931 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.241, allocations: 16.45 kB / 0.7931 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.241, allocations: 0 / 0.7931 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.241, allocations: 3.938 kB / 0.7931 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.241, allocations: 0 / 0.7931 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/0.2416, allocations: 442.4 kB / 0.7936 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2416, allocations: 4 kB / 0.7936 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.2416, allocations: 7.984 kB / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2416, allocations: 0 / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2417, allocations: 0 / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2417, allocations: 0 / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2417, allocations: 3.938 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.242, allocations: 255.3 kB / 0.7938 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.2421, allocations: 85.02 kB / 0.7939 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.2421, allocations: 7.984 kB / 0.7939 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.2422, allocations: 4 kB / 0.7939 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.2422, allocations: 15.92 kB / 0.7939 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2423, allocations: 7.938 kB / 0.7939 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.263e-05/0.2423, allocations: 106.9 kB / 0.794 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2423, allocations: 0 / 0.794 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003049/0.2426, allocations: 43.98 kB / 0.7941 GB, free: 4.805 MB / 0.6075 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.000327/0.243, allocations: 158.5 kB / 0.7942 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.2432, allocations: 99.89 kB / 0.7943 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2433, allocations: 0 / 0.7943 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.2434, allocations: 59.89 kB / 0.7944 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.2437, allocations: 10.42 kB / 0.7944 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.2441, allocations: 226.4 kB / 0.7946 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.2444, allocations: 0.6926 MB / 0.7953 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.417e-05/0.2444, allocations: 11.98 kB / 0.7953 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.2444, allocations: 15.38 kB / 0.7953 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.2444, allocations: 0 / 0.7953 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.004492/0.2489, allocations: 1.574 MB / 0.7968 GB, free: 1.93 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) Environment - environmentSimulation: