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.47/1.47, allocations: 252 MB / 267.6 MB, free: 10.92 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.0009703/0.0009703, allocations: 181.7 kB / 327.3 MB, free: 2.219 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.591/1.591, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0009468/0.0009467, allocations: 90.3 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003195, allocations: 8.594 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1769, allocations: 106.3 MB / 0.9008 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001365/0.1783, allocations: 1.2 MB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000943/0.1792, allocations: 0.7529 MB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.1793, allocations: 4 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.1793, allocations: 3.938 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.443e-05/0.1794, allocations: 11.86 kB / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.1798, allocations: 103.8 kB / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.195e-05/0.1799, allocations: 87.7 kB / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.721e-05/0.18, allocations: 4 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.1801, allocations: 39.89 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.648e-05/0.1801, allocations: 31.84 kB / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1801, allocations: 4 kB / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.1803, allocations: 91.84 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.1803, allocations: 15.97 kB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.1803, allocations: 45.64 kB / 0.9032 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.1805, allocations: 111.7 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1805, allocations: 0 / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1805, allocations: 0 / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.1805, allocations: 0 / 0.9033 GB, free: 61.41 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.0004328/0.1809, allocations: 442.7 kB / 0.9037 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.181, allocations: 8.031 kB / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.181, allocations: 15.91 kB / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.562e-05/0.1811, allocations: 178.9 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.1811, allocations: 0 / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1812, allocations: 12 kB / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.1814, allocations: 89.56 kB / 0.904 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1814, allocations: 0 / 0.904 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.1814, allocations: 7.938 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1814, allocations: 0 / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.1816, allocations: 55.97 kB / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.182, allocations: 320.6 kB / 0.9043 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1822, allocations: 70.55 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.586e-05/0.1823, allocations: 40.84 kB / 0.9045 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.1823, allocations: 4 kB / 0.9045 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.1825, allocations: 99.38 kB / 0.9046 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.834e-06/0.1825, allocations: 7.984 kB / 0.9046 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004511/0.183, allocations: 197.4 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.183, allocations: 59.77 kB / 0.9048 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.984e-05/0.1831, allocations: 119.8 kB / 0.9049 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.1831, allocations: 37.69 kB / 0.905 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.1831, allocations: 100.5 kB / 0.9051 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.1831, allocations: 23.66 kB / 0.9051 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.1831, allocations: 0 / 0.9051 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.1832, allocations: 322.8 kB / 0.9054 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.1833, allocations: 31.98 kB / 0.9054 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.876e-05/0.1834, allocations: 73.98 kB / 0.9055 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.587e-05/0.1835, allocations: 43.92 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1835, allocations: 0 / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002185/0.1837, allocations: 141.4 kB / 0.9057 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.1837, allocations: 4 kB / 0.9057 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1837, allocations: 4 kB / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1837, allocations: 0 / 0.9057 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.719e-05/0.1838, allocations: 20.08 kB / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.1838, allocations: 11.95 kB / 0.9057 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.1839, allocations: 15.84 kB / 0.9057 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1839, allocations: 8 kB / 0.9057 GB, free: 58.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/0.184, allocations: 115.9 kB / 0.9058 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.184, allocations: 7.984 kB / 0.9058 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.184, allocations: 12.38 kB / 0.9058 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1841, allocations: 4 kB / 0.9059 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1841, allocations: 0 / 0.9059 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1841, allocations: 7.891 kB / 0.9059 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.1845, allocations: 434.3 kB / 0.9063 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1845, allocations: 3.938 kB / 0.9063 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.1845, allocations: 11.98 kB / 0.9063 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1845, allocations: 4 kB / 0.9063 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1846, allocations: 0 / 0.9063 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1846, allocations: 7.953 kB / 0.9063 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1846, allocations: 0 / 0.9063 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1849, allocations: 251.4 kB / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.1849, allocations: 89.05 kB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1849, allocations: 15.92 kB / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-05/0.185, allocations: 4 kB / 0.9066 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.1851, allocations: 11.94 kB / 0.9067 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1851, allocations: 4 kB / 0.9067 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.1851, allocations: 99.27 kB / 0.9068 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1851, allocations: 0 / 0.9068 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002597/0.1854, allocations: 43.98 kB / 0.9068 GB, free: 57.45 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 (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.0002612/0.1856, allocations: 163.3 kB / 0.907 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1859, allocations: 95.83 kB / 0.907 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1859, allocations: 4.312 kB / 0.907 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.186, allocations: 55.91 kB / 0.9071 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.1863, allocations: 12 kB / 0.9071 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.1866, allocations: 253.1 kB / 0.9074 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.421e-05/0.1867, allocations: 0.6848 MB / 0.908 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.1868, allocations: 15.42 kB / 0.908 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1868, allocations: 0 / 0.908 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.002645/0.1894, allocations: 1.766 MB / 0.9098 GB, free: 54.36 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)