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.0007293/0.0007294, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008046/0.0008046, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.607/1.607, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005228/0.000523, allocations: 11 kB / 0.6737 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2068, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001695/0.2086, allocations: 1.215 MB / 0.7885 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.2099, allocations: 0.7338 MB / 0.7892 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.21, allocations: 0 / 0.7892 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.2101, allocations: 3.938 kB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.811e-05/0.2102, allocations: 15.91 kB / 0.7892 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.2108, allocations: 95.77 kB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.211, allocations: 79.77 kB / 0.7894 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2111, allocations: 15.98 kB / 0.7894 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.2112, allocations: 39.84 kB / 0.7894 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.2113, allocations: 35.83 kB / 0.7895 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.2113, allocations: 4 kB / 0.7895 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.2115, allocations: 79.92 kB / 0.7895 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.2116, allocations: 23.89 kB / 0.7896 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.33e-05/0.2116, allocations: 41.64 kB / 0.7896 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.2118, allocations: 108 kB / 0.7897 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2118, allocations: 4 kB / 0.7897 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2118, allocations: 0 / 0.7897 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.2118, allocations: 0 / 0.7897 GB, free: 9.438 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.0006053/0.2125, allocations: 446.5 kB / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2125, allocations: 8.031 kB / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.2126, allocations: 11.89 kB / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2127, allocations: 174.9 kB / 0.7903 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.2127, allocations: 8 kB / 0.7903 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.2128, allocations: 8 kB / 0.7903 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.213, allocations: 93.5 kB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.213, allocations: 0 / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.2131, allocations: 4 kB / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2131, allocations: 4 kB / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.2132, allocations: 51.97 kB / 0.7905 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.2137, allocations: 320.7 kB / 0.7908 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.2139, allocations: 66.59 kB / 0.7908 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.57e-05/0.214, allocations: 52.83 kB / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.214, allocations: 0 / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.2142, allocations: 95.36 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.2142, allocations: 0 / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004451/0.2147, allocations: 201.5 kB / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.2148, allocations: 59.3 kB / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.2149, allocations: 132.7 kB / 0.7914 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.2149, allocations: 29.7 kB / 0.7914 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.215, allocations: 96.52 kB / 0.7915 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.215, allocations: 23.73 kB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.215, allocations: 4 kB / 0.7915 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2151, allocations: 322.8 kB / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.232e-05/0.2152, allocations: 31.98 kB / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.2153, allocations: 85.06 kB / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.267e-05/0.2154, allocations: 35.98 kB / 0.792 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2154, allocations: 0 / 0.792 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002457/0.2157, allocations: 141.4 kB / 0.7921 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2157, allocations: 8 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.2157, allocations: 96 / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.2157, allocations: 7.984 kB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.2158, allocations: 16.36 kB / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2158, allocations: 3.938 kB / 0.7921 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.774e-05/0.2159, allocations: 24.02 kB / 0.7922 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2159, allocations: 7.984 kB / 0.7922 GB, free: 6.668 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 ($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.0001137/0.2161, allocations: 126.4 kB / 0.7923 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.2161, allocations: 7.906 kB / 0.7923 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.2161, allocations: 8.375 kB / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.2161, allocations: 8 kB / 0.7923 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2161, allocations: 0 / 0.7923 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2161, allocations: 3.984 kB / 0.7923 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.2166, allocations: 438.4 kB / 0.7927 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2166, allocations: 0 / 0.7927 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.2167, allocations: 7.938 kB / 0.7927 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2167, allocations: 0 / 0.7927 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2167, allocations: 7.984 kB / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2167, allocations: 0 / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2167, allocations: 7.953 kB / 0.7928 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.217, allocations: 251.3 kB / 0.793 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.2171, allocations: 81.02 kB / 0.7931 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.2171, allocations: 8 kB / 0.7931 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.2172, allocations: 11.98 kB / 0.7931 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.2173, allocations: 7.953 kB / 0.7931 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2173, allocations: 3.984 kB / 0.7931 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.275e-05/0.2173, allocations: 99.27 kB / 0.7932 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2173, allocations: 0 / 0.7932 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003007/0.2176, allocations: 40 kB / 0.7932 GB, free: 5.473 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 (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.0003083/0.218, allocations: 166.5 kB / 0.7934 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.2182, allocations: 99.83 kB / 0.7935 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2182, allocations: 0 / 0.7935 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.2183, allocations: 56.28 kB / 0.7935 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.2186, allocations: 10.42 kB / 0.7935 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.219, allocations: 223 kB / 0.7938 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.2192, allocations: 0.6967 MB / 0.7944 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.382e-05/0.2193, allocations: 7.984 kB / 0.7945 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.2193, allocations: 15.42 kB / 0.7945 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.2193, allocations: 0 / 0.7945 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of Templates: time 0.00376/0.2231, allocations: 1.564 MB / 0.796 GB, free: 2.609 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: