Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.001259/0.001259, 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.001301/0.001301, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.274/1.274, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.668/1.668, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001333/0.001333, allocations: 61.06 kB / 0.6711 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1801, allocations: 114.5 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002365/0.1825, allocations: 1.55 MB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1836, allocations: 0.7566 MB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.1836, allocations: 7.938 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.1836, allocations: 3.938 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.1837, allocations: 3.938 kB / 0.7852 GB, free: 11.48 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.0004343/0.1841, allocations: 103.8 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.412e-05/0.1842, allocations: 75.78 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.803e-05/0.1843, allocations: 19.91 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.126e-05/0.1844, allocations: 31.92 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.612e-05/0.1845, allocations: 23.91 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1845, allocations: 8 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.1846, allocations: 95.84 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.1847, allocations: 19.92 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.1847, allocations: 35.84 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.1849, allocations: 135.9 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1849, allocations: 4 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1849, allocations: 0 / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.1849, allocations: 0 / 0.7858 GB, free: 10.94 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004802/0.1854, allocations: 434.7 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1854, allocations: 12.03 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.1855, allocations: 34.75 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.1855, allocations: 16.77 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.68e-05/0.1856, allocations: 184.2 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.1856, allocations: 4.375 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.1857, allocations: 8.375 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.1858, allocations: 69.78 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1859, allocations: 0 / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1859, allocations: 0 / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1859, allocations: 4 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.186, allocations: 35.97 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.1864, allocations: 312.6 kB / 0.7868 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1866, allocations: 42.56 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.1866, allocations: 32.97 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.1867, allocations: 0 / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.1868, allocations: 79.38 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1868, allocations: 0 / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003641/0.1872, allocations: 137.6 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.1873, allocations: 55.41 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.1873, allocations: 121.7 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1874, allocations: 29.7 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.1874, allocations: 100.2 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.1874, allocations: 11.81 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.1875, allocations: 29.7 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.1876, allocations: 322.8 kB / 0.7877 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-05/0.1876, allocations: 23.92 kB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.095e-05/0.1877, allocations: 69.06 kB / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.1879, allocations: 93 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1879, allocations: 4 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002115/0.1881, allocations: 113.4 kB / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1882, allocations: 4.938 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1882, allocations: 0 / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1882, allocations: 4 kB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.1883, allocations: 8 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1883, allocations: 4 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.1884, allocations: 16.14 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1884, allocations: 4.312 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,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 (11): * Single equations (assignments): 11 * 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.358e-05/0.1884, allocations: 125.7 kB / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.1885, allocations: 7.906 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.1885, allocations: 12.36 kB / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1885, allocations: 4 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1885, allocations: 0 / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1885, allocations: 0 / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.1889, allocations: 386.4 kB / 0.7886 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1889, allocations: 0 / 0.7886 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.189, allocations: 4 kB / 0.7886 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.189, allocations: 48 / 0.7886 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.189, allocations: 7.969 kB / 0.7886 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.189, allocations: 3.938 kB / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.189, allocations: 0 / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.1893, allocations: 211.4 kB / 0.7888 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.1893, allocations: 85.02 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.1894, allocations: 3.984 kB / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.321e-05/0.1895, allocations: 7.938 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.1895, allocations: 7.984 kB / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1895, allocations: 0 / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.1896, allocations: 103.2 kB / 0.789 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.373e-06/0.1896, allocations: 0 / 0.789 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000285/0.1899, allocations: 43.94 kB / 0.789 GB, free: 7.191 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006593/0.1905, allocations: 0.7968 MB / 0.7898 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1907, allocations: 75.81 kB / 0.7899 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1908, allocations: 4 kB / 0.7899 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.366e-05/0.1908, allocations: 31.98 kB / 0.7899 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.1911, allocations: 19.86 kB / 0.7899 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1924, allocations: 1.511 MB / 0.7914 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.1927, allocations: 0.6846 MB / 0.7921 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.577e-05/0.1927, allocations: 11.98 kB / 0.7921 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.1927, allocations: 19.44 kB / 0.7921 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1927, allocations: 0 / 0.7921 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1386/0.3313, allocations: 2.49 MB / 0.7946 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/0.3316, allocations: 260.6 kB / 0.7948 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.236, allocations: 0 / 0.7948 GB, free: 1.293 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)