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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.369/1.369, allocations: 252 MB / 268 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.0009874/0.0009875, allocations: 170.5 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007233/0.0007232, allocations: 101.5 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 12.06 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.164, allocations: 106.3 MB / 0.9014 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001374/0.1654, allocations: 1.223 MB / 0.9026 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1665, allocations: 0.7914 MB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.1666, allocations: 3.938 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.1666, allocations: 0 / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-05/0.1667, allocations: 15.86 kB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.1671, allocations: 111.7 kB / 0.9035 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.615e-05/0.1672, allocations: 79.81 kB / 0.9036 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.513e-05/0.1673, allocations: 12 kB / 0.9036 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.625e-05/0.1674, allocations: 39.8 kB / 0.9037 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.1675, allocations: 43.81 kB / 0.9037 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1675, allocations: 8 kB / 0.9037 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.1677, allocations: 91.84 kB / 0.9038 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.1677, allocations: 15.98 kB / 0.9038 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.1678, allocations: 65.47 kB / 0.9039 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.1679, allocations: 107.8 kB / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1679, allocations: 0 / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1679, allocations: 0 / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.1679, allocations: 0 / 0.904 GB, free: 60.86 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.0004519/0.1684, allocations: 450.8 kB / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1684, allocations: 8.031 kB / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.1685, allocations: 8.844 kB / 0.9044 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.298e-05/0.1686, allocations: 180.2 kB / 0.9046 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.1686, allocations: 8.375 kB / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.1686, allocations: 4.375 kB / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.1688, allocations: 97.88 kB / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1688, allocations: 0 / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1688, allocations: 8 kB / 0.9047 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1689, allocations: 0 / 0.9047 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.169, allocations: 51.97 kB / 0.9048 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.1695, allocations: 316.8 kB / 0.9051 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.1696, allocations: 74.58 kB / 0.9051 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.044e-05/0.1697, allocations: 44.83 kB / 0.9052 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1697, allocations: 4 kB / 0.9052 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.1699, allocations: 103.3 kB / 0.9053 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1699, allocations: 0 / 0.9053 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004211/0.1704, allocations: 193.5 kB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.1704, allocations: 55.34 kB / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.1705, allocations: 139.9 kB / 0.9057 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1705, allocations: 25.7 kB / 0.9057 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.1705, allocations: 100.5 kB / 0.9058 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.1706, allocations: 19.8 kB / 0.9058 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.1706, allocations: 0 / 0.9058 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.084e-05/0.1706, allocations: 322.8 kB / 0.9061 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.639e-05/0.1707, allocations: 31.98 kB / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.1708, allocations: 74 kB / 0.9062 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.171, allocations: 117.9 kB / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.171, allocations: 0 / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002206/0.1712, allocations: 149.4 kB / 0.9065 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1712, allocations: 4 kB / 0.9065 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1712, allocations: 4 kB / 0.9065 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1713, allocations: 0 / 0.9065 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.1713, allocations: 27.86 kB / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1714, allocations: 0 / 0.9065 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.1714, allocations: 20 kB / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1715, allocations: 8 kB / 0.9065 GB, free: 58 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 6.808e-05/0.1715, allocations: 127.8 kB / 0.9066 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.1715, allocations: 7.906 kB / 0.9066 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.1716, allocations: 8.375 kB / 0.9067 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1716, allocations: 0 / 0.9067 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1716, allocations: 4 kB / 0.9067 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1716, allocations: 4 kB / 0.9067 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.172, allocations: 442.7 kB / 0.9071 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.172, allocations: 4.078 kB / 0.9071 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.1721, allocations: 7.938 kB / 0.9071 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1721, allocations: 0 / 0.9071 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.1721, allocations: 7.984 kB / 0.9071 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1721, allocations: 0 / 0.9071 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1721, allocations: 3.938 kB / 0.9071 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.1724, allocations: 251.3 kB / 0.9073 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.1724, allocations: 88.94 kB / 0.9074 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1725, allocations: 8 kB / 0.9074 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.1726, allocations: 4 kB / 0.9074 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.1726, allocations: 15.92 kB / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.1726, allocations: 3.984 kB / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.627e-05/0.1727, allocations: 99.27 kB / 0.9076 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1727, allocations: 0 / 0.9076 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002787/0.173, allocations: 40 kB / 0.9076 GB, free: 56.79 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.000281/0.1732, allocations: 165.4 kB / 0.9078 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.1735, allocations: 103.8 kB / 0.9079 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1735, allocations: 3.938 kB / 0.9079 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1736, allocations: 56.22 kB / 0.9079 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.1739, allocations: 15.98 kB / 0.9079 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.1742, allocations: 252.7 kB / 0.9082 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.388e-05/0.1744, allocations: 0.6965 MB / 0.9088 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.1744, allocations: 11.44 kB / 0.9089 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.1744, allocations: 0 / 0.9089 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.002895/0.1773, allocations: 1.757 MB / 0.9106 GB, free: 53.69 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)