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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.457/1.457, allocations: 288.4 MB / 303.6 MB, free: 8.105 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.0009169/0.0009169, allocations: 181 kB / 372.3 MB, free: 10.1 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.167/1.167, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0006517/0.0006517, allocations: 86.92 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003313, allocations: 16.22 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001275/0.1562, allocations: 1.207 MB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009417/0.1571, allocations: 0.7344 MB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.1572, allocations: 4 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.1572, allocations: 3.938 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.1573, allocations: 11.92 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.1577, allocations: 103.8 kB / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.858e-05/0.1578, allocations: 83.7 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.012e-05/0.1579, allocations: 4 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.158, allocations: 35.91 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.1581, allocations: 43.83 kB / 0.9824 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1581, allocations: 8 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1583, allocations: 87.84 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.1583, allocations: 15.97 kB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.1583, allocations: 57.56 kB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.1585, allocations: 112 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.1585, allocations: 3.938 kB / 0.9826 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1585, allocations: 0 / 0.9826 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1585, allocations: 3.938 kB / 0.9826 GB, free: 24.72 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.0004245/0.1589, allocations: 447.2 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.159, allocations: 8.031 kB / 0.9831 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.159, allocations: 42.67 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.1591, allocations: 8.844 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.776e-05/0.1591, allocations: 174.4 kB / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.1592, allocations: 8.375 kB / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.1592, allocations: 4.375 kB / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1594, allocations: 101.7 kB / 0.9834 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1594, allocations: 0 / 0.9834 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1594, allocations: 0 / 0.9834 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1594, allocations: 4 kB / 0.9834 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.1596, allocations: 47.97 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.16, allocations: 332.6 kB / 0.9838 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1601, allocations: 66.59 kB / 0.9838 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.829e-05/0.1602, allocations: 48.83 kB / 0.9839 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1602, allocations: 0 / 0.9839 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.1604, allocations: 103.3 kB / 0.984 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.1604, allocations: 0 / 0.984 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004186/0.1609, allocations: 193.5 kB / 0.9842 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1609, allocations: 59.34 kB / 0.9842 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.407e-05/0.161, allocations: 129.8 kB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.161, allocations: 25.7 kB / 0.9844 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.161, allocations: 96.28 kB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.1611, allocations: 23.73 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.1611, allocations: 384 / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.1611, allocations: 322.8 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.237e-05/0.1612, allocations: 35.98 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.284e-05/0.1613, allocations: 76.09 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.1615, allocations: 117.8 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1615, allocations: 7.984 kB / 0.985 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002167/0.1617, allocations: 137.4 kB / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1617, allocations: 9.406 kB / 0.9851 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1617, allocations: 3.984 kB / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1618, allocations: 4 kB / 0.9852 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.1619, allocations: 19.92 kB / 0.9852 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1619, allocations: 4.156 kB / 0.9852 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.1619, allocations: 15.91 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.162, allocations: 7.984 kB / 0.9852 GB, free: 21.81 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 7.381e-05/0.162, allocations: 127.2 kB / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.1621, allocations: 7.906 kB / 0.9853 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.1621, allocations: 12.38 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1621, allocations: 4 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1621, allocations: 0 / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.1621, allocations: 7.984 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.1625, allocations: 442.5 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1626, allocations: 0 / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.1626, allocations: 4 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1626, allocations: 0 / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.1626, allocations: 7.984 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1626, allocations: 4 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1626, allocations: 3.938 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.1629, allocations: 251.3 kB / 0.986 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.163, allocations: 81.02 kB / 0.9861 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.163, allocations: 8 kB / 0.9861 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-05/0.1631, allocations: 11.98 kB / 0.9861 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.1631, allocations: 7.938 kB / 0.9861 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.1632, allocations: 4.172 kB / 0.9861 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.436e-05/0.1632, allocations: 104.8 kB / 0.9862 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1632, allocations: 3.938 kB / 0.9862 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002767/0.1635, allocations: 36 kB / 0.9863 GB, free: 20.61 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.0006088/0.1641, allocations: 0.8472 MB / 0.9871 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1643, allocations: 103.8 kB / 0.9872 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1643, allocations: 0 / 0.9872 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.662e-05/0.1644, allocations: 47.97 kB / 0.9873 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.1647, allocations: 30.5 kB / 0.9873 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008286/0.1655, allocations: 0.6512 MB / 0.9879 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.711e-05/0.1656, allocations: 0.701 MB / 0.9886 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.1657, allocations: 4 kB / 0.9886 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.1657, allocations: 23.42 kB / 0.9886 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.1657, allocations: 0 / 0.9886 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5647/0.7304, allocations: 2.638 MB / 0.9912 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.7307, allocations: 256.7 kB / 0.9914 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.299, allocations: 3.938 kB / 0.9915 GB, free: 15.3 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)