Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.76/1.76, allocations: 288.3 MB / 303.2 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 175.9 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008493/0.0008493, allocations: 90.91 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004203, allocations: 10.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.215, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001574/0.2167, allocations: 1.195 MB / 0.9806 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2178, allocations: 0.7462 MB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.2179, allocations: 0 / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.218, allocations: 3.938 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.802e-05/0.218, allocations: 11.97 kB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.2186, allocations: 103.7 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.286e-05/0.2187, allocations: 47.94 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2188, allocations: 11.98 kB / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.609e-05/0.2189, allocations: 43.78 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.375e-05/0.219, allocations: 35.89 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.219, allocations: 4 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.2192, allocations: 71.88 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.2192, allocations: 15.97 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.2192, allocations: 53.56 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.2194, allocations: 104 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2194, allocations: 0 / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2194, allocations: 0 / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.2194, allocations: 0 / 0.9818 GB, free: 25.25 MB / 0.6198 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.0005632/0.22, allocations: 446.4 kB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2201, allocations: 12.02 kB / 0.9822 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.2201, allocations: 11.91 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.085e-05/0.2202, allocations: 179.7 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.2202, allocations: 11.94 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.2203, allocations: 8 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.2205, allocations: 85.62 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2205, allocations: 0 / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.2205, allocations: 4 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2205, allocations: 0 / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.2207, allocations: 51.97 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.2212, allocations: 324.7 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.2213, allocations: 74.55 kB / 0.9829 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.2214, allocations: 0 / 0.9829 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.2216, allocations: 95.55 kB / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.2216, allocations: 0 / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004279/0.222, allocations: 197.5 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.222, allocations: 59.77 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/0.2221, allocations: 135.6 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.2221, allocations: 29.7 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.2222, allocations: 92.36 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.2222, allocations: 23.69 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.2223, allocations: 4 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.2223, allocations: 322.8 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/0.2224, allocations: 31.98 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.723e-05/0.2225, allocations: 73.98 kB / 0.984 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.441e-05/0.2226, allocations: 47.91 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2226, allocations: 0 / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002171/0.2228, allocations: 137.4 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2228, allocations: 5.875 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2229, allocations: 0 / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2229, allocations: 7.984 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.223, allocations: 15.94 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.223, allocations: 4 kB / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.2231, allocations: 24 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.2231, allocations: 11.94 kB / 0.9842 GB, free: 22.53 MB / 0.6198 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 6.759e-05/0.2232, allocations: 121.8 kB / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.2232, allocations: 7.906 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.2232, allocations: 16.3 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2232, allocations: 0 / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2232, allocations: 0 / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2232, allocations: 0 / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.2236, allocations: 442.4 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2236, allocations: 0 / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.2237, allocations: 8 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.2237, allocations: 0 / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.2237, allocations: 3.984 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2237, allocations: 0 / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2237, allocations: 11.94 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.224, allocations: 255.4 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.224, allocations: 85.11 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.2241, allocations: 3.938 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.2242, allocations: 11.98 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.2242, allocations: 4 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.2242, allocations: 19.94 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.2243, allocations: 91.27 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2243, allocations: 0 / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002777/0.2246, allocations: 43.98 kB / 0.9853 GB, free: 21.33 MB / 0.6198 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.0002733/0.2248, allocations: 171.2 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.2251, allocations: 91.83 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2251, allocations: 4 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.869e-05/0.2252, allocations: 52.23 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.2254, allocations: 12.73 kB / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.2257, allocations: 219.2 kB / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.2258, allocations: 0.7004 MB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.553e-05/0.2259, allocations: 4 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.2259, allocations: 11.44 kB / 0.9865 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2259, allocations: 0 / 0.9865 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.003424/0.2293, allocations: 1.559 MB / 0.988 GB, free: 18.48 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)