Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.001125/0.001125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001151/0.001151, allocations: 197.4 kB / 16.14 MB, free: 6.664 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.165/1.165, allocations: 205.1 MB / 222 MB, free: 4.73 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.481/1.481, allocations: 292.3 MB / 0.5484 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.001285/0.001285, allocations: 63.98 kB / 0.6709 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1888, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002347/0.1912, allocations: 1.561 MB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1923, allocations: 0.7683 MB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.1923, allocations: 0 / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.127e-05/0.1924, allocations: 7.922 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.1924, allocations: 7.922 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.1928, allocations: 95.77 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.757e-05/0.1929, allocations: 71.78 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.879e-05/0.193, allocations: 7.938 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.886e-05/0.193, allocations: 35.91 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.895e-05/0.1931, allocations: 27.91 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1931, allocations: 4 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1933, allocations: 91.84 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.1933, allocations: 15.92 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.1934, allocations: 31.8 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1936, allocations: 135.9 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1936, allocations: 4 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.61e-07/0.1936, allocations: 0 / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1936, allocations: 4 kB / 0.7856 GB, free: 11.03 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.0004926/0.1941, allocations: 430.7 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1941, allocations: 12.03 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.1942, allocations: 42.67 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.1942, allocations: 12.78 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.338e-05/0.1943, allocations: 176.2 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1943, allocations: 384 / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.1944, allocations: 8.375 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.1945, allocations: 73.78 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.1945, allocations: 0 / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1946, allocations: 0 / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1946, allocations: 3.984 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.1947, allocations: 39.92 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.1951, allocations: 300.7 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1952, allocations: 46.56 kB / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.937e-05/0.1953, allocations: 32.97 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.1953, allocations: 3.984 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.1955, allocations: 79.31 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1955, allocations: 0 / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003599/0.1959, allocations: 137.7 kB / 0.7869 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.1959, allocations: 55.41 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.696e-05/0.196, allocations: 129.6 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.196, allocations: 33.7 kB / 0.7871 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.1961, allocations: 84.14 kB / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.1961, allocations: 15.81 kB / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.1962, allocations: 25.7 kB / 0.7872 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.1963, allocations: 326.8 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.82e-05/0.1963, allocations: 23.98 kB / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.49e-05/0.1964, allocations: 65.02 kB / 0.7876 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1966, allocations: 93.06 kB / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1966, allocations: 0 / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002022/0.1968, allocations: 117.5 kB / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1968, allocations: 4 kB / 0.7878 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1968, allocations: 0 / 0.7878 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1968, allocations: 4 kB / 0.7878 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.1969, allocations: 15.98 kB / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1969, allocations: 7.938 kB / 0.7879 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.197, allocations: 8 kB / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.197, allocations: 7.938 kB / 0.7879 GB, free: 8.379 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 8.152e-05/0.1971, allocations: 130.4 kB / 0.788 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.1971, allocations: 7.906 kB / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.1971, allocations: 8.422 kB / 0.788 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1972, allocations: 7.984 kB / 0.788 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1972, allocations: 0 / 0.788 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1972, allocations: 0 / 0.788 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.1976, allocations: 378.4 kB / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1976, allocations: 0 / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.1976, allocations: 11.98 kB / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1977, allocations: 0 / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1977, allocations: 0 / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.1977, allocations: 3.938 kB / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1977, allocations: 0 / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.1979, allocations: 215.3 kB / 0.7886 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.198, allocations: 81.02 kB / 0.7887 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.198, allocations: 4 kB / 0.7887 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/0.1981, allocations: 7.938 kB / 0.7887 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1981, allocations: 11.97 kB / 0.7887 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.1982, allocations: 0 / 0.7887 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.1982, allocations: 99.27 kB / 0.7888 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.436e-06/0.1982, allocations: 0 / 0.7888 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002702/0.1985, allocations: 43.92 kB / 0.7889 GB, free: 7.289 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.0006802/0.1992, allocations: 0.7944 MB / 0.7896 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.1994, allocations: 68.2 kB / 0.7897 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1994, allocations: 4 kB / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.147e-05/0.1995, allocations: 31.98 kB / 0.7897 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.1997, allocations: 27.8 kB / 0.7898 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.2011, allocations: 1.504 MB / 0.7912 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.2013, allocations: 0.6926 MB / 0.7919 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.2014, allocations: 4 kB / 0.7919 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.2014, allocations: 23.42 kB / 0.7919 GB, free: 4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.91e-07/0.2014, allocations: 0 / 0.7919 GB, free: 4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.019/1.22, allocations: 2.412 MB / 0.7943 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/1.22, allocations: 264.4 kB / 0.7945 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.813/4.034, allocations: 0 / 0.7945 GB, free: 1.453 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)