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.001539/0.001539, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001845/0.001845, allocations: 188.9 kB / 16.25 MB, free: 6.625 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.374/1.374, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.3 MB / 0.5486 GB, free: 13.64 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.001549/0.001549, allocations: 64.19 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1768, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002519/0.1794, allocations: 1.57 MB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1805, allocations: 0.7722 MB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.1806, allocations: 3.938 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.1806, allocations: 4 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.125e-05/0.1807, allocations: 7.875 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.1812, allocations: 115.8 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.1813, allocations: 91.7 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.433e-05/0.1814, allocations: 15.98 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.977e-05/0.1815, allocations: 35.92 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.053e-05/0.1815, allocations: 47.81 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1816, allocations: 8 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.1817, allocations: 99.84 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.1818, allocations: 19.92 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.1818, allocations: 43.83 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.182, allocations: 159.8 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.182, allocations: 0 / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.182, allocations: 0 / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.182, allocations: 4 kB / 0.7859 GB, free: 10.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.0005046/0.1826, allocations: 454.5 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1826, allocations: 12.03 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.1826, allocations: 38.73 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.1827, allocations: 8.844 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.785e-05/0.1828, allocations: 172.2 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.1828, allocations: 12.31 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.1828, allocations: 20.3 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.183, allocations: 81.77 kB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.183, allocations: 0 / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1831, allocations: 4 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.1831, allocations: 0 / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.1832, allocations: 43.97 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.1837, allocations: 328.7 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.1838, allocations: 62.56 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.1839, allocations: 44.83 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.184, allocations: 0 / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.1842, allocations: 103.3 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.1842, allocations: 0 / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004343/0.1846, allocations: 189.5 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.1847, allocations: 59.34 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.1847, allocations: 125.7 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1848, allocations: 29.7 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.1848, allocations: 96.38 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.1849, allocations: 23.73 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.1849, allocations: 33.7 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.185, allocations: 322.8 kB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.378e-05/0.1851, allocations: 27.98 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-05/0.1852, allocations: 71.97 kB / 0.7881 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1853, allocations: 110.2 kB / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1853, allocations: 4 kB / 0.7883 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002314/0.1856, allocations: 137.3 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1856, allocations: 4 kB / 0.7884 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1856, allocations: 3.938 kB / 0.7884 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1856, allocations: 4 kB / 0.7884 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.586e-05/0.1857, allocations: 23.92 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1857, allocations: 7.984 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/0.1858, allocations: 8.156 kB / 0.7884 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1858, allocations: 4 kB / 0.7884 GB, free: 7.922 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 8.502e-05/0.1859, allocations: 141.3 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.1859, allocations: 7.906 kB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.186, allocations: 8.375 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.186, allocations: 0 / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.186, allocations: 8 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.186, allocations: 4 kB / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.1865, allocations: 430.4 kB / 0.789 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1865, allocations: 4 kB / 0.789 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.1865, allocations: 3.984 kB / 0.789 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.1865, allocations: 4 kB / 0.789 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1865, allocations: 4 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1865, allocations: 0 / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.1866, allocations: 7.922 kB / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.1869, allocations: 247.3 kB / 0.7893 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.1869, allocations: 81.09 kB / 0.7893 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.1869, allocations: 4 kB / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/0.187, allocations: 4 kB / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.1871, allocations: 15.86 kB / 0.7894 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.1871, allocations: 4 kB / 0.7894 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.059e-05/0.1872, allocations: 106.4 kB / 0.7895 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1872, allocations: 0 / 0.7895 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002882/0.1874, allocations: 47.89 kB / 0.7895 GB, free: 6.719 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.0007214/0.1882, allocations: 0.8437 MB / 0.7903 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.1884, allocations: 87.89 kB / 0.7904 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1884, allocations: 0 / 0.7904 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1885, allocations: 51.91 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.1888, allocations: 20.52 kB / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.1902, allocations: 1.615 MB / 0.7921 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.1904, allocations: 0.6885 MB / 0.7927 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.628e-05/0.1905, allocations: 4 kB / 0.7928 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.1905, allocations: 23.42 kB / 0.7928 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.1905, allocations: 7.875 kB / 0.7928 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2439/0.4345, allocations: 2.839 MB / 0.7956 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/0.4347, allocations: 265.9 kB / 0.7958 GB, free: 220 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.371, allocations: 0 / 0.7958 GB, free: 220 kB / 0.6075 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)