Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.001114/0.001114, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001033/0.001033, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.328/1.328, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.628/1.628, allocations: 292.3 MB / 0.5486 GB, free: 13.59 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.001424/0.001424, allocations: 62.75 kB / 0.6711 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1898, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002359/0.1922, allocations: 1.562 MB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1933, allocations: 0.7721 MB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.1933, allocations: 0 / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.1934, allocations: 3.938 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.389e-05/0.1934, allocations: 15.91 kB / 0.7853 GB, free: 11.43 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.0005032/0.194, allocations: 103.8 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.654e-05/0.1941, allocations: 79.7 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.86e-05/0.1941, allocations: 12.19 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.54e-05/0.1942, allocations: 31.91 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.1943, allocations: 39.83 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1943, allocations: 4 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.1945, allocations: 99.84 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.1945, allocations: 11.98 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.1946, allocations: 39.8 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.1948, allocations: 139.9 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1948, allocations: 0 / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.745e-06/0.1948, allocations: 8 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1948, allocations: 0 / 0.7858 GB, free: 10.88 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.0005325/0.1953, allocations: 442.6 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1954, allocations: 12.03 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.1954, allocations: 38.75 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.1955, allocations: 8.844 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1956, allocations: 184.1 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1956, allocations: 4.375 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1956, allocations: 8.375 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1958, allocations: 73.53 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1958, allocations: 4 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1959, allocations: 0 / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1959, allocations: 0 / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.196, allocations: 35.97 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.1965, allocations: 312.7 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.1966, allocations: 46.56 kB / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.627e-05/0.1967, allocations: 32.97 kB / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.1967, allocations: 0 / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.1969, allocations: 91.42 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.1969, allocations: 0 / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003968/0.1973, allocations: 149.4 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1974, allocations: 55.41 kB / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.301e-05/0.1975, allocations: 126.8 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1975, allocations: 25.7 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.1975, allocations: 96.05 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.1976, allocations: 11.81 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.1976, allocations: 33.7 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1977, allocations: 322.8 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/0.1978, allocations: 19.98 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1979, allocations: 65.08 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.1981, allocations: 93 kB / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1981, allocations: 0 / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002129/0.1983, allocations: 113.5 kB / 0.7881 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1983, allocations: 8 kB / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1983, allocations: 0 / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1984, allocations: 4 kB / 0.7881 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.291e-05/0.1984, allocations: 11.98 kB / 0.7881 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1985, allocations: 7.938 kB / 0.7881 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.969e-05/0.1985, allocations: 15.78 kB / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.1985, allocations: 7.938 kB / 0.7882 GB, free: 8.184 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.p,$PRE.bli.p,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 8.708e-05/0.1986, allocations: 128.8 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.1987, allocations: 7.906 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.1987, allocations: 8.375 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1987, allocations: 4 kB / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1987, allocations: 0 / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1987, allocations: 0 / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.1992, allocations: 394.7 kB / 0.7887 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1992, allocations: 4 kB / 0.7887 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.1992, allocations: 7.984 kB / 0.7887 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1992, allocations: 0 / 0.7887 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1992, allocations: 8 kB / 0.7887 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1993, allocations: 3.938 kB / 0.7887 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1993, allocations: 0 / 0.7887 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.1995, allocations: 215.4 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.1996, allocations: 92.94 kB / 0.789 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1996, allocations: 4 kB / 0.789 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.657e-05/0.1997, allocations: 3.938 kB / 0.789 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.1998, allocations: 7.984 kB / 0.789 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.1998, allocations: 4 kB / 0.789 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.192e-05/0.1998, allocations: 98.02 kB / 0.7891 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1998, allocations: 0 / 0.7891 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003004/0.2002, allocations: 39.98 kB / 0.7891 GB, free: 7.078 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.p,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.0006985/0.2009, allocations: 0.8012 MB / 0.7899 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.2011, allocations: 79.83 kB / 0.79 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2011, allocations: 0 / 0.79 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.984e-05/0.2012, allocations: 31.98 kB / 0.79 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.2015, allocations: 23.86 kB / 0.7901 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.2029, allocations: 1.533 MB / 0.7916 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.2031, allocations: 0.6885 MB / 0.7922 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.675e-05/0.2032, allocations: 4 kB / 0.7922 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.2032, allocations: 23.42 kB / 0.7923 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of SimCode: time 1.572e-06/0.2032, allocations: 4 kB / 0.7923 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2495/0.4527, allocations: 2.582 MB / 0.7948 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003281/0.4531, allocations: 276.2 kB / 0.795 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.365, allocations: 2.656 kB / 0.795 GB, free: 0.9688 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1)