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.425/1.425, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001002/0.001002, allocations: 171.7 kB / 326.5 MB, free: 2.691 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.442/1.442, allocations: 205 MB / 0.5766 GB, free: 21 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.0007525/0.0007523, allocations: 84.98 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002856, allocations: 9.594 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1804, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001491/0.1819, allocations: 1.235 MB / 0.8979 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.183, allocations: 0.8039 MB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.1831, allocations: 7.938 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.1831, allocations: 0 / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.283e-05/0.1832, allocations: 15.84 kB / 0.8988 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.1836, allocations: 111.8 kB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.186e-05/0.1838, allocations: 87.7 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.367e-05/0.1838, allocations: 8 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.1839, allocations: 43.89 kB / 0.899 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.184, allocations: 31.84 kB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.184, allocations: 4 kB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.1842, allocations: 91.84 kB / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.1842, allocations: 19.92 kB / 0.8991 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.1843, allocations: 47.77 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.1844, allocations: 99.81 kB / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1844, allocations: 4 kB / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.674e-06/0.1844, allocations: 0 / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1844, allocations: 0 / 0.8993 GB, free: 65.56 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.0004663/0.1849, allocations: 448.5 kB / 0.8997 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.185, allocations: 12.03 kB / 0.8997 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.185, allocations: 8.844 kB / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.969e-05/0.1851, allocations: 180.2 kB / 0.8999 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1851, allocations: 12.31 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.1851, allocations: 4.375 kB / 0.8999 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1853, allocations: 97.88 kB / 0.9 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1854, allocations: 0 / 0.9 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1854, allocations: 0 / 0.9 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1854, allocations: 4 kB / 0.9 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1855, allocations: 55.91 kB / 0.9001 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.186, allocations: 320.7 kB / 0.9004 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.1861, allocations: 70.55 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.9e-05/0.1862, allocations: 48.83 kB / 0.9005 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1862, allocations: 0 / 0.9005 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.1864, allocations: 99.55 kB / 0.9006 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.1865, allocations: 4 kB / 0.9006 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004037/0.1869, allocations: 193.5 kB / 0.9008 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.1869, allocations: 59.39 kB / 0.9008 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.187, allocations: 129.7 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.187, allocations: 29.7 kB / 0.901 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.187, allocations: 92.38 kB / 0.9011 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.187, allocations: 23.73 kB / 0.9011 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.1871, allocations: 21.72 kB / 0.9011 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.967e-05/0.1871, allocations: 322.8 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.227e-05/0.1872, allocations: 31.98 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.141e-05/0.1873, allocations: 79.25 kB / 0.9015 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.1874, allocations: 121.8 kB / 0.9016 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1875, allocations: 0 / 0.9016 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002127/0.1877, allocations: 141.5 kB / 0.9018 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1877, allocations: 8.031 kB / 0.9018 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1877, allocations: 4 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1877, allocations: 0 / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.1878, allocations: 15.94 kB / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1878, allocations: 7.984 kB / 0.9018 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.1879, allocations: 11.84 kB / 0.9018 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1879, allocations: 12 kB / 0.9018 GB, free: 62.67 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 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * 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.153e-05/0.188, allocations: 125.7 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.188, allocations: 8.281 kB / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.188, allocations: 16.36 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.188, allocations: 3.938 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.188, allocations: 0 / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1881, allocations: 7.938 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.1885, allocations: 438.4 kB / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1885, allocations: 4 kB / 0.9024 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.1885, allocations: 7.984 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1885, allocations: 0 / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1885, allocations: 4 kB / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1885, allocations: 0 / 0.9024 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1886, allocations: 7.938 kB / 0.9024 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1888, allocations: 251.3 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.1889, allocations: 85.02 kB / 0.9027 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.1889, allocations: 3.984 kB / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.189, allocations: 12 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.189, allocations: 7.922 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.189, allocations: 4 kB / 0.9028 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.1891, allocations: 101 kB / 0.9029 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1891, allocations: 0 / 0.9029 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002675/0.1894, allocations: 47.92 kB / 0.9029 GB, free: 61.46 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.0002647/0.1896, allocations: 163.4 kB / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.1899, allocations: 99.89 kB / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1899, allocations: 0 / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.19, allocations: 47.92 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.1902, allocations: 15.36 kB / 0.9032 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.1906, allocations: 252.5 kB / 0.9035 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.67e-05/0.1907, allocations: 0.6887 MB / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.1908, allocations: 15.42 kB / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.1908, allocations: 4 kB / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.002856/0.1936, allocations: 1.767 MB / 0.9059 GB, free: 58.37 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)