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.001089/0.001089, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.31/1.31, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.672/1.672, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.00138/0.00138, allocations: 69.89 kB / 0.6716 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1812, allocations: 114.5 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002455/0.1837, allocations: 1.51 MB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1848, allocations: 0.7848 MB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.1849, allocations: 0 / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.1849, allocations: 3.938 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.185, allocations: 19.8 kB / 0.7857 GB, free: 11 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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.0004907/0.1855, allocations: 135.6 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.214e-05/0.1856, allocations: 87.7 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.506e-05/0.1857, allocations: 12 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.1858, allocations: 43.89 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.772e-05/0.1858, allocations: 39.83 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1858, allocations: 8 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.186, allocations: 103.8 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.186, allocations: 27.91 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.1861, allocations: 35.86 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.1863, allocations: 155.8 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1863, allocations: 4 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1863, allocations: 0 / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.1863, allocations: 0 / 0.7864 GB, free: 10.36 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.0005048/0.1868, allocations: 458.5 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.1869, allocations: 8.031 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.1869, allocations: 38.75 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.1869, allocations: 8.844 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.611e-05/0.187, allocations: 184.2 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.1871, allocations: 8.375 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1871, allocations: 4.375 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1873, allocations: 89.75 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1873, allocations: 0 / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1873, allocations: 0 / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1873, allocations: 4 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.1875, allocations: 51.91 kB / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.1879, allocations: 316.8 kB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1881, allocations: 66.55 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.486e-05/0.1882, allocations: 48.84 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.1882, allocations: 0 / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.1884, allocations: 103.3 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 3.106e-06/0.1884, allocations: 0 / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004102/0.1888, allocations: 185.7 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.1889, allocations: 63.39 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.1889, allocations: 125.8 kB / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.189, allocations: 33.7 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.189, allocations: 92.36 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.189, allocations: 19.89 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.1891, allocations: 33.7 kB / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.1892, allocations: 326.8 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.1893, allocations: 27.98 kB / 0.7886 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.185e-05/0.1894, allocations: 77.92 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1895, allocations: 109.9 kB / 0.7887 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.1895, allocations: 4 kB / 0.7887 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002312/0.1898, allocations: 137.3 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1898, allocations: 8.875 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1898, allocations: 4.156 kB / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1898, allocations: 7.984 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.046e-05/0.1899, allocations: 12 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1899, allocations: 4 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.19, allocations: 11.98 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.19, allocations: 4 kB / 0.7889 GB, free: 7.453 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.037e-05/0.1901, allocations: 132.7 kB / 0.789 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.1901, allocations: 7.906 kB / 0.789 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.1901, allocations: 16.36 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1902, allocations: 4 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1902, allocations: 0 / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1902, allocations: 0 / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.1906, allocations: 434.3 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1907, allocations: 0 / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.1907, allocations: 4 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1907, allocations: 0 / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1907, allocations: 7.984 kB / 0.7895 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1907, allocations: 0 / 0.7895 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1907, allocations: 7.938 kB / 0.7895 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.1911, allocations: 251.5 kB / 0.7897 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.1911, allocations: 81.11 kB / 0.7898 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.1911, allocations: 0 / 0.7898 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-05/0.1912, allocations: 11.92 kB / 0.7898 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.1913, allocations: 19.88 kB / 0.7898 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1913, allocations: 3.984 kB / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.639e-05/0.1913, allocations: 98.64 kB / 0.7899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1913, allocations: 0 / 0.7899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002729/0.1916, allocations: 43.91 kB / 0.79 GB, free: 6.258 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.0007115/0.1923, allocations: 0.852 MB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.1926, allocations: 99.75 kB / 0.7909 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1926, allocations: 4.312 kB / 0.7909 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.1927, allocations: 43.98 kB / 0.791 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.193, allocations: 19.92 kB / 0.791 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.1944, allocations: 1.589 MB / 0.7925 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.1946, allocations: 0.6933 MB / 0.7932 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.1947, allocations: 7.984 kB / 0.7932 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.1947, allocations: 23.38 kB / 0.7932 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.1947, allocations: 4 kB / 0.7932 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.872/3.067, allocations: 2.93 MB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/11.03, allocations: 11.48 kB / 0.7961 GB, free: 15.97 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)