Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008076/0.0008075, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004257/0.004257, allocations: 172.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.4 MB / 222.5 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.615/1.615, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004515, allocations: 16.84 kB / 0.6744 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1758, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001323/0.1771, allocations: 1.231 MB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1781, allocations: 0.7723 MB / 0.79 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.1782, allocations: 0 / 0.79 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.1782, allocations: 7.875 kB / 0.79 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.767e-05/0.1783, allocations: 7.938 kB / 0.79 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.1786, allocations: 107.8 kB / 0.7901 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.1787, allocations: 91.69 kB / 0.7902 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.1788, allocations: 12 kB / 0.7902 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.1789, allocations: 35.92 kB / 0.7902 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.1789, allocations: 43.81 kB / 0.7902 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.179, allocations: 4 kB / 0.7902 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.1791, allocations: 91.84 kB / 0.7903 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.1791, allocations: 15.92 kB / 0.7904 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.1792, allocations: 53.56 kB / 0.7904 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1794, allocations: 163.8 kB / 0.7906 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.1794, allocations: 0 / 0.7906 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1794, allocations: 4 kB / 0.7906 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.334e-06/0.1794, allocations: 0 / 0.7906 GB, free: 8.82 MB / 0.6075 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.0004286/0.1798, allocations: 442.7 kB / 0.791 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.1799, allocations: 11.97 kB / 0.791 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.1799, allocations: 34.75 kB / 0.791 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.1799, allocations: 12.83 kB / 0.791 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.34e-05/0.18, allocations: 172.2 kB / 0.7912 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.18, allocations: 8.375 kB / 0.7912 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.1801, allocations: 8.375 kB / 0.7912 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1803, allocations: 97.69 kB / 0.7913 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.1803, allocations: 0 / 0.7913 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1803, allocations: 3.984 kB / 0.7913 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.1803, allocations: 0 / 0.7913 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.1804, allocations: 51.97 kB / 0.7914 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.1809, allocations: 328.7 kB / 0.7917 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.181, allocations: 70.58 kB / 0.7917 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.1811, allocations: 52.83 kB / 0.7918 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.1812, allocations: 0 / 0.7918 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.1813, allocations: 99.3 kB / 0.7919 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.1813, allocations: 0 / 0.7919 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004177/0.1818, allocations: 197.5 kB / 0.7921 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.1818, allocations: 59.41 kB / 0.7921 GB, free: 7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/0.1819, allocations: 125.8 kB / 0.7923 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1819, allocations: 33.7 kB / 0.7923 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.182, allocations: 88.28 kB / 0.7924 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.182, allocations: 23.73 kB / 0.7924 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.182, allocations: 25.66 kB / 0.7924 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.1821, allocations: 330.8 kB / 0.7927 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.551e-05/0.1822, allocations: 27.98 kB / 0.7928 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1823, allocations: 80.94 kB / 0.7928 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.1825, allocations: 113.9 kB / 0.7929 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1825, allocations: 4 kB / 0.793 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002364/0.1827, allocations: 137.4 kB / 0.7931 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.1828, allocations: 4 kB / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1828, allocations: 160 / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1828, allocations: 15.98 kB / 0.7931 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.445e-05/0.1829, allocations: 12 kB / 0.7931 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1829, allocations: 7.938 kB / 0.7931 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.352e-05/0.1829, allocations: 15.89 kB / 0.7931 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.183, allocations: 8 kB / 0.7931 GB, free: 5.887 MB / 0.6075 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 7.719e-05/0.183, allocations: 121.7 kB / 0.7933 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.1831, allocations: 11.91 kB / 0.7933 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.1831, allocations: 16.36 kB / 0.7933 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1831, allocations: 0 / 0.7933 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1831, allocations: 0 / 0.7933 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1831, allocations: 0 / 0.7933 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.1836, allocations: 438.9 kB / 0.7937 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1836, allocations: 8 kB / 0.7937 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.1836, allocations: 7.938 kB / 0.7937 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1837, allocations: 192 / 0.7937 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1837, allocations: 11.91 kB / 0.7937 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1837, allocations: 0 / 0.7937 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1837, allocations: 3.938 kB / 0.7937 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.184, allocations: 259.3 kB / 0.794 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.184, allocations: 85.02 kB / 0.7941 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.1841, allocations: 0 / 0.7941 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-05/0.1842, allocations: 7.984 kB / 0.7941 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.1842, allocations: 7.938 kB / 0.7941 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1842, allocations: 15.92 kB / 0.7941 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.1843, allocations: 99.02 kB / 0.7942 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1843, allocations: 0 / 0.7942 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002654/0.1845, allocations: 44 kB / 0.7942 GB, free: 4.676 MB / 0.6075 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.0006908/0.1852, allocations: 0.8442 MB / 0.7951 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.1855, allocations: 99.83 kB / 0.7952 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1855, allocations: 0 / 0.7952 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1856, allocations: 56.28 kB / 0.7952 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.1859, allocations: 15.92 kB / 0.7952 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.1872, allocations: 1.632 MB / 0.7968 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.1874, allocations: 0.6965 MB / 0.7975 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.224e-05/0.1875, allocations: 4 kB / 0.7975 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.1875, allocations: 23.42 kB / 0.7975 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.1875, allocations: 0 / 0.7975 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9057/1.093, allocations: 2.651 MB / 0.8001 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004118/1.094, allocations: 271.6 kB / 0.8004 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.892, allocations: 3.938 kB / 0.8004 GB, free: 14.32 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)